body {
	padding: 0;
	margin: 0;
	font-family: "Noto Sans", sans-serif;
	font-weight: bold;
	background: url('../img/bg.jpg');
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center center;
}

.popup-container2 {
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
	z-index: 9999; /* Tüm içeriklerin önünde olması için */
}
.popup2 {
	background: white;
	padding: 20px;
	border-radius: 10px;
	text-align: center;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.popup2 img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}
.close-btn2 {
	position: absolute;
	top: 10px;
	right: 10px;
	background: red;
	color: white;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
	border-radius: 5px;
}

.bottom-close-btn {
	margin-top: 10px;
	background: red;
	color: white;
	border: none;
	padding: 10px 20px;
	cursor: pointer;
	border-radius: 5px;
}

/* Sabit Menü Stilleri */
.fixed-menu {
	position: fixed;
	top: 15%;
	z-index: 999;
	width: 100%;
	pointer-events: none;
}

.fixed-menu > div {
	position: absolute;
	display: flex;
	flex-direction: column;
	gap: 80px;
	text-align: center;
	/*! padding: 50px; */
	pointer-events: auto;
}

.fixed-menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
}

/* Anasayfa / Kayıt / İndir parçaları tek blok gibi birleşik durur */
.fixed-menu ul li {
	line-height: 0;
}

.fixed-menu ul a {
	position: relative;
	transition: filter 0.25s ease;
}

.fixed-menu ul a img {
	display: block;
	margin: 0 auto;
}

.fixed-menu ul a:hover {
	transform: none;
	z-index: 1;
	filter: brightness(1.15) drop-shadow(0 0 8px rgba(255, 190, 90, 0.5));
}

.left-menu {
	left: 50px;
}

.right-menu {
	right: 50px;
}

.fixed-menu a {
	display: block;
	transition: transform 0.3s ease;
}

.fixed-menu a:hover {
	transform: scale(1.1);
}

.fixed-menu img {
	width: auto;
	max-width: 100%;
}


/* Ana İçerik ve Resim Galerisi Stilleri */
.main-content-wrapper {
	text-align: center;
	padding-left: 50px;
	padding-right: 50px;
	overflow-x: clip; /* kenar ışığı dar ekranda yatay kaydırma açmasın */
}

.image-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}

