/* ==========================================================
   SOLENW NETWORK - Tema CSS
   Yer: assets/css/solenw.css
   ========================================================== */

body.sw {
	--sw-bg: #07050d;
	--sw-bg-soft: #0d0a16;
	--sw-card: #12161b;
	--sw-card-2: #171c22;
	--sw-line: rgba(255, 255, 255, .08);
	--sw-gold: #f5b82e;
	--sw-gold-soft: #ffd566;
	--sw-text: #f3f1f8;
	--sw-muted: #8f8c9d;
	--sw-green: #34d399;
	--sw-purple: #a78bfa;
	--sw-orange: #fb923c;

	--tblr-primary: #f5b82e;
	--tblr-primary-rgb: 245, 184, 46;
	--tblr-link-color: #f5b82e;
	--tblr-link-color-rgb: 245, 184, 46;
	--tblr-link-hover-color: #ffd566;

	background:
		radial-gradient(1200px 500px at 50% -120px, rgba(88, 48, 140, .28), transparent 70%),
		var(--sw-bg);
	color: var(--sw-text);
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 14px;
}

body.sw .page-wrapper { background: transparent; }

/* ---------- Genel bilesenler ---------- */
.sw-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: calc(var(--tblr-gutter-x, 1.5rem) * .5); }
.sw-section { padding: 20px 0; }

.sw-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--sw-gold);
}

.sw-title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 400; letter-spacing: -.02em; margin: 12px 0 18px; color: var(--sw-text); }
.sw-title em { font-style: normal; color: var(--sw-gold); }
.sw-lead { color: var(--sw-muted); font-size: 14px; margin: 0; max-width: 620px; }

.sw-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 18px; border-radius: 2px; border: 0;
	background: var(--sw-gold); color: #1a1205 !important;
	font-weight: 700; font-size: 12px; text-decoration: none;
	transition: background .15s ease;
	cursor: pointer;
}
.sw-btn:hover { background: var(--sw-gold-soft); }
.sw-btn:focus-visible, .sw-video-box:focus-visible { outline: 2px solid var(--sw-gold-soft); outline-offset: 3px; }

.sw-link { color: var(--sw-gold); font-size: 13px; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.sw-link:hover { color: var(--sw-gold-soft); }

/* ---------- Hero ust baslik ---------- */
.sw-hero-head { padding: 34px 0 22px; }

/* ---------- Tanitim bandi ---------- */
.sw-banner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(220px, .8fr) minmax(320px, 1.35fr);
	align-items: center;
	gap: 20px;
	min-height: 270px;
	padding: 26px 34px;
	border: 1px solid rgba(245, 184, 46, .35);
	border-radius: 14px;
	overflow: hidden;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cpath d='M0 12 L12 0 L24 12 L36 0 L48 12' fill='none' stroke='%23f5b82e' stroke-opacity='.08' stroke-width='1'/%3E%3C/svg%3E"),
		radial-gradient(600px 320px at 15% 20%, rgba(245, 184, 46, .22), transparent 70%),
		linear-gradient(135deg, #2a2210 0%, #14110c 55%, #0f1114 100%);
}

.sw-banner-copy h2 { font-size: clamp(22px, 2.1vw, 30px); font-weight: 500; line-height: 1.15; margin: 14px 0 12px; color: var(--sw-text); }
.sw-banner-copy h2 span { color: var(--sw-gold); display: block; }
.sw-banner-copy p { color: var(--sw-muted); font-size: 13px; max-width: 300px; margin: 0 0 18px; }
.sw-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sw-gold); margin-right: 8px; }

.sw-warrior { align-self: end; justify-self: center; margin-bottom: -26px; }
.sw-warrior img { display: block; max-height: 300px; width: auto; max-width: 100%; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .55)); }

.sw-video-box {
	position: relative;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	aspect-ratio: 16 / 9;
	width: 100%;
	padding: 0;
	border: 1px solid var(--sw-line);
	border-radius: 8px;
	background: rgba(10, 10, 14, .72);
	color: var(--sw-text);
	text-align: center;
	overflow: hidden;
}
.sw-video-box::before {
	content: ''; position: absolute; inset: 12px;
	border: 1px dashed rgba(245, 184, 46, .35); border-radius: 4px; pointer-events: none;
}
.sw-video-box.has-video::before { display: none; }
.sw-video-box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.sw-video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sw-play {
	display: grid; place-items: center;
	width: 64px; height: 64px; border-radius: 50%;
	background: var(--sw-gold); color: #1a1205; font-size: 26px;
	box-shadow: 0 0 0 8px rgba(245, 184, 46, .15);
}
.sw-video-box strong { font-size: 13px; font-weight: 500; margin-top: 10px; }
.sw-video-box small { font-size: 11px; color: var(--sw-muted); }

