@charset "utf-8";
/* ==========================================================================
 * Rohan2 - Telefon Düzeni (config_flags: ENABLE_MOBILE_VIEWPORT)
 *
 * Viewport meta etiketiyle telefonlar sayfayı kendi genişliğinde (~360-430px)
 * çizer. Site masaüstü için sabit piksel ölçülerle yazıldığından bu dosya
 * telefon genişliğinde taşan / üst üste binen bölümleri düzeltir.
 * Yalnızca 767px ve altında etkilidir; masaüstü ve tablet etkilenmez.
 * ========================================================================== */

@media (max-width: 767px) {
	html, body {
		overflow-x: hidden;
	}

	/* --- Logo ve üst açıklama --- */
	.custom-logo {
		width: 72vw !important;
		max-width: 340px;
		height: auto;
	}
	.data-bg {
		width: 100%;
		font-size: 1.05rem;
		padding: 18px 14px;
	}
	.data-bg.data-home {
		display: block;
		padding: 10px 18px;
		font-size: 1.05rem;
		line-height: 1.45;
	}

	/* --- Sosyal medya: kenara yapışık dikey çubuk içeriği kapatıyordu; menünün altında
	 *     yuvarlak altın çerçeveli düğmeler olarak sıralanır (parmakla rahat basılır, 40px) --- */
	.social-sidebar {
		position: relative;
		top: auto;
		left: auto;
		transform: none;
		flex-direction: row;
		justify-content: center;
		gap: 12px;
		width: auto;
		margin: 22px auto 0;   /* yılbaşı ışıklarının altında kalsın */
		padding: 0;
		background: none;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		z-index: 5;
	}
	.social-sidebar a {
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background: radial-gradient(circle at 50% 35%, #2b3a0e 0%, #1a2207 70%);
		border: 1px solid rgba(212, 175, 55, .65);
		box-shadow: 0 3px 8px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 240, 200, .12);
		transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
	}
	.social-sidebar a:active {
		transform: scale(.92);
		border-color: #f0b955;
		box-shadow: 0 0 10px rgba(240, 185, 85, .55);
	}
	.social-sidebar img {
		width: 20px;
		height: 20px;
	}

	/* --- Sunucu kutuları: 408px görseller ekrandan taşıyordu --- */
	.server-pyramid,
	.server-row,
	.server {
		max-width: 100%;
	}
	.server {
		width: 100%;
	}
	.server > a,
	.mobile-badge-container {
		display: inline-block;
		max-width: 100%;
	}
	body .server > a img,
	body .mobile-badge-container img {
		max-width: 100%;
		height: auto !important;
	}
	/* World'ün arkasındaki dönen efekt görselle birlikte küçülsün */
	.world-link-fx {
		position: relative;
	}
	.server .angmar-effect {
		width: 61%;
		height: auto;
		left: -6%;
		top: -5%;
	}
	.server-row-bottom {
		gap: 10px !important;
	}

	/* Sunucu başlığı ve açıklaması: -33px yan marj ekrandan taşırıyordu */
	.AngmarTitle {
		margin: -24px 0;
		font-size: 1.15em;
	}
	.AngmarDesc {
		padding: 30px 10px;
		font-size: .88em;
		line-height: 1.4;
	}

	/* Sayaç kutuları ekran genişliğini aşmasın */
	/* body öneki: sayfa içi <style> bloğundaki eşit seçicileri (sonra geldikleri için) ezebilmek için */
	body .countdown-wrapper.data-bg,
	body .countdown-wrapper.data-bg.combined-uptime-box.mobile-countdown-style,
	body .countdown-wrapper.data-bg.mobile-countdown-style {
		min-width: 0 !important;
		max-width: 100% !important;
		width: 100% !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
	}
	body .mobile-countdown-style .live-counter-row {
		gap: .55rem !important;
	}
	body .mobile-countdown-style .countdown-digit {
		font-size: 1.35rem !important;
	}

	/* --- Sabit öğeler --- */
	/* Discord kutusu (300x122) ekranın üçte birini kaplıyordu; Discord menüde ve sosyal şeritte var */
	.discord-widget {
		display: none !important;
	}
	/* Alttaki duyuru şeridi: daha ince */
	.notice-ribbon {
		padding: 7px 10px !important;
		bottom: 0;
	}
	.notice-text {
		font-size: .78rem !important;
		letter-spacing: .3px;
		line-height: 1.35;
		display: block;
	}

	/* --- Alt bilgi --- */
	.mx-auto.d-block {
		max-width: 30%;
	}
	.footer-mt {
		margin-left: 0;
		margin-right: 0;
	}
	.bottom-links {
		padding-left: 12px;
		padding-right: 12px;
		line-height: 2;
	}
	.bottom-links a {
		display: inline-block;
		margin: 0 6px;
		line-height: 1.8;
	}
	.bottom-links img.img-responsive {
		width: 22% !important;
	}

	/* --- Yılbaşı teması --- */
	.xmas-theme .newyear-hero .hero-event-tag {
		font-size: 2.2rem;
	}
	.xmas-theme .hero-content.newyear-hero {
		margin-bottom: -46px;
	}
}