.gallery-image {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ---------- Tanıtım efekti: kenar rayları + belirme geçişi ----------
   Yalnızca transform/opacity canlandırılır (GPU katmanında, yeniden boyama yok).
   Destekleyen tarayıcılarda ışığın konumu CSS scroll-timeline ile, diğerlerinde JS ile sürülür. */

.tf-item {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.tf-item img {
    opacity: 0;
    transform: translate3d(0, 40px, 0) scale(0.985);
    transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tf-item.is-in img {
    opacity: 1;
    transform: none;
}

/* Görsel belirirken üzerinden geçen ışık parlaması */
.tf-item::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(100deg, transparent 35%, rgba(255, 214, 150, 0.16) 50%, transparent 65%);
    transform: translate3d(-110%, 0, 0);
}

.tf-item.is-in::after {
    transform: translate3d(110%, 0, 0);
    transition: transform 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.25s;
}

.tf-rail {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 2;
    pointer-events: none;
    /* Kayan ışık galerinin dışına taşıp sayfayı uzatmasın (clip-path taşmayı kesmez) */
    overflow: hidden;
    overflow: clip;
}

.tf-rail-l { left: -37px; }
.tf-rail-r { right: -37px; }

/* Ekranın ortasını takip eden taşıyıcı (yüksekliği = galeri yüksekliği) */
.tf-runner {
    position: absolute;
    inset: 0;
    will-change: transform;
}

/* Kaydırma ışığı: durağanken görünmez, kaydırma hızıyla JS üzerinden açılır, durunca söner */
.tf-fx {
    position: absolute;
    left: 50%;
    top: 0;
    opacity: 0;
    will-change: opacity;
}

/* Kaydırma yönünde akıp geçen ince ışık çizgileri */
.tf-streaks b {
    position: absolute;
    left: var(--x, 0);
    top: var(--y, 0);
    width: var(--w, 1px);
    height: var(--h, 140px);
    background: linear-gradient(transparent, rgba(255, 210, 80, 0.9) 38%, #fff6c8 50%, rgba(255, 210, 80, 0.9) 62%, transparent);
    opacity: 0;
    animation: tf-streak var(--d, 1.6s) linear var(--dl, 0s) infinite;
    animation-play-state: paused;
}

.tf-streaks b:nth-child(1) { --x: -1px; --y: -38vh; --h: 170px; --w: 2px; --d: 1.7s; }
.tf-streaks b:nth-child(2) { --x: 3px;  --y: -26vh; --h: 110px; --d: 1.3s; --dl: -0.5s; }
.tf-streaks b:nth-child(3) { --x: -4px; --y: -14vh; --h: 200px; --w: 2px; --d: 1.9s; --dl: -1.1s; }
.tf-streaks b:nth-child(4) { --x: 1px;  --y: -2vh;  --h: 130px; --d: 1.5s; --dl: -0.8s; }
.tf-streaks b:nth-child(5) { --x: -2px; --y: 10vh;  --h: 90px;  --d: 1.2s; --dl: -0.3s; }
.tf-streaks b:nth-child(6) { --x: 4px;  --y: 20vh;  --h: 180px; --w: 2px; --d: 1.8s; --dl: -1.4s; }
.tf-streaks b:nth-child(7) { --x: -3px; --y: 30vh;  --h: 120px; --d: 1.4s; --dl: -0.6s; }
.tf-streaks b:nth-child(8) { --x: 0;    --y: -32vh; --h: 80px;  --d: 1.1s; --dl: -0.9s; }

/* Işıkla birlikte savrulan kıvılcımlar */
.tf-embers b {
    position: absolute;
    left: -1.5px;
    top: var(--y, 0);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fff0a8;
    box-shadow: 0 0 4px rgba(255, 225, 110, 0.8);
    opacity: 0;
    animation: tf-ember var(--d, 2.2s) linear var(--dl, 0s) infinite;
    animation-play-state: paused;
}

.tf-embers b:nth-child(1) { --y: -28vh; --dx: 10px; }
.tf-embers b:nth-child(2) { --y: -6vh;  --dx: -12px; --d: 2.6s; --dl: -0.9s; }
.tf-embers b:nth-child(3) { --y: 14vh;  --dx: 8px;   --d: 2s;   --dl: -1.5s; }
.tf-embers b:nth-child(4) { --y: 32vh;  --dx: -7px;  --d: 2.4s; --dl: -0.4s; }

.tf-live .tf-streaks b,
.tf-live .tf-embers b {
    animation-play-state: running;
}

/* Yukarı kaydırırken çizgiler aşağı akar */
.tf-up .tf-streaks b,
.tf-up .tf-embers b {
    animation-direction: reverse;
}

@keyframes tf-streak {
    0%   { opacity: 0; transform: translate3d(0, 18vh, 0); }
    30%  { opacity: 1; }
    70%  { opacity: 1; }
    100% { opacity: 0; transform: translate3d(0, -18vh, 0); }
}

@keyframes tf-ember {
    0%   { opacity: 0; transform: translate3d(0, 40px, 0) scale(1); }
    20%  { opacity: 1; }
    100% { opacity: 0; transform: translate3d(var(--dx, 6px), -120px, 0) scale(0.3); }
}

@keyframes tf-run {
    from { transform: translate3d(0, -50vh, 0); }
    to   { transform: translate3d(0, calc(100% + 50vh), 0); }
}

@supports (animation-timeline: view()) {
    .image-gallery {
        view-timeline: --tf-gal block;
    }

    .tf-runner {
        animation: tf-run linear both;
        animation-timeline: --tf-gal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tf-item img,
    .tf-item.is-in img {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .tf-item::after,
    .tf-rail {
        display: none;
    }
}

.gallery-item-with-video {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.gallery-item-with-video .gallery-image {
    display: block;
    width: 100%;
    height: auto;
}

.gallery-video-overlay {
    position: absolute;
    top: 270px;
    left: 128px;
    width: 73%;
    height: 19%;
    border: none;
}

/* Medya Sorguları - Butonların Büyüyüp Küçülürken Kaymamasını Sağlar */
@media (max-width: 1365px) {
    .m-d-n {
        display: none !important;
    }
}

@media (min-width: 1366px) {
    .f-d-n {
        display: none !important;
    }
}

/* Mobil Alt Menü */
.mobil_menu {
    background: rgba(0, 0, 0, 0.61);
    width: 100%;
    max-width: 100%;
    z-index: 9;
    position: fixed;
    bottom: 0px;
}

.mobil_menu ul {
    width: 100%;
    list-style: none;
    margin: 0 !important;
    padding: 10px 20px !important;
    display: flex;
    justify-content: space-around;
}

.mobil_menu ul li {
    width: 50%;
    text-align: center;
}

/* Discord Pop-up Stil Kodları */
.popup-container {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 9999 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease-in-out !important;
}

.popup-container.show {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.popup-content {
    background: linear-gradient(135deg, #2c2f33, #23272a) !important;
    color: #e3e3e3 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    position: relative !important;
    width: 90% !important;
    max-width: 650px !important;
    overflow: hidden !important;
    transform: scale(0.8) !important;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important;
    
    /* Mobil Uyum İçin Eklenen Kod */
    max-height: 90vh !important;
    overflow-y: auto !important;
}


.popup-container.show .popup-content {
    transform: scale(1) !important;
}

.close-btn {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    font-size: 24px !important;
    color: #99aab5 !important;
    transition: color 0.3s !important;
}

.close-btn:hover {
    color: #ffffff !important;
}

.close-btn img {
    width: 24px !important;
    height: 24px !important;
}

.header-image-container {
    width: 100% !important;
    max-height: 200px !important;
    overflow: hidden !important;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

.header-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.content-wrapper {
    padding: 25px 35px !important;
}

.content-wrapper h2 {
    color: #7289da !important;
    text-align: center !important;
    font-size: 26px !important;
    margin-bottom: 25px !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.solution-section {
    background-color: #2f3136 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
}

.solution-section h3 {
    color: #4da6ff !important;
    font-size: 18px !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: center !important;
}

.solution-section h3 i {
    margin-right: 10px !important;
    color: #7289da !important;
}

.solution-section p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #b9bbbe !important;
}

.solution-section ul {
    list-style-type: none !important;
    padding: 0 !important;
    margin-top: 15px !important;
}

.solution-section li {
    font-size: 14px !important;
    line-height: 1.8 !important;
    color: #b9bbbe !important;
    position: relative !important;
    padding-left: 25px !important;
}

.solution-section li::before {
    content: "•" !important;
    color: #7289da !important;
    font-weight: bold !important;
    display: inline-block !important;
    width: 1em !important;
    margin-left: -1em !important;
    position: absolute !important;
    left: 0 !important;
}

.solution-section a {
    color: #4da6ff !important;
    text-decoration: none !important;
    border-bottom: 1px dashed #4da6ff !important;
    transition: color 0.3s !important;
}

.solution-section a:hover {
    color: #ffffff !important;
    border-bottom-style: solid !important;
}

.discord-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #7289da !important;
    color: #ffffff !important;
    padding: 12px 25px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: bold !important;
    transition: background-color 0.3s, transform 0.3s !important;
    margin: 25px 35px !important;
}

.discord-button:hover {
    background-color: #677bc4 !important;
    transform: translateY(-2px) !important;
}

.discord-button img {
    width: 28px !important;
    height: 28px !important;
    margin-right: 12px !important;
}