/* ---------- Istatistikler ---------- */
.sw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sw-stat {
	display: flex; align-items: center; gap: 16px;
	padding: 22px 20px;
	background: var(--sw-card);
	border: 1px solid var(--sw-line);
	border-radius: 4px;
}
.sw-stat-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 4px; font-size: 22px; flex: none; }
.sw-stat-icon.gold   { background: rgba(245, 184, 46, .14); color: var(--sw-gold); }
.sw-stat-icon.green  { background: rgba(52, 211, 153, .14); color: var(--sw-green); }
.sw-stat-icon.purple { background: rgba(167, 139, 250, .16); color: var(--sw-purple); }
.sw-stat-icon.orange { background: rgba(251, 146, 60, .16); color: var(--sw-orange); }
.sw-stat-label { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--sw-muted); }
.sw-stat-value { font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--sw-text); }
.sw-stat-note { font-size: 11px; color: var(--sw-muted); }
.sw-stat-note.up { color: var(--sw-green); }
.sw-stat-badge { display: inline-block; padding: 2px 9px; border-radius: 99px; background: rgba(251, 146, 60, .16); color: var(--sw-orange); font-size: 11px; font-weight: 600; }
.sw-stat-label { min-height: 13px; }
.sw-stat-value { min-height: 34px; }
.sw-stat-note { min-height: 15px; }

/* ---------- Bolum basligi ---------- */
.sw-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sw-head h2 { margin: 6px 0 0; font-size: 20px; font-weight: 500; color: var(--sw-text); }

/* ---------- Oyun modlari ---------- */
.sw-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sw-mode {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 170px; padding: 20px;
	border: 1px solid var(--sw-line); border-radius: 10px; overflow: hidden;
	color: var(--sw-text) !important; text-decoration: none;
	background: linear-gradient(160deg, var(--mode-a), var(--mode-b));
	transition: border-color .15s ease;
}
.sw-mode:hover { border-color: rgba(255, 255, 255, .28); }
.sw-mode h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.sw-mode p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .72); }
/* Gorselli mod karti: yazi yok (gorselde var), yatayda kirpilmis */
.sw-mode.has-img {
	aspect-ratio: 1640 / 700; min-height: 0; padding: 0;
	background-size: cover; background-position: center; background-repeat: no-repeat;
	transition: border-color .15s ease, filter .15s ease;
}
.sw-mode.has-img:hover { filter: brightness(1.12); }
.sw-mode.has-img h3, .sw-mode.has-img p {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.sw-mode-badge { position: absolute; top: 16px; right: 16px; font-size: 11px; padding: 4px 10px; border-radius: 99px; background: rgba(0, 0, 0, .4); }

/* ---------- Haber kartlari ---------- */
.sw-news { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.sw-post { display: flex; flex-direction: column; background: var(--sw-card); border: 1px solid var(--sw-line); border-radius: 8px; overflow: hidden; }
.sw-post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.sw-post-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.sw-post-meta { font-size: 12px; color: var(--sw-muted); }
.sw-post-meta a { color: var(--sw-gold); text-decoration: none; }
.sw-post h3 { font-size: 16px; font-weight: 600; margin: 8px 0; line-height: 1.3; }
.sw-post h3 a { color: var(--sw-text); text-decoration: none; }
.sw-post h3 a:hover { color: var(--sw-gold); }
.sw-post p { font-size: 13px; color: var(--sw-muted); margin: 0 0 16px; flex: 1; }

/* ---------- Widgetlar ---------- */
.sw-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.sw-widget { background: var(--sw-card); border: 1px solid var(--sw-line); border-radius: 8px; overflow: hidden; }
.sw-widget-head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px; border-bottom: 1px solid var(--sw-line); }
.sw-widget-head h3 { margin: 0; font-size: 15px; font-weight: 600; }
.sw-widget-head span { font-size: 12px; color: var(--sw-muted); }
.sw-widget .table { margin: 0; --tblr-table-bg: transparent; }
.sw-widget .table th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sw-muted); }
.sw-widget a { color: var(--sw-text); text-decoration: none; }
.sw-widget a:hover { color: var(--sw-gold); }
.sw-empty { padding: 22px 18px; color: var(--sw-muted); font-size: 13px; }

/* ---------- Slider (modul aciksa) ---------- */
.sw-slider { margin-bottom: 28px; border-radius: 10px; overflow: hidden; border: 1px solid var(--sw-line); }

