@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@400;500;600;700&display=swap');

html {
	scroll-behavior: smooth;
}

/* WebP <picture> sarmalayıcısı düzeni etkilemesin: img doğrudan ebeveynin çocuğu gibi davranır */
picture {
	display: contents;
}

body {
	padding: 0;
	margin: 0;
	background-color: #0b0708;
	font-family: 'Readex Pro', sans-serif;
	font-weight: 500;
	background: url('../img/bg.jpg');
	background-image: image-set(url('../img/bg.webp') type('image/webp'), url('../img/bg.jpg') type('image/jpeg'));
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center top;
	overflow-x: hidden;
}

/* ===================================================
   UÇUŞAN PARÇACIK EFEKTİ CANVAS (BACKGROUND PARTICLES)
   =================================================== */
#particles-canvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	z-index: 2;
}

/* ===================================================
   KAPSAYICI VE TANITIM DİLİMLERİ (850px Center Container)
   =================================================== */
.container {
	max-width: 850px !important;
	width: 100% !important;
	margin: 0 auto !important;
	padding: 0 !important;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0,0,0,0.8);
	background: #000;
	position: relative;
	z-index: 10;
}

.col-lg-12 {
	padding: 0 !important;
	margin: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
}

.img-responsive {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	vertical-align: middle;
}

/* ===================================================
   SOL MENÜ (Sabit Butonlar: Ana Sayfa, Kayıt, İndir)
   =================================================== */
.sol_menu {
	z-index: 99;
	position: fixed;
	left: 3%;
	top: 10%;
}

.sol_menu ul {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
}

.sol_menu ul li {
	margin-bottom: 16px;
}

.sol_menu ul li a {
	display: block;
	transition: all 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
	text-decoration: none;
}

.sol_menu ul li a img {
	max-width: 230px;
	width: 100%;
	height: auto;
	display: block;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.8));
	transition: all 300ms ease;
}

.sol_menu ul li a:hover {
	transform: translateY(-3px) scale(1.03);
	text-decoration: none;
}

.sol_menu ul li a:hover img {
	filter: brightness(1.2) drop-shadow(0 0 16px rgba(255, 215, 0, 0.5));
}

/* ===================================================
   DISCORD SOL ALT BUTON
   =================================================== */
#discord4 {
	position: fixed;
	left: 3%;
	bottom: 5%;
	width: 210px;
	max-width: 210px;
	z-index: 99;
	transition: all 300ms ease;
	display: block;
}

#discord4 img {
	width: 100%;
	height: auto;
	display: block;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.8));
	transition: all 300ms ease;
}

#discord4:hover {
	transform: translateY(-3px) scale(1.04);
	opacity: 0.95;
}

#discord4:hover img {
	filter: brightness(1.15) drop-shadow(0 0 18px rgba(88, 101, 242, 0.7));
}

/* ===================================================
   SAĞ ÖZEL MENÜ (Mestan2 Ahşap Çerçeveli 26 Slot)
   =================================================== */
.sag_menu {
	z-index: 99;
	position: fixed;
	right: 2%;
	top: 50%;
	transform: translateY(-50%);
	/* 506 x 860 en boy oranına göre büyütülmüş ideal boyut */
	width: 400px;
	height: 680px;
	background: url('../img/sag_menu_bg.png') no-repeat center center;
	background-image: image-set(url('../img/sag_menu_bg.webp') type('image/webp'), url('../img/sag_menu_bg.png') type('image/png'));
	background-size: 100% 100%;
	filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.9));
	user-select: none;
}

/* 26 Satırlık İç Slot Alanı (Slotların tam merkezine milimetrik oturtma) */
.sag_menu_list {
	position: absolute;
	top: 16.74%;
	left: 21.34%;
	width: 57.31%;
	height: 62.56%;
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.sag_menu_list li {
	flex: 1;
	height: 3.846%;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.sag_menu_list li a {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding-left: 14px;
	padding-right: 6px;
	color: #ffd7b4;
	font-family: 'Readex Pro', sans-serif;
	font-size: 11.2px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: all 0.15s ease;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: 1px 1px 2px #000;
}

.sag_menu_list li a:hover {
	color: #ffffff;
	background: rgba(226, 185, 85, 0.32);
	text-shadow: 0 0 8px #ffe699;
	padding-left: 17px;
	text-decoration: none;
}

/* Alt Parşömen Alanı - Mestan2 Logo (Kusursuz Ortalama ve Boyut) */
.sag_menu_parchment {
	position: absolute;
	top: 80.0%;
	left: 21.34%;
	width: 57.31%;
	height: 7.8%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
	box-sizing: border-box;
	overflow: hidden;
}

.sag_menu_parchment a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
	transition: transform 0.25s ease;
}

.sag_menu_parchment a:hover {
	transform: scale(1.05);
}

.sag_menu_parchment img {
	max-height: 65%;
	max-width: 78%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	margin: auto;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
	transition: filter 0.25s ease;
}

.sag_menu_parchment a:hover img {
	filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

/* ===================================================
   EKRAN ÇÖZÜNÜRLÜKLERİNE GÖRE ADAPTİF ÖLÇEKLENDİRME
   =================================================== */
@media (max-height: 780px) {
	.sag_menu {
		transform: translateY(-50%) scale(0.86);
		transform-origin: center right;
	}
}

@media (max-height: 660px) {
	.sag_menu {
		transform: translateY(-50%) scale(0.74);
		transform-origin: center right;
	}
}

/* ===================================================
   MOBİL ALT MENÜ (Mobile Bottom Navigation)
   =================================================== */
.mobil_menu {
	background: rgba(7, 9, 13, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	width: 100%;
	max-width: 100%;
	z-index: 9999;
	position: fixed;
	bottom: 0px;
	left: 0;
	border-top: 1px solid rgba(219, 190, 148, 0.3);
	display: none;
}

.mobil_menu ul {
	width: 100%;
	list-style: none;
	margin: 0 !important;
	padding: 8px 10px !important;
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.mobil_menu ul li {
	margin: 0;
	padding: 0;
}

.mobil_menu ul li a img {
	height: 38px;
	width: auto;
	display: block;
}

/* ===================================================
   RESPONSIVE GÖRÜNÜRLÜK (Kırılma Noktaları)
   =================================================== */
@media (max-width: 1365px) {
	.m-d-n {
		display: none !important;
		overflow: hidden;
	}
	.mobil_menu {
		display: block !important;
	}
}

@media (min-width: 1366px) {
	.f-d-n {
		display: none !important;
		overflow: hidden;
	}
}