/* ==========================================================================
   Warlife KO - Kingdom's Origins — site theme
   ========================================================================== */
:root {
	--wl-bg: #0b0c10;
	--wl-bg-2: #101218;
	--wl-surface: #151821;
	--wl-surface-2: #1c2030;
	--wl-line: rgba(255, 255, 255, .07);
	--wl-line-2: rgba(255, 255, 255, .12);
	--wl-text: #d9dce4;
	--wl-muted: #8a90a2;
	--wl-head: #ffffff;
	--wl-red: #d8361b;
	--wl-red-2: #ff5a35;
	--wl-gold: #e2b65c;
	--wl-green: #3ddc84;
	--wl-discord: #5865f2;
	--wl-radius: 14px;
	--wl-radius-sm: 9px;
	--wl-topbar-h: 68px;
	--wl-font: Inter, Roboto, "Segoe UI", Arial, sans-serif;
	--wl-font-display: Cinzel, Georgia, serif;
	--wl-shadow: 0 12px 34px rgba(0, 0, 0, .45);
}

html { overflow-x: hidden; scroll-padding-top: calc(var(--wl-topbar-h) + 12px); }
html.wl-nav-locked { overflow: hidden; }
html body,
html body.blog-style,
html body.register,
html body.single-post-page,
html body.product,
html body.landing {
	background: var(--wl-bg) !important;
	background-image: radial-gradient(1200px 520px at 50% -120px, rgba(216, 54, 27, .14), transparent 70%) !important;
	background-attachment: fixed !important;
	color: var(--wl-text);
	font-family: var(--wl-font);
	font-size: 14px;
	height: auto;
	min-height: 100%;
	-webkit-font-smoothing: antialiased;
}
body a { color: var(--wl-gold); transition: color .15s ease; }
body a:hover, body a:focus { color: #fff; text-decoration: none; }
body h1, body h2, body h3, body h4, body h5 { font-family: var(--wl-font); color: var(--wl-head); }
.wl-topbar :is(h1, h2, h3, h4), .wl-footer :is(h1, h2, h3, h4), .wl-hero :is(h1, h2, h3, h4),
.wl-card :is(h1, h2, h3, h4), .wl-profile :is(h1, h2, h3, h4) { clear: none; padding: 0; line-height: 1.25; }
.wl-topbar h4::before, .wl-footer h4::before, .wl-hero h4::before, .wl-card h4::before, .wl-profile h4::before { content: none; }
::selection { background: var(--wl-red); color: #fff; }

.wl-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wl-main { display: block; min-height: calc(100vh - var(--wl-topbar-h) - 260px); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.wl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent;
	font: 600 14px/1 var(--wl-font); color: #fff !important; white-space: nowrap;
	transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.wl-btn:hover { transform: translateY(-1px); }
.wl-btn-lg { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 12px; }
.wl-btn-block { display: flex; width: 100%; }
.wl-btn-primary { background: linear-gradient(135deg, var(--wl-red-2), var(--wl-red)); box-shadow: 0 8px 22px rgba(216, 54, 27, .35); }
.wl-btn-primary:hover { box-shadow: 0 10px 28px rgba(216, 54, 27, .5); }
.wl-btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--wl-line-2); }
.wl-btn-ghost:hover { background: rgba(255, 255, 255, .09); }
.wl-btn-light { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.wl-btn-light:hover { background: rgba(255, 255, 255, .18); }
.wl-btn-discord { background: var(--wl-discord); box-shadow: 0 8px 22px rgba(88, 101, 242, .3); }
.wl-btn-discord:hover { background: #4752c4; }

.wl-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--wl-green); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: wl-pulse 2s infinite; }
@keyframes wl-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); } 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.wl-topbar {
	position: sticky; top: 0; z-index: 1000; height: var(--wl-topbar-h);
	background: rgba(11, 12, 16, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid var(--wl-line);
	transition: background .2s ease, box-shadow .2s ease;
}
.wl-topbar.is-scrolled { background: rgba(11, 12, 16, .95); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.wl-topbar-inner { display: flex; align-items: center; gap: 20px; height: 100%; max-width: 1480px; margin: 0 auto; padding: 0 24px; }
.wl-brand { display: flex; align-items: center; flex: 0 0 auto; height: 100%; padding: 4px 0; }
.wl-brand img { height: 58px; width: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); transition: transform .2s ease; }
.wl-brand:hover img { transform: scale(1.04); }

.wl-nav { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; gap: 16px; }
.wl-menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; flex: 1 1 auto; }
.wl-menu > li { position: relative; list-style: none; }
.wl-menu > li > a,
.wl-sub-toggle {
	display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 13px;
	border: 0; border-radius: 10px; background: transparent; cursor: pointer;
	font: 500 14px/1 var(--wl-font); color: #c4c8d4 !important; white-space: nowrap;
	transition: background .15s ease, color .15s ease;
}
.wl-menu > li > a .fa, .wl-sub-toggle > .fa:first-child { color: var(--wl-muted); font-size: 14px; transition: color .15s ease; }
.wl-menu > li > a:hover, .wl-sub-toggle:hover, .wl-has-sub.is-open > .wl-sub-toggle { background: rgba(255, 255, 255, .06); color: #fff !important; }
.wl-menu > li.is-active > a, .wl-menu > li.is-active > .wl-sub-toggle { color: #fff !important; background: rgba(216, 54, 27, .14); }
.wl-menu > li.is-active > a .fa, .wl-menu > li.is-active > .wl-sub-toggle > .fa:first-child,
.wl-menu > li > a:hover .fa, .wl-sub-toggle:hover > .fa:first-child { color: var(--wl-red-2); }
.wl-caret { font-size: 12px; opacity: .6; transition: transform .2s ease; }
.wl-has-sub.is-open .wl-caret { transform: rotate(180deg); }

.wl-sub {
	position: absolute; top: calc(100% + 10px); left: 0; z-index: 20;
	display: flex; gap: 8px; padding: 10px; min-width: 240px;
	background: rgba(21, 24, 33, .98); border: 1px solid var(--wl-line-2); border-radius: var(--wl-radius);
	box-shadow: var(--wl-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.wl-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.wl-sub-right { left: auto; right: 0; }
.wl-has-sub.is-open > .wl-sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1181px) {
	.wl-has-sub:hover > .wl-sub { opacity: 1; visibility: visible; transform: none; }
	.wl-has-sub:hover .wl-caret { transform: rotate(180deg); }
}
.wl-sub-col { display: flex; flex-direction: column; min-width: 220px; }
.wl-sub-mega { gap: 4px; }
.wl-sub-mega .wl-sub-col { min-width: 200px; }
.wl-sub-mega .wl-sub-col + .wl-sub-col { padding-left: 4px; border-left: 1px solid var(--wl-line); }
.wl-sub-title { padding: 8px 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wl-muted); }
.wl-sub a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: #cfd2dc !important; font-size: 14px; white-space: nowrap; }
.wl-sub a .fa { width: 16px; text-align: center; color: var(--wl-muted); }
.wl-sub a img { width: 16px; height: 16px; object-fit: contain; }
.wl-sub a:hover { background: rgba(255, 255, 255, .06); color: #fff !important; }
.wl-sub a:hover .fa { color: var(--wl-red-2); }

.wl-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.wl-online { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(61, 220, 132, .08); border: 1px solid rgba(61, 220, 132, .25); color: #b9f5d2; font-size: 13px; font-weight: 600; white-space: nowrap; }
.wl-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(88, 101, 242, .15); border: 1px solid rgba(88, 101, 242, .35); color: #c9cdfc !important; font-size: 16px; }
.wl-icon-btn:hover { background: var(--wl-discord); color: #fff !important; }
.wl-lang { display: inline-flex; align-items: center; height: 34px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--wl-line-2); }
.wl-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 999px; color: rgba(255, 255, 255, .6) !important; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-decoration: none !important; transition: background .15s ease, color .15s ease; }
.wl-lang a:hover { color: #fff !important; }
.wl-lang a.is-active { background: var(--wl-gold); color: #14110a !important; }
.wl-user { position: relative; }
.wl-user-btn { background: rgba(255, 255, 255, .05) !important; border: 1px solid var(--wl-line-2) !important; color: #fff !important; }
.wl-user-btn .fa-user-circle { color: var(--wl-gold) !important; font-size: 16px !important; }

.wl-nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; padding: 12px 11px; border: 1px solid var(--wl-line-2); border-radius: 10px; background: rgba(255, 255, 255, .04); cursor: pointer; }
.wl-nav-toggle span { display: block; height: 2px; margin: 0 0 6px; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.wl-nav-toggle span:last-child { margin: 0; }
.wl-nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.wl-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.wl-nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1340px) {
	.wl-online { display: none; }
	.wl-menu > li > a, .wl-sub-toggle { padding: 0 10px; }
}
@media (max-width: 1180px) {
	.wl-topbar, .wl-topbar.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: #0b0c10; }
	.wl-nav-toggle { display: block; }
	.wl-nav {
		position: fixed; top: var(--wl-topbar-h); left: 0; right: 0; bottom: 0;
		flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 20px 28px;
		background: var(--wl-bg); overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.wl-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.wl-menu { flex-direction: column; align-items: stretch; flex: 0 0 auto; }
	.wl-menu > li > a, .wl-sub-toggle { width: 100%; height: 48px; font-size: 15px; justify-content: flex-start; }
	.wl-sub-toggle .wl-caret { margin-left: auto; }
	.wl-sub, .wl-sub-right {
		position: static; display: none; flex-direction: column; min-width: 0; margin: 4px 0 8px 12px; padding: 4px;
		opacity: 1; visibility: visible; transform: none; box-shadow: none; background: var(--wl-surface);
	}
	.wl-has-sub.is-open > .wl-sub { display: flex; }
	.wl-sub-col { min-width: 0; }
	.wl-sub-mega .wl-sub-col + .wl-sub-col { padding-left: 0; border-left: 0; }
	.wl-actions { flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--wl-line); }
	.wl-online { display: inline-flex; }
	.wl-actions .wl-btn { flex: 1 1 140px; height: 46px; }
	.wl-user { width: 100%; }
	.wl-user-btn { width: 100%; height: 46px; }
}
@media (max-width: 480px) {
	:root { --wl-topbar-h: 60px; }
	.wl-brand img { height: 50px; }
	.wl-topbar-inner { padding: 0 14px; }
}

/* --------------------------------------------------------------------------
   Notice strip (home)
   -------------------------------------------------------------------------- */
.wl-notice { background: linear-gradient(90deg, rgba(216, 54, 27, .16), rgba(226, 182, 92, .06) 60%, transparent); border-bottom: 1px solid var(--wl-line); }
.wl-notice .wl-container { display: flex; align-items: center; gap: 14px; height: 42px; overflow: hidden; }
.wl-notice-tag { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--wl-red); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.wl-notice-track { flex: 1 1 auto; min-width: 0; white-space: nowrap; color: #d6d8df; font-size: 13px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.wl-notice-run { display: flex; width: max-content; animation: wl-marquee 40s linear infinite; }
.wl-notice-track:hover .wl-notice-run { animation-play-state: paused; }
.wl-notice-group { display: flex; flex: 0 0 auto; gap: 48px; padding-right: 48px; }
@keyframes wl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wl-notice-run { animation: none; } }
.wl-notice-track span { position: relative; padding-left: 16px; }
.wl-notice-track span::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--wl-gold); }

/* --------------------------------------------------------------------------
   Home: hero
   -------------------------------------------------------------------------- */
.wl-hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; background: #07080b url(../assets/images/bg1.jpg) center / cover no-repeat; }
.wl-hero-media { position: absolute; inset: 0; pointer-events: none; }
.wl-hero-media iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 1067px); height: max(56.25vw, 600px); min-height: 100%; transform: translate(-50%, -50%); border: 0; animation: wl-video-in 1.2s ease 2.8s both; }
@keyframes wl-video-in { from { opacity: 0; } to { opacity: 1; } }
.wl-hero::after {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(11, 12, 16, .92) 0%, rgba(11, 12, 16, .55) 50%, rgba(11, 12, 16, .35) 100%), linear-gradient(0deg, var(--wl-bg) 0%, transparent 35%);
}
.wl-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: center; padding-top: 70px; padding-bottom: 110px; }
.wl-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(226, 182, 92, .12); border: 1px solid rgba(226, 182, 92, .3); color: var(--wl-gold); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wl-hero h1 { margin: 18px 0 14px; font-family: var(--wl-font-display); font-size: clamp(42px, 6vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: .01em; color: #fff; text-shadow: 0 6px 30px rgba(0, 0, 0, .6); text-transform: none; }
.wl-hero h1 span { background: linear-gradient(180deg, #ffd27a, #e2b65c 50%, #b8822e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wl-hero h1 small { display: block; margin-top: 8px; font-size: .34em; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: #e9dcc0; }
.wl-hero p { max-width: 560px; margin: 0 0 28px; color: #cdd0d9; font-size: 17px; line-height: 1.65; }
.wl-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.wl-server-card { padding: 22px; border-radius: 18px; background: rgba(16, 18, 24, .72); border: 1px solid var(--wl-line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--wl-shadow); }
.wl-server-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--wl-line); }
.wl-server-name { font-weight: 700; color: #fff; font-size: 15px; }
.wl-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--wl-green); }
.wl-server-online { padding: 18px 0 16px; }
.wl-server-online strong { display: block; font-size: 46px; font-weight: 800; line-height: 1; color: #fff; }
.wl-server-online span { color: var(--wl-muted); font-size: 13px; }
.wl-war-labels { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; color: #cfd2db; }
.wl-war-labels span { display: inline-flex; align-items: center; gap: 6px; }
.wl-war-labels img { width: 18px; height: 18px; }
.wl-war-labels b { color: #fff; }
.wl-war-bar { height: 8px; border-radius: 999px; background: #3b82f6; overflow: hidden; }
.wl-war-bar span { display: block; height: 100%; background: linear-gradient(90deg, #b91c1c, var(--wl-red-2)); border-radius: 999px 0 0 999px; }
.wl-server-note { margin: 14px 0 0; color: var(--wl-muted); font-size: 12px; line-height: 1.5; }

/* --------------------------------------------------------------------------
   Home: stats
   -------------------------------------------------------------------------- */
.wl-stats { position: relative; z-index: 3; margin-top: -56px; }
.wl-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wl-stat { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--wl-radius); background: rgba(21, 24, 33, .9); border: 1px solid var(--wl-line-2); backdrop-filter: blur(10px); box-shadow: var(--wl-shadow); }
.wl-stat > .fa { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(216, 54, 27, .14); color: var(--wl-red-2); font-size: 19px; }
.wl-stat strong { display: block; font-size: 24px; font-weight: 800; color: #fff; line-height: 1.1; }
.wl-stat span { color: var(--wl-muted); font-size: 13px; }

/* --------------------------------------------------------------------------
   Cards / sections
   -------------------------------------------------------------------------- */
.wl-section { padding: 36px 0 60px; }
.wl-pillars-section { padding-top: 28px; }
.wl-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wl-pillar { position: relative; overflow: hidden; padding: 22px; border-radius: var(--wl-radius); background: linear-gradient(160deg, rgba(216, 54, 27, .1), rgba(21, 24, 33, 0) 60%), var(--wl-surface); border: 1px solid var(--wl-line); transition: transform .15s ease, border-color .15s ease; }
.wl-pillar:hover { transform: translateY(-2px); border-color: rgba(226, 182, 92, .4); }
.wl-pillar > .fa { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(226, 182, 92, .12); color: var(--wl-gold); font-size: 20px; }
.wl-pillar h3 { margin: 14px 0 8px; padding: 0; font-family: var(--wl-font-display); font-size: 17px; font-weight: 700; color: #fff; text-transform: none; letter-spacing: .01em; }
.wl-pillar h3::before { display: none; }
.wl-pillar p { margin: 0; color: var(--wl-muted); font-size: 13.5px; line-height: 1.65; }
@media (max-width: 900px) { .wl-pillars { grid-template-columns: minmax(0, 1fr); } }
.wl-home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.wl-home-main, .wl-home-side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.wl-card { background: var(--wl-surface); border: 1px solid var(--wl-line); border-radius: var(--wl-radius); padding: 20px; box-shadow: 0 4px 18px rgba(0, 0, 0, .25); }
.wl-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -4px 0 16px; flex-wrap: wrap; }
.wl-card-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 17px; font-weight: 700; color: #fff; text-transform: none; }
.wl-card-head h2 .fa { color: var(--wl-red-2); }
.wl-link { color: var(--wl-muted) !important; font-size: 13px; font-weight: 600; }
.wl-link:hover { color: #fff !important; }
.wl-card-more { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 11px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px dashed var(--wl-line-2); color: #cfd2db !important; font-size: 13px; font-weight: 600; }
.wl-card-more:hover { background: rgba(255, 255, 255, .07); color: #fff !important; }
.wl-empty { display: flex; align-items: center; gap: 12px; padding: 22px; border-radius: 10px; background: rgba(255, 255, 255, .025); border: 1px dashed var(--wl-line-2); color: var(--wl-muted); }
.wl-empty .fa { font-size: 20px; color: #5b6070; }

.wl-tabs { display: inline-flex; padding: 4px; border-radius: 10px; background: var(--wl-bg-2); border: 1px solid var(--wl-line); }
.wl-tab { height: 32px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent; color: var(--wl-muted); font: 600 13px/1 var(--wl-font); cursor: pointer; transition: background .15s ease, color .15s ease; }
.wl-tab:hover { color: #fff; }
.wl-tab.is-active { background: var(--wl-surface-2); color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.wl-pane { display: none; }
.wl-pane.is-active { display: block; animation: wl-fade .2s ease; }
@keyframes wl-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.wl-rank-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.wl-rank-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--wl-bg-2); border: 1px solid var(--wl-line); transition: border-color .15s ease, background .15s ease; }
.wl-rank-list li:hover { border-color: rgba(216, 54, 27, .45); background: #141722; }
.wl-rank { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--wl-muted); font-weight: 700; font-size: 13px; }
.wl-rank-1 { background: linear-gradient(135deg, #ffd66b, #c8901f); color: #3a2600; }
.wl-rank-2 { background: linear-gradient(135deg, #e8edf3, #9aa4b1); color: #262b33; }
.wl-rank-3 { background: linear-gradient(135deg, #f0a46a, #a85b24); color: #2c1405; }
.wl-rank-name { display: flex; align-items: center; gap: 6px; flex: 1 1 auto; min-width: 0; color: #fff !important; }
.wl-rank-text { display: flex; flex-direction: column; min-width: 0; margin-left: 4px; }
.wl-rank-text b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-rank-text small { color: var(--wl-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-rank-name:hover b { color: var(--wl-gold); }
.wl-rank-val { flex: 0 0 auto; font-weight: 700; color: #fff; font-size: 13px; }
.wl-rank-val small { color: var(--wl-muted); font-weight: 600; font-size: 11px; }

.wl-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: #475569; }
.wl-badge-event { background: #9333ea; }
.wl-badge-notice { background: var(--wl-red); }
.wl-badge-update { background: #0ea5e9; }
.wl-badge-guide { background: #16a34a; }
.wl-news-featured { position: relative; display: block; min-height: 240px; border-radius: 12px; overflow: hidden; background: var(--wl-surface-2); }
.wl-news-featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.wl-news-featured:hover img { transform: scale(1.04); }
.wl-news-featured::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 9, 12, .95), rgba(8, 9, 12, .1) 70%); }
.wl-news-featured-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px; }
.wl-news-featured-body h3 { margin: 10px 0 6px; font-size: 22px; font-weight: 700; color: #fff; }
.wl-news-featured time, .wl-news-item time { color: var(--wl-muted); font-size: 12px; }
.wl-news-list { display: flex; flex-direction: column; margin-top: 12px; }
.wl-news-item { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--wl-line); color: #dfe2ea !important; }
.wl-news-item:last-child { border-bottom: 0; }
.wl-news-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.wl-news-item:hover .wl-news-title { color: var(--wl-gold); }

.wl-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wl-tiles a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 6px; border-radius: 12px; background: var(--wl-bg-2); border: 1px solid var(--wl-line); color: #cfd2db !important; font-size: 12px; font-weight: 600; text-align: center; transition: transform .15s ease, border-color .15s ease; }
.wl-tiles a .fa { font-size: 20px; color: var(--wl-gold); }
.wl-tiles a:hover { transform: translateY(-2px); border-color: rgba(226, 182, 92, .45); color: #fff !important; }
.wl-discord-card iframe { display: block; width: 100%; height: 360px; margin-bottom: 12px; border: 0; border-radius: 10px; background: #2b2d31; }
.wl-social-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wl-social { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 10px; background: var(--wl-bg-2); border: 1px solid var(--wl-line); color: #fff !important; font-weight: 600; font-size: 13px; }
.wl-social-discord .fa { color: #8b95ff; } .wl-social-youtube .fa { color: #ff4d4d; } .wl-social-instagram .fa { color: #f77fbe; } .wl-social-facebook .fa { color: #5b9bff; }

@media (max-width: 1100px) {
	.wl-hero-inner, .wl-home-grid { grid-template-columns: minmax(0, 1fr); }
	.wl-server-card { max-width: 520px; }
	.wl-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.wl-container { padding: 0 14px; }
	.wl-hero { min-height: 0; }
	.wl-hero-inner { padding-top: 44px; padding-bottom: 90px; gap: 28px; }
	.wl-hero p { font-size: 15px; }
	.wl-hero-cta .wl-btn { flex: 1 1 100%; }
	.wl-rank-list, .wl-social-list { grid-template-columns: minmax(0, 1fr); }
	.wl-stat { padding: 14px; }
	.wl-stat strong { font-size: 20px; }
	.wl-card { padding: 16px; }
}

/* --------------------------------------------------------------------------
   Legacy page shell → modern layout
   -------------------------------------------------------------------------- */
.wl-main > .container.no-padding,
.wl-main > .container-fluid.no-padding:not(.video-section) { width: 100%; max-width: 1280px; padding: 0 24px !important; margin: 0 auto; float: none; }
.wl-main .slider,
html body .wl-main .slider {
	float: none; width: auto; min-height: 0 !important; padding: 34px 0 10px !important; margin: 0;
	background: none !important; text-align: left; position: relative;
}
.wl-main .slider::after, .wl-main .slider::before { display: none !important; }
.wl-main .slider h1,
html body .wl-main .slider h1 {
	display: flex; align-items: center; gap: 14px; float: none; margin: 0 !important;
	font-family: var(--wl-font); font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em;
	text-transform: none; text-align: left; color: #fff; text-shadow: none;
}
.wl-main .slider h1::before { content: ''; flex: 0 0 auto; width: 5px; height: 28px; border-radius: 3px; background: linear-gradient(180deg, var(--wl-red-2), var(--wl-gold)); }

.wl-main section.content-wrapper,
html body .wl-main .content-wrapper {
	background: none !important; border: 0 !important; min-height: 0;
	padding: 18px 0 60px !important; margin: 0;
}
.wl-main .content-wrapper > .container,
.wl-main .content-wrapper > .container.main-wrapper { width: 100%; max-width: 1280px; padding-left: 24px; padding-right: 24px; margin: 0 auto; }
.wl-main > .container .content-wrapper > .container,
.wl-main > .container-fluid .content-wrapper > .container { padding-left: 0 !important; padding-right: 0 !important; max-width: none; }
.wl-main .content-wrapper .main-wrapper > .container { width: auto; padding: 0; margin: 0 -12px; display: flex; flex-wrap: wrap; align-items: flex-start; }
.wl-main .content-wrapper .main-wrapper > .container::before,
.wl-main .content-wrapper .main-wrapper > .container::after { display: none; }
.wl-main .sidebar.col-lg-3 { margin: 0 !important; padding: 0 12px; position: sticky; top: calc(var(--wl-topbar-h) + 16px); }
.wl-main .main-content.col-lg-9, .wl-main .main-content.col-lg-12 { margin: 0 !important; padding: 0 12px; }

.wl-main .main-content-title,
html body .wl-main .main-content-title {
	margin: 0 0 14px !important; background: none !important; border: 0 !important; box-shadow: none !important;
	border-bottom: 1px solid var(--wl-line) !important; border-radius: 0;
}
.wl-main .main-content-title h3 {
	display: flex; align-items: center; gap: 9px; padding: 0 0 12px !important; margin: 0;
	background: none !important; font-family: var(--wl-font); font-size: 15px; font-weight: 700; letter-spacing: .02em; text-transform: none; color: #fff;
}
.wl-main .main-content-title h3 i { color: var(--wl-red-2); margin: 0; }

.wl-main .sidebar .main-content-title { margin-bottom: 0 !important; padding: 14px 16px 0; background: var(--wl-surface) !important; border: 1px solid var(--wl-line) !important; border-bottom: 0 !important; border-radius: var(--wl-radius) var(--wl-radius) 0 0; }
.wl-main .sidebar .recent-comments,
.wl-main .recent-comments {
	margin: 0 0 20px; padding: 6px; background: var(--wl-surface); border: 1px solid var(--wl-line); border-top: 0;
	border-radius: 0 0 var(--wl-radius) var(--wl-radius); box-shadow: none;
}
.wl-main .recent-comments li { padding: 0 !important; background: none !important; border: 0 !important; width: auto; }
.wl-main .recent-comments li::after { content: ''; display: table; clear: both; }
.wl-main .recent-comments .comments-avatar { display: none !important; }
.wl-main .recent-comments .single-comment .comment-details { float: none; width: auto; margin: 0; }
.wl-main .recent-comments .single-comment .comment-details a {
	display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px;
	color: #c9ccd6 !important; font-size: 14px; font-weight: 500;
}
.wl-main .recent-comments .single-comment .comment-details a:hover { background: rgba(255, 255, 255, .05); color: #fff !important; }
.wl-main .recent-comments .single-comment .comment-details a.active,
.wl-main .recent-comments .single-comment.active .comment-details a { background: rgba(216, 54, 27, .14); color: #fff !important; }
.wl-main .recent-comments .comment-details p, .wl-main .recent-comments .comment-details span { margin: 0; }

.wl-main .main-content > .main-content-title + *,
.wl-main .content-wrapper .tab-content > div { border-radius: var(--wl-radius); }
.wl-main .content-wrapper .tab-content > div { background: var(--wl-surface); border: 1px solid var(--wl-line); color: var(--wl-text); }

/* Tables */
.wl-main table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--wl-surface); border: 1px solid var(--wl-line); border-radius: var(--wl-radius); overflow: hidden; color: var(--wl-text); }
.wl-main table th,
.wl-main table thead td {
	padding: 12px 14px !important; background: var(--wl-surface-2) !important; border: 0 !important; border-bottom: 1px solid var(--wl-line-2) !important;
	color: var(--wl-muted) !important; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-align: left;
}
.wl-main table td { padding: 11px 14px !important; border: 0 !important; border-bottom: 1px solid var(--wl-line) !important; background: transparent !important; vertical-align: middle !important; color: var(--wl-text); }
.wl-main table tr:last-child td { border-bottom: 0 !important; }
.wl-main table tbody tr { transition: background .12s ease; }
.wl-main table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .015) !important; }
.wl-main table tbody tr:hover td { background: rgba(216, 54, 27, .07) !important; }
.wl-main table td:has(> .nation), .wl-main table td:has(> .class), .wl-main table td:has(> .grade) { white-space: nowrap; }
.wl-main table a { color: #fff; font-weight: 600; }
.wl-main table a:hover { color: var(--wl-gold); }
.wl-main .table-responsive { border: 0; border-radius: var(--wl-radius); }
.wl-main table table { border-radius: 0; border: 0; background: transparent; }

/* Forms */
.wl-main input[type=text], .wl-main input[type=password], .wl-main input[type=email], .wl-main input[type=search],
.wl-main input[type=number], .wl-main input[type=tel], .wl-main input[type=date], .wl-main input[type=datetime-local], .wl-main input[type=time],
.wl-main select, .wl-main textarea, .wl-main .form-control {
	height: auto; min-height: 42px; padding: 10px 14px; border-radius: 10px !important;
	background: var(--wl-bg-2) !important; border: 1px solid var(--wl-line-2) !important; box-shadow: none !important;
	color: #fff !important; font: 400 14px/1.4 var(--wl-font); transition: border-color .15s ease, box-shadow .15s ease;
}
.wl-main textarea { min-height: 120px; }
.wl-main input[type=date], .wl-main input[type=datetime-local], .wl-main input[type=time] { color-scheme: dark; }
.wl-main input:focus, .wl-main select:focus, .wl-main textarea:focus, .wl-main .form-control:focus {
	outline: 0; border-color: rgba(216, 54, 27, .7) !important; box-shadow: 0 0 0 3px rgba(216, 54, 27, .18) !important;
}
.wl-main input::placeholder, .wl-main textarea::placeholder { color: #6b7182; }
.wl-main label { color: #c9ccd6; font-weight: 600; }
.wl-main .btn, .wl-main button[type=submit], .wl-main input[type=submit], .wl-main input[type=button] {
	min-height: 42px; padding: 0 18px; border: 0 !important; border-radius: 10px !important;
	background: linear-gradient(135deg, var(--wl-red-2), var(--wl-red)) !important; color: #fff !important;
	font: 600 14px/42px var(--wl-font); text-transform: none; text-shadow: none; box-shadow: 0 6px 18px rgba(216, 54, 27, .3) !important; cursor: pointer;
}
.wl-main .btn:hover, .wl-main button[type=submit]:hover, .wl-main input[type=submit]:hover { filter: brightness(1.08); }
.wl-main .btn-default, .wl-main .btn-secondary { background: var(--wl-surface-2) !important; box-shadow: none !important; }

/* Pagination / misc */
.wl-main .pagination > li > a, .wl-main .pagination > li > span { background: var(--wl-surface); border-color: var(--wl-line-2); color: #cfd2db; border-radius: 8px !important; margin: 0 3px; }
.wl-main .pagination > .active > a, .wl-main .pagination > .active > span { background: var(--wl-red); border-color: var(--wl-red); color: #fff; }
.wl-main .alert { border-radius: 10px; border: 1px solid var(--wl-line-2); }
.wl-main hr { border-color: var(--wl-line); }
.wl-main .panel { background: var(--wl-surface); border-color: var(--wl-line); border-radius: var(--wl-radius); }
.wl-main .panel-heading { background: var(--wl-surface-2) !important; border-color: var(--wl-line) !important; color: #fff !important; }
.wl-main .nav-tabs { border-bottom-color: var(--wl-line); }
.wl-main .nav-tabs > li > a { border-radius: 8px 8px 0 0; color: var(--wl-muted); }
.wl-main .nav-tabs > li.active > a, .wl-main .nav-tabs > li.active > a:hover { background: var(--wl-surface); border-color: var(--wl-line) var(--wl-line) transparent; color: #fff; }

.wl-main > .slider,
html body .wl-main > .slider { max-width: 1280px; margin: 0 auto; padding-left: 24px !important; padding-right: 24px !important; }

/* Register / login forms */
.wl-main .register-form-wrapper,
html body .wl-main .register-form-wrapper {
	float: none; width: 100%; max-width: 560px; margin: 10px auto 0 !important; padding: 24px !important;
	background: var(--wl-surface) !important; border: 1px solid var(--wl-line-2) !important; border-radius: 16px; box-shadow: var(--wl-shadow) !important;
}
.wl-main .register-form-wrapper .main-content-title { margin-bottom: 18px !important; }
.wl-main .register-form-wrapper .main-content-title h3 { font-size: 16px; }
.wl-main .register-form-wrapper .sidebox, .wl-main .register-form-wrapper form { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0; }
.wl-main .register-form-wrapper form p { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; margin: 0 0 14px; }
.wl-main .register-form-wrapper form p br { display: none; }
.wl-main .register-form-wrapper label { width: auto !important; float: none !important; margin: 0; padding: 0; font-size: 13px; line-height: 1.35; text-align: left; }
.wl-main .register-form-wrapper input, .wl-main .register-form-wrapper select { width: 100% !important; margin: 0 !important; float: none !important; }
.wl-main .register-form-wrapper .minor_register_text { color: var(--wl-muted); font-size: 12px; line-height: 1.6; }
.wl-main .register-form-wrapper input[type=submit] { height: 48px !important; line-height: 48px; font-size: 15px; }
.wl-main .register-form-wrapper .wl-reg-submit { width: 100%; height: 48px; font-size: 15px; }
.wl-main .register-form-wrapper .wl-reg-submit:disabled { opacity: .6; cursor: wait; }
.wl-reg-msg { display: block; min-height: 16px; color: var(--wl-muted); font-size: 12px; line-height: 1.4; }
.wl-reg-field.is-ok .wl-reg-msg { color: #4ade80; }
.wl-reg-field.is-bad .wl-reg-msg { color: #f87171; }
.wl-reg-field.is-wait .wl-reg-msg { color: #fbbf24; }
.wl-main .register-form-wrapper .wl-reg-field.is-ok input,
.wl-main .register-form-wrapper .wl-reg-field.is-ok select { border-color: #22c55e !important; box-shadow: 0 0 0 1px rgba(34, 197, 94, .35); }
.wl-main .register-form-wrapper .wl-reg-field.is-bad input,
.wl-main .register-form-wrapper .wl-reg-field.is-bad select { border-color: #ef4444 !important; box-shadow: 0 0 0 1px rgba(239, 68, 68, .35); }
.wl-phone { display: flex; gap: 8px; align-items: stretch; }
.wl-main .wl-reg-field .wl-phone select { flex: 0 0 104px; width: 104px !important; min-width: 0; }
.wl-main .wl-reg-field .wl-phone input { flex: 1 1 auto; width: auto !important; min-width: 0; letter-spacing: .5px; }
.wl-code-row { display: flex; gap: 8px; align-items: stretch; }
.wl-main .wl-reg-field .wl-code-row input { flex: 1 1 auto; width: auto !important; min-width: 0; letter-spacing: 2px; }
.wl-main .wl-reg-field .wl-code-row .wl-reg-send-code { flex: 0 0 auto; min-width: 118px; height: auto; padding: 0 14px; white-space: nowrap; }
.wl-main .wl-reg-field .wl-code-row .wl-reg-send-code:disabled { opacity: .65; cursor: wait; }
.wl-reg-alert { margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .45); color: #fecaca; font-size: 13px; }
.wl-reg-alert.is-ok { background: rgba(34, 197, 94, .12); border-color: rgba(34, 197, 94, .45); color: #bbf7d0; }
.wl-main .wl-auth, html body .wl-main .wl-auth { max-width: 440px; }
.wl-auth-row { display: flex; justify-content: flex-end; margin: -4px 0 16px; font-size: 13px; }
.wl-auth-row a { color: var(--wl-muted) !important; }
.wl-auth-row a:hover { color: #fff !important; }
.wl-auth-alt { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--wl-line); text-align: center; color: var(--wl-muted); font-size: 13px; }
.wl-auth-alt a { font-weight: 600; }
.wl-auth-user { display: grid; gap: 10px; margin-bottom: 18px; }
.wl-auth-user > div { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 10px; background: var(--wl-bg-2); border: 1px solid var(--wl-line); }
.wl-auth-user span { color: var(--wl-muted); }
.wl-auth-user strong { color: #fff; }
.wl-auth-actions { display: grid; gap: 10px; }
@media (max-width: 560px) {
	.wl-main .register-form-wrapper, html body .wl-main .register-form-wrapper { padding: 18px !important; }
}

/* News list */
.wl-news-filter { margin-bottom: 18px; flex-wrap: wrap; }
.wl-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.wl-news-card { display: flex; flex-direction: column; border-radius: var(--wl-radius); overflow: hidden; background: var(--wl-surface); border: 1px solid var(--wl-line); color: var(--wl-text) !important; transition: transform .18s ease, border-color .18s ease; }
.wl-news-card:hover { transform: translateY(-3px); border-color: rgba(216, 54, 27, .45); }
.wl-news-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--wl-surface-2) url(../assets/images/bg1.jpg) center / cover; }
.wl-news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wl-news-thumb .wl-badge { position: absolute; left: 12px; top: 12px; }
.wl-news-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px; }
.wl-news-card-body h3 { margin: 0; font-size: 17px; font-weight: 700; color: #fff; line-height: 1.35; }
.wl-news-card-body p { margin: 0; color: var(--wl-muted); font-size: 13px; line-height: 1.6; }
.wl-news-meta { display: flex; gap: 14px; margin-top: auto; padding-top: 6px; color: var(--wl-muted); font-size: 12px; }

/* FAQ */
.wl-faq { display: flex; flex-direction: column; gap: 10px; max-width: 880px; }
.wl-faq-item { background: var(--wl-surface); border: 1px solid var(--wl-line); border-radius: 12px; overflow: hidden; transition: border-color .15s ease; }
.wl-faq-item[open] { border-color: rgba(216, 54, 27, .45); }
.wl-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; color: #fff; font-weight: 600; font-size: 15px; }
.wl-faq-item summary::-webkit-details-marker { display: none; }
.wl-faq-item summary .fa { flex: 0 0 auto; color: var(--wl-red-2); transition: transform .2s ease; }
.wl-faq-item[open] summary .fa { transform: rotate(45deg); }
.wl-faq-body { padding: 0 18px 18px; color: #c3c7d2; line-height: 1.7; }
.wl-faq-body b { color: #fff; }
.wl-faq-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; padding: 18px; border-radius: 12px; background: linear-gradient(135deg, rgba(88, 101, 242, .16), rgba(88, 101, 242, .04)); border: 1px solid rgba(88, 101, 242, .3); }
.wl-faq-cta strong { display: block; color: #fff; font-size: 15px; }
.wl-faq-cta span { color: var(--wl-muted); font-size: 13px; }

/* Account panel (UserCP) */
.wl-cp-head { padding-top: 28px; }
.wl-cp-user { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 16px 16px 0 0; background: linear-gradient(135deg, rgba(216, 54, 27, .18), rgba(21, 24, 33, .9) 55%), var(--wl-surface); border: 1px solid var(--wl-line-2); border-bottom: 0; }
.wl-cp-avatar { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(226, 182, 92, .14); border: 1px solid rgba(226, 182, 92, .35); color: var(--wl-gold); font-size: 24px; }
.wl-cp-hello { color: var(--wl-muted); font-size: 13px; }
.wl-cp-user h1 { margin: 2px 0 0; font-size: 24px; font-weight: 800; color: #fff; text-transform: none; }
.wl-cp-cash { margin-left: auto; text-align: right; padding: 10px 16px; border-radius: 12px; background: rgba(11, 12, 16, .5); border: 1px solid var(--wl-line-2); }
.wl-cp-cash span { display: block; color: var(--wl-muted); font-size: 12px; }
.wl-cp-cash strong { color: var(--wl-gold); font-size: 20px; font-weight: 800; }
.wl-cp-wallet { display: flex; gap: 10px; margin-left: auto; }
.wl-cp-wallet .wl-cp-cash { margin-left: 0; }
.wl-cp-cash.is-tl strong { color: var(--wl-green); }
.wl-cp-nav { display: flex; gap: 4px; padding: 6px; overflow-x: auto; background: var(--wl-bg-2); border: 1px solid var(--wl-line-2); border-radius: 0 0 16px 16px; scrollbar-width: thin; }
.wl-cp-nav a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; color: #c4c8d4 !important; font-weight: 500; white-space: nowrap; }
.wl-cp-nav a .fa { color: var(--wl-muted); }
.wl-cp-nav a:hover { background: rgba(255, 255, 255, .05); color: #fff !important; }
.wl-cp-nav a.is-active { background: rgba(216, 54, 27, .16); color: #fff !important; }
.wl-cp-nav a.is-active .fa { color: var(--wl-red-2); }
.wl-cp-nav .wl-cp-logout { margin-left: auto; }
.wl-cp-body { padding-top: 24px; padding-bottom: 60px; }

/* Admin panel (AdminCP): tek satir ust bar (kimlik + menu + bildirim) */
.wl-container.wl-acp-head,
.wl-container.wl-acp-body { max-width: none; padding-left: 12px; padding-right: 12px; }
.wl-acp-head { padding-top: 16px; }
.wl-acp-bar { display: flex; align-items: center; gap: 14px; padding: 7px 8px 7px 10px; border-radius: 14px; background: linear-gradient(100deg, rgba(216, 54, 27, .14), rgba(21, 24, 33, .92) 32%), var(--wl-surface); border: 1px solid var(--wl-line-2); }
.wl-acp-brand { display: inline-flex; align-items: center; gap: 10px; flex: none; padding-right: 14px; border-right: 1px solid var(--wl-line-2); color: #fff !important; }
.wl-acp-badge { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(226, 182, 92, .14); border: 1px solid rgba(226, 182, 92, .35); color: var(--wl-gold); font-size: 16px; }
.wl-acp-who { display: flex; flex-direction: column; line-height: 1.15; }
.wl-acp-who small { color: var(--wl-muted); font-size: 11px; }
.wl-acp-who strong { font-size: 14.5px; font-weight: 800; }
.wl-acp-nav { display: flex; flex: 1; min-width: 0; gap: 2px; overflow-x: auto; scrollbar-width: thin; }
.wl-acp-nav a { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 9px; color: #c4c8d4 !important; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.wl-acp-nav a .fa { color: var(--wl-muted); }
.wl-acp-nav a:hover { background: rgba(255, 255, 255, .05); color: #fff !important; }
.wl-acp-nav a.is-active { background: rgba(216, 54, 27, .16); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(216, 54, 27, .35); }
.wl-acp-nav a.is-active .fa { color: var(--wl-red-2); }
.wl-acp-alert { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(216, 54, 27, .14); border: 1px solid rgba(216, 54, 27, .5); color: #ffb4a3 !important; font-size: 13px; }
.wl-acp-alert strong { color: #ff8f78; }
.wl-acp-body { padding-top: 16px; }
/* Panel secici (Admin / Editor / ACS / Site) ve panel renkleri */
.wl-acp-switch { display: flex; flex: none; gap: 2px; padding: 3px; border-radius: 11px; background: rgba(0, 0, 0, .25); border: 1px solid var(--wl-line-2); }
.wl-acp-switch a { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 52px; height: 38px; padding: 0 8px; border-radius: 8px; color: var(--wl-muted) !important; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; }
.wl-acp-switch a .fa { font-size: 14px; }
.wl-acp-switch a:hover { background: rgba(255, 255, 255, .06); color: #fff !important; }
.wl-acp-switch a.is-active { background: var(--acp-c-bg, rgba(216, 54, 27, .2)); color: #fff !important; box-shadow: inset 0 0 0 1px var(--acp-c-line, rgba(216, 54, 27, .45)); }
.wl-acp-switch a.is-active .fa { color: var(--acp-c, var(--wl-red-2)); }
.wl-acp-head { --acp-c: var(--wl-red-2); --acp-c-bg: rgba(216, 54, 27, .16); --acp-c-line: rgba(216, 54, 27, .35); --acp-c-grad: rgba(216, 54, 27, .14); }
.wl-acp-editor { --acp-c: var(--wl-gold); --acp-c-bg: rgba(226, 182, 92, .14); --acp-c-line: rgba(226, 182, 92, .38); --acp-c-grad: rgba(226, 182, 92, .13); }
.wl-acp-acs { --acp-c: #8fb6ff; --acp-c-bg: rgba(90, 140, 255, .15); --acp-c-line: rgba(90, 140, 255, .4); --acp-c-grad: rgba(90, 140, 255, .14); }
.wl-acp-site { --acp-c: #7ddf9a; --acp-c-bg: rgba(70, 200, 120, .14); --acp-c-line: rgba(70, 200, 120, .38); --acp-c-grad: rgba(70, 200, 120, .12); }
.wl-acp-players { --acp-c: #c9a0ff; --acp-c-bg: rgba(160, 110, 255, .15); --acp-c-line: rgba(160, 110, 255, .4); --acp-c-grad: rgba(160, 110, 255, .14); }
.wl-acp-head .wl-acp-bar { background: linear-gradient(100deg, var(--acp-c-grad), rgba(21, 24, 33, .92) 32%), var(--wl-surface); }
.wl-acp-head .wl-acp-badge { background: var(--acp-c-bg); border-color: var(--acp-c-line); color: var(--acp-c); }
.wl-acp-head .wl-acp-nav a.is-active { background: var(--acp-c-bg); box-shadow: inset 0 0 0 1px var(--acp-c-line); }
.wl-acp-head .wl-acp-nav a.is-active .fa { color: var(--acp-c); }
.wl-acp-editor .wl-acp-nav { flex-wrap: wrap; overflow: visible; }
.wl-acp-editor .wl-acp-nav a { height: 32px; padding: 0 10px; font-size: 13px; }
@media (max-width: 900px) {
	.wl-acp-bar { flex-wrap: wrap; }
	.wl-acp-brand { border-right: 0; }
	.wl-acp-nav { order: 3; flex-basis: 100%; }
	.wl-acp-switch { margin-left: auto; }
}
.wl-cp-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.wl-cp-chars { display: flex; flex-direction: column; gap: 10px; }
.wl-cp-char { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; background: var(--wl-bg-2); border: 1px solid var(--wl-line); color: #fff !important; transition: border-color .15s ease, transform .15s ease; }
.wl-cp-char:hover { border-color: rgba(226, 182, 92, .45); transform: translateX(2px); }
.wl-cp-char-nation { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.wl-cp-char-nation img { width: 26px; height: 26px; object-fit: contain; }
.wl-cp-char-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.wl-cp-char-info b { font-size: 15px; }
.wl-cp-char-info small { display: flex; align-items: center; gap: 6px; color: var(--wl-muted); font-size: 12px; }
.wl-cp-char-go { color: var(--wl-gold); font-size: 13px; font-weight: 600; white-space: nowrap; }
.wl-cp-info { display: flex; flex-direction: column; margin: 0; }
.wl-cp-info > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--wl-line); }
.wl-cp-info > div:last-child { border-bottom: 0; }
.wl-cp-info dt { color: var(--wl-muted); font-weight: 500; }
.wl-cp-info dd { margin: 0; color: #fff; font-weight: 600; text-align: right; word-break: break-all; }
.wl-cp-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.wl-cp-actions a { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; background: var(--wl-surface); border: 1px solid var(--wl-line); color: #fff !important; transition: border-color .15s ease, transform .15s ease; }
.wl-cp-actions a:hover { transform: translateY(-2px); border-color: rgba(216, 54, 27, .45); }
.wl-cp-actions .fa { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: rgba(216, 54, 27, .14); color: var(--wl-red-2); font-size: 18px; }
.wl-cp-actions span { display: flex; flex-direction: column; }
.wl-cp-actions small { color: var(--wl-muted); font-size: 12px; }

/* UserCP sub pages: legacy table forms */
html body .wl-main > .wl-cp-head ~ .content-wrapper.no-padding { padding: 24px 24px 60px !important; }
.wl-main .wl-cp-head ~ .content-wrapper > .container,
.wl-main .wl-cp-head ~ .content-wrapper > .tab-pane { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0; float: none; }
.wl-main .wl-cp-head ~ .content-wrapper .main-content { float: none; width: 100%; max-width: 640px; margin: 0; padding: 24px !important; background: var(--wl-surface); border: 1px solid var(--wl-line); border-radius: 16px; }
.wl-main .wl-cp-head ~ .content-wrapper .main-content-title { margin: 0 0 18px; }
.wl-main .wl-cp-head ~ .content-wrapper .entry-content { float: none; width: auto; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.wl-main .wl-cp-head ~ .content-wrapper .entry-content::before,
.wl-main .wl-cp-head ~ .content-wrapper .entry-content::after { display: none; }
.wl-main .wl-cp-head ~ .content-wrapper .action_btns { margin: 6px 0 0; }
.wl-cp-hint { margin: 0 0 18px; color: var(--wl-muted); font-size: 13px; line-height: 1.6; }
.wl-cp-hint b { color: #fff; }
.wl-main table.accountinfo { width: 100% !important; background: transparent; border: 0; border-radius: 0; }
.wl-main table.accountinfo, .wl-main table.accountinfo tbody, .wl-main table.accountinfo tr { display: block !important; width: 100% !important; overflow: visible; }
.wl-main table.accountinfo tr td, .wl-main table.accountinfo tr th { display: block; width: 100%; padding: 0 !important; background: transparent !important; border: 0 !important; text-transform: none; letter-spacing: 0; }
.wl-main table.accountinfo tr th { padding: 0 0 7px !important; color: #c9ccd6 !important; font-size: 13px; font-weight: 600; }
.wl-main table.accountinfo tr td { padding-bottom: 14px !important; }
.wl-main table.accountinfo tbody tr:hover td, .wl-main table.accountinfo tbody tr:nth-child(even) td { background: transparent !important; }
.wl-main table.accountinfo input, .wl-main table.accountinfo select { width: 100% !important; }
.wl-main table.accountinfo input[type=submit] { width: 100% !important; height: 48px !important; }
.wl-main table.accountinfo .wl-reg-msg { margin-top: 6px; }
.wl-main table.accountinfo .wl-reg-field.is-ok input,
.wl-main table.accountinfo .wl-reg-field.is-ok select { border-color: #22c55e !important; box-shadow: 0 0 0 1px rgba(34, 197, 94, .35); }
.wl-main table.accountinfo .wl-reg-field.is-bad input,
.wl-main table.accountinfo .wl-reg-field.is-bad select { border-color: #ef4444 !important; box-shadow: 0 0 0 1px rgba(239, 68, 68, .35); }
.wl-main table.accountinfo .wl-reg-submit { width: 100%; height: 48px; font-size: 15px; }
.wl-main table.accountinfo .wl-reg-submit:disabled { opacity: .6; cursor: wait; }

@media (max-width: 991px) {
	.wl-cp-grid { grid-template-columns: minmax(0, 1fr); }
	.wl-cp-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	html body .wl-main > .wl-cp-head ~ .content-wrapper.no-padding { padding: 16px 14px 40px !important; }
	.wl-main .wl-cp-head ~ .content-wrapper > .container { padding-left: 0 !important; padding-right: 0 !important; }
	.wl-main .wl-cp-head ~ .content-wrapper .main-content { padding: 18px !important; }
}
@media (max-width: 560px) {
	.wl-cp-user { flex-wrap: wrap; }
	.wl-cp-cash { margin-left: 0; width: 100%; text-align: left; }
	.wl-cp-wallet { margin-left: 0; width: 100%; }
	.wl-cp-wallet .wl-cp-cash { flex: 1; width: auto; }
	.wl-cp-actions { grid-template-columns: minmax(0, 1fr); }
}

/* Old sub.css content box (#CNT pages) */
.wl-main section#CNT { width: auto; max-width: 1280px; margin: 0 auto; float: none; color: var(--wl-text); }

@media (max-width: 991px) {
	.wl-main .sidebar.col-lg-3 { position: static; width: 100%; margin-bottom: 18px !important; }
	.wl-main .main-content.col-lg-9 { width: 100%; }
	.wl-main .recent-comments { display: flex; flex-wrap: wrap; gap: 4px; }
	.wl-main .recent-comments li { flex: 1 1 auto; }
	.wl-main .slider h1 { font-size: 22px; }
	.wl-main table { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 640px) {
	.wl-main > .container.no-padding, .wl-main > .container-fluid.no-padding:not(.video-section),
	.wl-main .content-wrapper > .container, .wl-main .content-wrapper > .container.main-wrapper { padding-left: 14px !important; padding-right: 14px !important; }
	.wl-main .slider { padding-top: 22px !important; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.wl-footer { margin-top: 0; background: #08090c; border-top: 1px solid var(--wl-line); color: #9aa0b0; }
.wl-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 52px; padding-bottom: 40px; }
.wl-footer-brand img { height: 84px; width: auto; margin-bottom: 14px; }
.wl-footer-brand p, .wl-footer-col p { margin: 0; font-size: 14px; line-height: 1.7; color: #8a90a2; max-width: 360px; }
.wl-footer-brand .wl-footer-bio { margin-bottom: 8px; color: var(--wl-gold); font-weight: 600; }
.wl-footer-col h4 { margin: 6px 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.wl-footer-col ul { margin: 0; padding: 0; list-style: none; }
.wl-footer-col li { margin-bottom: 10px; list-style: none; }
.wl-footer-col a { color: #a9aebd !important; font-size: 14px; }
.wl-footer-col a:hover { color: #fff !important; }
.wl-footer-social { display: flex; gap: 10px; margin-top: 16px; }
.wl-footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--wl-line-2); color: #fff !important; font-size: 16px; }
.wl-footer-social a:hover { background: var(--wl-red); border-color: var(--wl-red); }
.wl-footer-social a.discord:hover { background: var(--wl-discord); border-color: var(--wl-discord); }
.wl-footer-bottom { border-top: 1px solid var(--wl-line); }
.wl-footer-bottom .wl-container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; font-size: 13px; }
.wl-footer-bottom strong { color: #fff; }
.wl-footer-bottom a { color: #8a90a2 !important; }
.wl-footer-bottom a:hover { color: #fff !important; }
.wl-to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 900; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 12px; background: var(--wl-red); color: #fff !important; font-size: 22px;
	box-shadow: 0 8px 20px rgba(216, 54, 27, .4); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s ease;
}
.wl-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 900px) {
	.wl-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
	.wl-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	.wl-footer-grid { grid-template-columns: 1fr; }
	.wl-footer-bottom .wl-container { justify-content: center; text-align: center; }
	.wl-to-top { right: 82px; }
}

/* --------------------------------------------------------------------------
   Admin / ESN satici paneli
   -------------------------------------------------------------------------- */
.wl-pn { display: flex; flex-direction: column; gap: 24px; }
.wl-pn > .wl-card { min-width: 0; }
.wl-pn-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px; align-items: start; }
.wl-pn-grid > .wl-card { min-width: 0; }
.wl-pn-narrow { max-width: 520px; }
.wl-pn-flash { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 12px; background: rgba(216, 54, 27, .12); border: 1px solid rgba(216, 54, 27, .4); color: #ffd9d0; font-weight: 600; }
.wl-pn-flash.is-ok { background: rgba(61, 220, 132, .1); border-color: rgba(61, 220, 132, .4); color: #c9f7dc; }
.wl-pn-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.wl-pn-stats > div { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; background: var(--wl-surface); border: 1px solid var(--wl-line); border-left: 3px solid var(--wl-line-2); }
.wl-pn-stats span { color: var(--wl-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.wl-pn-stats strong { color: #fff; font-size: 24px; font-weight: 800; line-height: 1.1; }
.wl-pn-stats small { color: var(--wl-muted); font-size: 12px; }
.wl-pn-stats .is-free { border-left-color: var(--wl-green); }
.wl-pn-stats .is-used { border-left-color: var(--wl-gold); }
.wl-pn-stats .is-blocked { border-left-color: var(--wl-red-2); }
.wl-pn-head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wl-pn-head-actions .wl-btn { height: 36px; padding: 0 14px; font-size: 13px; }
.wl-pn-form { display: flex; flex-direction: column; gap: 14px; }
.wl-pn-form label { display: flex; flex-direction: column; gap: 7px; margin: 0; font-size: 13px; }
.wl-pn-form label small, .wl-pn-form > small { color: var(--wl-muted); font-weight: 400; font-size: 12px; line-height: 1.5; }
.wl-pn-form input, .wl-pn-form select, .wl-pn-form textarea { width: 100%; }
.wl-pn-form input[type=file] { padding: 8px; color: var(--wl-muted); font-size: 13px; }
.wl-pn-form button[type=submit] { align-self: flex-start; }
.wl-pn-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.wl-pn-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.wl-pn-filter select, .wl-pn-filter input { flex: 1 1 170px; width: auto; }
.wl-pn-filter input[type=number] { flex: 0 1 130px; }
.wl-pn-filter label > input, .wl-pn-filter label > select { flex: none; }
.wl-pn-inline { display: inline-flex; margin: 0; }
.wl-pn-table-wrap { overflow-x: auto; border-radius: var(--wl-radius); }
.wl-main .wl-pn-table { font-size: 13px; }
.wl-main .wl-pn-table td { vertical-align: top !important; }
.wl-main .wl-pn-table tr.is-read td { opacity: .55; }
.wl-main .wl-pn-table tr.is-selected td { background: rgba(226, 182, 92, .08) !important; }
.wl-main .wl-pn-table tr.is-reported td { background: rgba(216, 54, 27, .06) !important; }
.wl-pn-empty { padding: 28px 14px !important; text-align: center; color: var(--wl-muted) !important; }
.wl-pn-mono { font-family: Consolas, "Courier New", monospace; font-size: 12.5px; letter-spacing: .02em; white-space: nowrap; }
.wl-pn-sub { display: block; margin-top: 3px; color: var(--wl-muted); font-size: 11.5px; font-weight: 400; font-family: var(--wl-font); white-space: normal; }
.wl-pn-warn { color: #ff9b85; }
.wl-pn-msg { min-width: 240px; white-space: normal; line-height: 1.5; word-break: break-word; }
.wl-pn-src { white-space: nowrap; }
.wl-pn-src .fa { color: var(--wl-muted); margin-right: 3px; }
.wl-pn-st, .wl-pn-sev { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.wl-pn-st-free { background: rgba(61, 220, 132, .12); color: #7cf0b0; border-color: rgba(61, 220, 132, .3); }
.wl-pn-st-used { background: rgba(226, 182, 92, .12); color: var(--wl-gold); border-color: rgba(226, 182, 92, .3); }
.wl-pn-st-blocked { background: rgba(216, 54, 27, .14); color: #ff8f78; border-color: rgba(216, 54, 27, .35); }
.wl-pn-counts { white-space: nowrap; }
.wl-pn-counts .wl-pn-st { min-width: 30px; margin-right: 4px; text-align: center; }
.wl-pn-sev-info { background: rgba(255, 255, 255, .06); color: #c4c8d4; }
.wl-pn-sev-warn { background: rgba(226, 182, 92, .14); color: var(--wl-gold); }
.wl-pn-sev-crit { background: rgba(216, 54, 27, .2); color: #ff8f78; }
.pn-type { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.pn-type-ban { background: rgba(216, 54, 27, .16); color: #ff8f78; }
.pn-type-jail { background: rgba(160, 110, 255, .16); color: #c9a0ff; }
.pn-risk { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; white-space: nowrap; border: 1px solid transparent; }
.pn-risk b { font-size: 13px; }
.pn-risk-info { background: rgba(255, 255, 255, .05); color: #c4c8d4; }
.pn-risk-warn { background: rgba(226, 182, 92, .14); color: var(--wl-gold); border-color: rgba(226, 182, 92, .3); }
.pn-risk-crit { background: rgba(216, 54, 27, .2); color: #ff8f78; border-color: rgba(216, 54, 27, .4); }
.pn-table td small { color: var(--wl-muted); }
.wl-pn-table tr.is-focus td { background: rgba(160, 110, 255, .08); }
.pn-help { display: block; margin-top: 12px; color: var(--wl-muted); line-height: 1.6; }
.wl-main .wl-pn .wl-pn-btn.is-active { background: var(--acp-c-bg, rgba(255, 255, 255, .11)) !important; color: #fff !important; }
.wl-pn-actions { white-space: nowrap; text-align: right; }
.wl-pn-actions > * + * { margin-left: 4px; }
.wl-main .wl-pn .wl-pn-btn, .wl-main .wl-pn button.wl-pn-btn[type=submit] {
	display: inline-flex; align-items: center; gap: 6px; min-height: 30px; height: 30px; padding: 0 10px; border-radius: 8px !important;
	background: rgba(255, 255, 255, .05) !important; border: 1px solid var(--wl-line-2) !important; box-shadow: none !important;
	color: #dfe2ea !important; font: 600 12px/28px var(--wl-font); cursor: pointer;
}
.wl-main .wl-pn .wl-pn-btn:hover { background: rgba(255, 255, 255, .11) !important; color: #fff !important; filter: none; }
.wl-main .wl-pn .wl-pn-btn-warn { border-color: rgba(226, 182, 92, .4) !important; color: var(--wl-gold) !important; }
.wl-main .wl-pn .wl-pn-btn-danger { border-color: rgba(216, 54, 27, .5) !important; color: #ff8f78 !important; }
.wl-pn-btnrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--wl-line); }
.wl-main .wl-pn .wl-pn-btnrow .wl-pn-btn { height: 38px; padding: 0 14px; font-size: 13px; }
.wl-pn-pager { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.wl-pn-pager a, .wl-pn-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; border-radius: 9px; background: rgba(255, 255, 255, .04); border: 1px solid var(--wl-line-2); color: #c4c8d4 !important; font-size: 13px; }
.wl-pn-pager .is-active { background: rgba(216, 54, 27, .2); border-color: rgba(216, 54, 27, .5); color: #fff !important; }
.wl-pn-pager .wl-pn-pager-info { margin-left: auto; background: none; border: 0; color: var(--wl-muted) !important; }
.wl-pn-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 18px; margin: 0; }
.wl-pn-dl dt { color: var(--wl-muted); font-weight: 500; }
.wl-pn-dl dd { margin: 0; color: #fff; word-break: break-word; }
.wl-pn-steps { margin: 0; padding-left: 20px; color: var(--wl-text); line-height: 1.7; }
.wl-pn-steps li { margin-bottom: 6px; }
.wl-pn-thumb { max-width: 240px; max-height: 140px; border-radius: 10px; border: 1px solid var(--wl-line-2); object-fit: cover; }
a.wl-pn-alertbox { color: inherit !important; border-color: rgba(216, 54, 27, .5); }
a.wl-pn-alertbox strong { color: #ff8f78; }
.wl-admin-btn { position: relative; }
.wl-alert-dot { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--wl-red); color: #fff; font-size: 11px; font-weight: 800; line-height: 1; }
@media (max-width: 1000px) {
	.wl-pn-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.wl-cp-user { flex-wrap: wrap; }
	.wl-cp-cash { margin-left: 0; text-align: left; }
	.wl-cp-wallet { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   Oyunu Indir
   -------------------------------------------------------------------------- */
.wl-dl { font-family: var(--wl-font); }
.wl-dl .wl-card-head h2 { display: flex; align-items: center; gap: 9px; margin: 0; color: #fff; font: 700 16px/1.3 var(--wl-font); text-transform: none; letter-spacing: 0; }
.wl-dl .wl-card-head h2 .fa { color: var(--wl-red-2); }
.wl-dl-list { display: grid; gap: 10px; }
.wl-dl-item {
	display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px;
	background: rgba(255, 255, 255, .025); border: 1px solid var(--wl-line); transition: border-color .15s ease, background .15s ease;
}
.wl-dl-item:hover { background: rgba(216, 54, 27, .06); border-color: rgba(216, 54, 27, .35); }
.wl-dl-icon {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px;
	background: rgba(216, 54, 27, .14); border: 1px solid rgba(216, 54, 27, .35); color: var(--wl-red-2); font-size: 19px;
}
.wl-dl-info { flex: 1 1 auto; min-width: 0; display: grid; gap: 3px; }
.wl-dl-info b { color: #fff; font-size: 15px; font-weight: 700; }
.wl-dl-info small { color: var(--wl-muted); font-size: 12.5px; }
.wl-dl-item .wl-btn { flex: 0 0 auto; min-width: 120px; }
.wl-dl-note { flex: 0 1 auto; max-width: 50%; padding: 8px 12px; border-radius: 9px; background: rgba(0, 0, 0, .25); border: 1px solid var(--wl-line-2); color: #e6e8ee; font-size: 13px; font-weight: 600; word-break: break-word; user-select: all; }
@media (max-width: 640px) {
	.wl-dl-item { flex-wrap: wrap; }
	.wl-dl-item .wl-btn, .wl-dl-note { width: 100%; max-width: none; }
}

/* --------------------------------------------------------------------------
   Modal (wl-dialog.js)
   -------------------------------------------------------------------------- */
.wl-btn-danger { background: linear-gradient(135deg, #ff4d4d, #b3161b); box-shadow: 0 8px 22px rgba(179, 22, 27, .35); }
.wl-btn-danger:hover { box-shadow: 0 10px 28px rgba(179, 22, 27, .5); }
html.wl-dlg-lock, html.wl-dlg-lock body { overflow: hidden; }
.wl-dlg-back {
	position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px;
	background: rgba(4, 5, 8, .62); backdrop-filter: blur(6px) saturate(120%); -webkit-backdrop-filter: blur(6px) saturate(120%);
	opacity: 0; transition: opacity .16s ease;
}
.wl-dlg-back.is-open { opacity: 1; }
.wl-dlg-back.is-closing { opacity: 0; }
.wl-dlg {
	--wl-dlg-accent: #5aa9ff;
	position: relative; width: min(440px, 100%); max-height: calc(100vh - 40px); overflow: auto;
	padding: 22px 22px 18px; border-radius: 16px; border: 1px solid var(--wl-line-2);
	background: radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--wl-dlg-accent) 14%, transparent), transparent 60%), linear-gradient(180deg, #1a1e2b, #12141c);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
	color: var(--wl-text); font: 400 14px/1.55 var(--wl-font); text-align: left;
	transform: translateY(14px) scale(.97); transition: transform .18s cubic-bezier(.2, .9, .3, 1.2);
}
.wl-dlg::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; border-radius: 0 0 2px 2px; background: linear-gradient(90deg, transparent, var(--wl-dlg-accent), transparent); }
.wl-dlg-back.is-open .wl-dlg { transform: none; }
.wl-dlg-back.is-closing .wl-dlg { transform: translateY(6px) scale(.98); }
.wl-dlg-success { --wl-dlg-accent: var(--wl-green); }
.wl-dlg-warning { --wl-dlg-accent: var(--wl-gold); }
.wl-dlg-danger { --wl-dlg-accent: var(--wl-red-2); }
.wl-dlg-question { --wl-dlg-accent: #9b8cff; }
.wl-dlg-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.wl-dlg-icon {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px;
	background: color-mix(in srgb, var(--wl-dlg-accent) 16%, transparent); border: 1px solid color-mix(in srgb, var(--wl-dlg-accent) 40%, transparent);
	color: var(--wl-dlg-accent); font-size: 16px;
}
.wl-dlg-title { margin: 0; color: var(--wl-head); font: 700 17px/1.3 var(--wl-font); letter-spacing: .1px; text-transform: none; }
.wl-dlg-body { margin: 0 0 4px 50px; color: #c3c8d6; }
.wl-dlg-body p { margin: 0 0 6px; }
.wl-dlg-fields { display: grid; gap: 12px; margin: 14px 0 0; }
.wl-dlg-field { display: grid; gap: 6px; margin: 0; font-weight: 500; }
.wl-dlg-field span { color: var(--wl-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.wl-dlg .wl-dlg-input {
	width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--wl-line-2);
	background: rgba(0, 0, 0, .28); color: #fff; font: 500 14px var(--wl-font); outline: none; box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.wl-dlg .wl-dlg-input:focus { border-color: color-mix(in srgb, var(--wl-dlg-accent) 70%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wl-dlg-accent) 22%, transparent); }
.wl-dlg-error { min-height: 0; color: #ff8f78; font-size: 13px; }
.wl-dlg-error:not(:empty) { margin-top: 8px; }
.wl-dlg-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.wl-dlg-foot .wl-btn { min-width: 96px; cursor: pointer; }
.wl-dlg-foot .wl-btn:focus-visible { outline: 2px solid color-mix(in srgb, var(--wl-dlg-accent) 80%, white); outline-offset: 2px; }
.wl-dlg-shake { animation: wl-dlg-shake .32s ease; }
@keyframes wl-dlg-shake { 0%, 100% { translate: 0; } 25% { translate: -6px; } 50% { translate: 5px; } 75% { translate: -3px; } }
@media (max-width: 480px) {
	.wl-dlg-body { margin-left: 0; }
	.wl-dlg-foot .wl-btn { flex: 1; }
}