/* ---------- Oyun modlari + liderlik tablosu (ana sayfa) ---------- */
.sw-modes-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 18px; align-items: stretch; }
.sw-modes-row .sw-modes { grid-template-columns: 1fr; }
.sw-modes-row .sw-mode.has-img { aspect-ratio: auto; height: 100%; min-height: 220px; }

.sw-lb { background: var(--sw-card); border: 1px solid var(--sw-line); border-radius: 10px; overflow: hidden; }
.sw-lb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--sw-line); }
.sw-lb-head h3 { margin: 4px 0 0; font-size: 16px; font-weight: 600; color: var(--sw-text); }
.sw-lb-row { display: grid; align-items: center; gap: 10px; padding: 8px 20px; border-bottom: 1px solid rgba(255, 255, 255, .04); font-size: 13px; }
.sw-lb-row:last-child { border-bottom: 0; }
.sw-lb-hd { padding-top: 10px; padding-bottom: 10px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--sw-muted); }
.sw-lb-rank { text-align: center; font-weight: 700; color: var(--sw-muted); }
.sw-lb-row.r1 { background: linear-gradient(90deg, rgba(245, 184, 46, .14), transparent 70%); }
.sw-lb-row.r1 .sw-lb-rank { color: var(--sw-gold); }
.sw-lb-row.r2 .sw-lb-rank { color: #c7ced6; }
.sw-lb-row.r3 .sw-lb-rank { color: #cd8b4a; }
.sw-lb-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sw-lb-who img { border-radius: 3px; image-rendering: pixelated; flex: none; }
.sw-lb-who b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-lb-val { text-align: right; font-variant-numeric: tabular-nums; color: var(--sw-text); }
.sw-lb-hd .sw-lb-val { color: var(--sw-muted); }
.sw-lb-tabs { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--sw-line); border-radius: 4px; background: rgba(255, 255, 255, .02); }
.sw-lb-tab { border: 0; background: transparent; color: var(--sw-muted); font-size: 12px; padding: 6px 12px; border-radius: 3px; cursor: pointer; }
.sw-lb-tab:hover { color: var(--sw-text); }
.sw-lb-tab.active { background: rgba(245, 184, 46, .14); color: var(--sw-gold); font-weight: 600; }
.sw-lb-pane[hidden] { display: none; }
a.sw-lb-row { color: inherit; text-decoration: none; }
a.sw-lb-row:hover { background: rgba(255, 255, 255, .03); }
.sw-lb-who .avatar { border-radius: 3px; flex: none; }
.sw-lb-empty { padding: 28px 20px; font-size: 13px; color: var(--sw-muted); }

/* ---------- Siralama sayfasi ---------- */
.sw-card { background: var(--sw-card); border: 1px solid var(--sw-line); border-radius: 10px; overflow: hidden; }
.sw-card-head { padding: 14px 18px; border-bottom: 1px solid var(--sw-line); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sw-gold); }
.sw-lbp-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: start; }
.sw-lbp-side { display: grid; gap: 18px; }
.sw-lbp-servers { list-style: none; margin: 0; padding: 6px; }
.sw-lbp-servers a { display: block; padding: 10px 12px; border-radius: 4px; color: var(--sw-muted); text-decoration: none; }
.sw-lbp-servers a:hover, .sw-lbp-servers li.active a { color: var(--sw-gold); background: rgba(245, 184, 46, .1); }

.sw-feature { padding: 22px 20px; text-align: center; background: linear-gradient(160deg, #2a2210, #14110c); border-color: rgba(245, 184, 46, .35); }
.sw-feature-top { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .14em; color: var(--sw-gold); }
.sw-feature-top i { font-size: 18px; }
.sw-feature-avatar { width: 72px; height: 72px; margin: 18px auto 12px; display: block; border-radius: 6px; border: 2px solid rgba(245, 184, 46, .6); image-rendering: pixelated; }
.sw-feature-initial { display: grid; place-items: center; font-size: 28px; font-weight: 700; color: #1a1205; background: var(--sw-gold); }
.sw-feature h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; color: var(--sw-text); }
.sw-feature-score { margin: 16px 0; display: flex; flex-direction: column; }
.sw-feature-score strong { font-size: 32px; letter-spacing: -.02em; color: var(--sw-gold-soft); }
.sw-feature-score span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--sw-muted); }
.sw-feature-stats { display: flex; justify-content: space-around; gap: 8px; padding-top: 14px; border-top: 1px solid var(--sw-line); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--sw-muted); }
.sw-feature-stats b { display: block; margin-bottom: 4px; font-size: 14px; letter-spacing: 0; color: var(--sw-text); }

.sw-lbp .table { margin: 0; --tblr-table-bg: transparent; }
.sw-lbp .table th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sw-muted); }
.sw-lbp .table tr.active td { background: rgba(245, 184, 46, .1); }
.sw-lbp #searchBox { border-bottom: 1px solid var(--sw-line); }
.sw-lbp #searchBox .form-control { background: transparent; color: var(--sw-text); }
.sw-lbp .breadcrumb, .sw-lbp .breadcrumb a { font-size: 13px; }

@media (max-width: 900px) {
	.sw-modes-row { grid-template-columns: 1fr; }
	.sw-modes-row .sw-mode.has-img { aspect-ratio: 1640 / 700; min-height: 0; height: auto; }
	.sw-lbp-grid { grid-template-columns: 1fr; }
}

/* ---------- Ust menu ---------- */
body.sw .navbar.sw-header {
	background: #170f24 !important;
	border-bottom: 1px solid var(--sw-line) !important;
	min-height: 72px;
	padding: 0;
}
body.sw .sw-header .container-xl { gap: 10px; }

.sw-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: 22px; }
.sw-brand img { height: 46px; width: auto; display: block; }
.sw-brand-text { display: flex; flex-direction: column; line-height: 1; }
.sw-brand-name { font-size: 18px; font-weight: 800; letter-spacing: .22em; color: var(--sw-gold); }
.sw-brand-sub { margin-top: 7px; font-size: 9px; font-weight: 700; letter-spacing: .55em; color: var(--sw-muted); }

body.sw .sw-nav { gap: 4px; }
body.sw .sw-nav .nav-link {
	padding: 10px 14px; border: 1px solid transparent; border-radius: 3px;
	color: #b9b4c9; font-size: 13px; transition: color .15s ease, background .15s ease;
}
body.sw .sw-nav .nav-link:hover { color: var(--sw-text); background: rgba(255, 255, 255, .04); }
body.sw .sw-nav .nav-item.active > .nav-link {
	color: var(--sw-gold);
	background: rgba(245, 184, 46, .1);
	border-color: rgba(245, 184, 46, .3);
	box-shadow: inset 0 -2px 0 var(--sw-gold);
}
body.sw .sw-header .nav-item.active::after { display: none !important; }

/* kullanici kutusu */
.sw-user .avatar { border-radius: 3px; border: 1px solid rgba(245, 184, 46, .5); }
.sw-user-name { font-size: 13px; font-weight: 600; color: var(--sw-text); }
.sw-user-role { margin-top: 4px; font-size: 11px; color: var(--sw-muted); }
.sw-user-caret { color: var(--sw-muted); font-size: 14px; }

/* ---------- Alt kisim ---------- */
.sw-footer { margin-top: 36px; padding-top: 44px; background: #0b0813; border-top: 1px solid var(--sw-line); }
.sw-footer-grid { display: grid; gap: 32px; padding-bottom: 34px; }
.sw-brand-footer { margin: 0 0 16px; }
.sw-footer-text { max-width: 380px; font-size: 13px; color: var(--sw-muted); }
.sw-footer-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sw-fbtn {
	background: var(--sw-card) !important; border: 1px solid var(--sw-line) !important;
	color: var(--sw-text) !important; font-size: 12px; padding: 8px 14px; border-radius: 3px;
}
.sw-footer-col h4 {
	margin: 0 0 16px; font-size: 11px; font-weight: 700;
	letter-spacing: .2em; text-transform: uppercase; color: var(--sw-gold);
}
.sw-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sw-flink { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--sw-muted); text-decoration: none; }
.sw-flink:hover { color: var(--sw-gold); }
.sw-flink i { font-size: 15px; }
.sw-footer-bottom {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
	padding: 18px 0; border-top: 1px solid var(--sw-line);
	font-size: 12px; color: var(--sw-muted);
}
.sw-footer-bottom a { color: var(--sw-text); }

@media (max-width: 900px) {
	.sw-footer-grid { grid-template-columns: 1fr 1fr !important; }
	.sw-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	.sw-footer-grid { grid-template-columns: 1fr !important; }
}

/* ---------- Mobil ---------- */
@media (max-width: 1100px) {
	.sw-banner { grid-template-columns: 1fr 1fr; }
	.sw-warrior { display: none; }
	.sw-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	.sw-wrap { padding: 0 16px; }
	.sw-hero-head { padding-top: 32px; }
	.sw-banner { grid-template-columns: 1fr; padding: 24px 20px; }
	.sw-modes { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.sw-stats { grid-template-columns: 1fr; }
}