body {
    margin: 0;
    font-family: "Trebuchet MS", serif;
    background: url("../images/parallax.jpg") no-repeat center fixed;
    background-size: cover;
    color: #f5e6d3;
}

canvas#snow {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(30,15,10,0.95);
    padding: 10px 40px;
    border-bottom: 2px solid #7b1e1e;
}

.nav-logo img {
    height: 60px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #e6c78c;
    text-decoration: none;
    font-size: 18px;
}

.nav-links a:hover {
    color: #b22222;
}

.social-bar {
    position: fixed;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 10, 5, 0.85);
    border: 2px solid #7b1e1e;
    border-radius: 12px;
    padding: 10px 8px;
    z-index: 50;
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
}

.social-bar a {
    display: block;
    margin: 8px 0;
    text-align: center;
}

.social-bar img {
    width: 34px;
    height: 34px;
    opacity: 0.9;
    transition: all 0.3s ease;

    /* ALTIN SARISI RENK */
    filter: 
        brightness(1.1)
        sepia(1)
        hue-rotate(10deg)
        saturate(4)
        drop-shadow(0 0 6px rgba(255, 200, 80, 0.8));
}


/* Hover efekti */
.social-bar img:hover {
    transform: scale(1.15);
    filter:
        brightness(1.3)
        sepia(1)
        hue-rotate(10deg)
        saturate(5)
        drop-shadow(0 0 12px rgba(255, 220, 120, 1));
}


/* COUNTDOWN */
.countdown-section {
    text-align: center;
    margin: 60px 0;
}

.countdown-frame {
    display: inline-block;
    padding: 30px;
    background: rgba(50,25,15,0.9);
    border: 4px solid #7b1e1e;
    box-shadow: 0 0 20px black;
}

#countdown {
    font-size: 26px;
    color: #ffd700;
    margin: 10px 0;
}

/* VIDEO */
.videos iframe {
    width: 80%;
    height: 400px;
    display: block;
    margin: auto;
    border: 4px solid #7b1e1e;
}

/* CONTENT */
.content {
    width: 85%;
    margin: auto;
}

.box {
    display: flex;
    align-items: center;
    gap: 300px;
    margin: 90px 0;

    /* PANEL */
    background: rgba(20, 10, 5, 0.85);
    border: 2px solid #7b1e1e;
    border-radius: 14px;
    padding: 25px 30px;

    box-shadow:
        0 0 20px rgba(0,0,0,0.9),
        inset 0 0 25px rgba(255,200,120,0.08);

    backdrop-filter: blur(2px);

    opacity: 0;
    transition: all 1.4s ease;
    position: relative;

	z-index: 0;


}

/* ORTAK RUNE */
.box .rune {
    position: absolute;
    width: 32px;
    height: 32px;
    background: url("../icons/rune.png") no-repeat center;
    background-size: contain;
    filter: drop-shadow(0 0 6px rgba(255,200,120,0.9));
    opacity: 0.9;
}
/* KÖŞELER */
.box .rune.tl { top: -14px; left: -14px; transform: rotate(-90deg);}
.box .rune.tr { top: -14px; right: -14px; transform: rotate(0deg); }
.box .rune.bl { bottom: -14px; left: -14px; transform: rotate(-180deg); }
.box .rune.br { bottom: -14px; right: -14px; transform: rotate(-260deg); }

body.night-mode .box .rune {
    filter:
        drop-shadow(0 0 8px rgba(120,170,255,1))
        hue-rotate(200deg);
}

@keyframes runePulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.box .rune {
    animation: runePulse 4s ease-in-out infinite;
}


.box::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,200,120,0.15),
        transparent
    );
    opacity: 0.6;
    pointer-events: none;
}

.box::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 200px;
    height: 60px;
    background: radial-gradient(
        ellipse,
        rgba(200,200,200,0.25),
        transparent 70%
    );
    transform: translateX(-50%);
    filter: blur(14px);
    opacity: 0.5;
}

body.night-mode .box {
    border-color: rgba(120,170,255,0.6);
    box-shadow:
        0 0 25px rgba(80,120,255,0.5),
        inset 0 0 25px rgba(80,120,255,0.12);
}


.box img {
    width: 55%;
    border: 3px solid #7b1e1e;
	height : 50%;

}

.box.left { transform: translateX(-150px); text-align: LEFT;}
.box.right { transform: translateX(150px); text-align: RIGHT;}

.box.show {
    opacity: 1;
    transform: translateX(0);
}

/* FOOTER */
.snow-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(30,15,10,0.95);
    text-align: center;
    padding: 10px;
    border-top: 2px solid #7b1e1e;
}

/* MOBİL */
@media(max-width: 768px) {
    .box {
        flex-direction: column;
    }
    .nav-links {
        gap: 15px;
    }
    .videos iframe {
        width: 95%;
        height: 250px;
    }
    .social-bar {
        left: 5px;
        padding: 6px 4px;
    }

    .social-bar img {
        width: 28px;
        height: 28px;
    }

    .box {
        flex-direction: column;
        text-align: center;
    }

    .box img {
        width: 100%;
    }
	
    .boss-portraits {
        justify-content: center;
    }
}

* {
    scroll-behavior: auto;
}

.parallax-bg {
    will-change: transform;
    transform: translateZ(0);
}

#parallax-bg {
    position: fixed;
    top: -5%;
    left: 0%;
    width: 110%;
    height: 110%;
    background: url("../images/parallax.jpg") no-repeat center;
    background-size: cover;
    z-index: -4;
    will-change: transform;
    image-rendering: auto;
    /* BLUR YOK */
    filter: brightness(1) contrast(1);
}


/* Hafif blur + vignette */
#parallax-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(0,0,0,0) 40%,
        rgba(0,0,0,0.45) 100%
    );
}

#bg-overlay {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;

    /* SOFT BLUR HİSSİ */
    backdrop-filter: blur(2px);
    background: radial-gradient(
        ellipse at center,
        rgba(0,0,0,0.15),
        rgba(0,0,0,0.45)
    );
}


/* GÜNDÜZ */
.day {
    filter: brightness(1) blur(1.5px);
}

/* GECE */
.night {
    filter: brightness(0.7) contrast(1.1) blur(2px);
}

#sky-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}

/* 🌙 AY */
#moon {
    position: absolute;
    top: 8%;
    right: 12%;
    width: 180px;
    height: 180px;
    background: url("../images/moon.png") no-repeat center;
    background-size: contain;
    opacity: 0;
    filter: drop-shadow(0 0 30px rgba(180,200,255,0.8))
            drop-shadow(0 0 60px rgba(120,150,255,0.6));
    transition: opacity 3s ease, transform 6s ease;
}

@keyframes moonFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

body.night-mode #moon {
    opacity: 1;
    animation: moonFloat 12s ease-in-out infinite;
}

/* 🌞 GÜNEŞ IŞIĞI */
#sun {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at top left,
        rgba(255,240,200,0.45),
        rgba(255,240,200,0.15) 35%,
        transparent 65%);
    opacity: 0;
    transition: opacity 3s ease;
}

/* GECE MODU */
body.night-mode #moon {
    opacity: 1;
}

body.night-mode #sun {
    opacity: 0;
}

/* GÜNDÜZ MODU */
body.day-mode #sun {
    opacity: 1;
}

body.day-mode #moon {
    opacity: 0;
}

.characters {
    position: relative;
    margin: 150px auto;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 60px;
    text-align: center;
}

.character {
    opacity: 0;
    transform: scale(0.9);
    transition: all 1.4s ease;
    position: relative;
}

.character img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 25px rgba(255,200,120,0.6))
        drop-shadow(0 0 60px rgba(120,80,40,0.6));
}

.character span {
    display: block;
    margin-top: 15px;
    font-size: 20px;
    color: #f5c77a;
    text-shadow: 0 0 8px rgba(255,200,120,0.8);
}

/* GİRİŞ YÖNLERİ */
.from-left {
    transform: translateX(-160px) scale(0.9);
}

.from-right {
    transform: translateX(160px) scale(0.9);
}

.from-bottom {
    transform: translateY(160px) scale(0.9);
}

/* GÖRÜNÜR OLUNCA */
.character.show {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* === SİS EFEKTİ === */
.character::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    width: 160px;
    height: 80px;
    background: radial-gradient(
        ellipse at center,
        rgba(200,200,200,0.35),
        rgba(200,200,200,0.15) 40%,
        transparent 70%
    );
    transform: translateX(-50%);
    opacity: 0;
    filter: blur(12px);
    transition: opacity 1.5s ease;
}

/* === IŞIK PATLAMASI === */
.character::before {
    content: "";
    position: absolute;
    inset: -30px;
    background: radial-gradient(
        circle,
        rgba(255,220,150,0.45),
        transparent 70%
    );
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* === GÖRÜNÜR OLUNCA === */
.character.show::after {
    opacity: 1;
    animation: fogMove 6s ease-in-out infinite;
}

.character.show::before {
    opacity: 1;
    transform: scale(1.1);
}

/* === SİS HAREKETİ === */
@keyframes fogMove {
    0% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-45%) translateY(-8px); }
    100% { transform: translateX(-50%) translateY(0); }
}

/* === NEFES ALMA (HOVER) === */
@keyframes breathe {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.character:hover {
    animation: breathe 2.5s ease-in-out infinite;
}

body.night-mode .character img {
    filter:
        drop-shadow(0 0 25px rgba(120,170,255,0.8))
        drop-shadow(0 0 60px rgba(80,120,255,0.6));
}

body.night-mode .character::before {
    background: radial-gradient(
        circle,
        rgba(120,160,255,0.45),
        transparent 70%
    );
}

.character.flash-done::before {
    opacity: 0.25;
}

#loading-screen {
    position: fixed;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(20,10,5,0.98),
        rgba(0,0,0,1)
    );
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-box {
    text-align: center;
    padding: 40px 50px;
    border: 3px solid #7b1e1e;
    background: rgba(20,10,5,0.9);
    box-shadow: 0 0 40px rgba(0,0,0,1);
}

.loading-logo {
    width: 220px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255,200,120,0.8));
}

.loading-text {
    color: #f5c77a;
    margin-bottom: 20px;
    font-size: 20px;
}

.loading-bar {
    width: 320px;
    height: 18px;
    background: rgba(0,0,0,0.6);
    border: 2px solid #7b1e1e;
    margin: auto;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(
        90deg,
        #8b5a2b,
        #f5c77a,
        #8b5a2b
    );
    box-shadow: 0 0 12px rgba(255,200,120,0.9);
    transition: width 0.3s ease;
}

.loading-percent {
    margin-top: 10px;
    color: #ffd700;
    font-size: 18px;
}

body.night-mode #loading-screen {
    background: radial-gradient(
        circle at center,
        rgba(10,15,30,0.98),
        rgba(0,0,0,1)
    );
}

body.night-mode .loading-logo {
    filter: drop-shadow(0 0 18px rgba(120,170,255,0.9));
}

body.night-mode .loading-progress {
    background: linear-gradient(
        90deg,
        #3a5a9f,
        #9ecbff,
        #3a5a9f
    );
}
.boss-portraits {
    display: flex !important;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: flex-start;
    align-items: flex-start;
	position: relative;
    z-index: 3;
}
/* ORTAK */
/* BOX GENEL AYAR */
.box.auto-fit {
    display: grid;
    align-items: center;
    gap: 0px; /* Sol-Yazı ile Resim arasındaki boşluk */
    padding: -100px; /* Panel içindeki genel boşluk */
}

/* LEFT PANEL */
.box.left.auto-fit {
    grid-template-columns: auto 1fr; /* Resim solda, yazı sağda */
}

/* RIGHT PANEL */
.box.right.auto-fit {
    grid-template-columns: 1fr auto; /* Yazı solda, resim sağda */
}

/* YAZI ALANI */
.box-text {
    padding: 10px; /* Yazının kenarlardan içe boşluğu */
}

/* UL-LI ARASI DENGE */
.box-text ul {
    margin: 0;
    padding-left: 20px; /* Madde işaretleri için boşluk */
    line-height: 1.6;  /* Satırlar arası mesafe */
}

.boss-card {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    width: 98px;
	position: relative;
    z-index: 3;
}

/* PORTRE RESMİ */
.boss-card img {
    width: 98px;
    height: 98px;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    z-index: 4;
}

/* ALTIN ÇERÇEVE */
.boss-card::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 12px;
    background: linear-gradient(
        45deg,
        #8b5a2b,
        #f5c77a,
        #8b5a2b
    );
    z-index: 3;
    box-shadow:
        0 0 12px rgba(255,200,120,0.9),
        inset 0 0 10px rgba(0,0,0,0.8);
}

/* ALEV GLOW */
.boss-card::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 16px;
    background: radial-gradient(
        circle,
        rgba(255,120,40,0.6),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* HOVER */
.boss-card:hover::after {
    opacity: 1;
}

.boss-card:hover img {
    transform: scale(1.05);
}

/* İSİM */
.boss-card span {
    display: block;
    margin-top: 6px;
    text-shadow: 0 0 6px rgba(255,200,120,0.8);
	z-index : 5;
}
body.night-mode .boss-card::before {
    background: linear-gradient(
        45deg,
        #3a5a9f,
        #9ecbff,
        #3a5a9f
    );
}

body.night-mode .boss-card::after {
    background: radial-gradient(
        circle,
        rgba(120,170,255,0.6),
        transparent 70%
    );
}

.item-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 30px;
}


.item-card {
  width: 80px;
  height: 80px;
  position: relative;
}

.item-card-ic {
  width: 80px;
  height: 80px;
  position: relative;
}

.item-card-ic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 0 12px rgba(255,200,120,0.8));
}

.item-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 0 12px rgba(255,200,120,0.8));
}

.arrow {
  font-size: 32px;
  color: #f5c77a;
  text-shadow: 0 0 10px rgba(255,200,120,0.9);
}

.char-detail {
  display: none;
  margin-top: 80px;
  padding: 30px;
  background: rgba(20,10,5,0.85);
  border: 2px solid #7b1e1e;
  border-radius: 14px;
}

/* .char-detail { */
  /* display: none; */
  /* margin: 120px auto; */
  /* width: 85%; */
/* } */

/* p, li { */
    /* font-family: 'Poppins', sans-serif; */
    /* font-weight: 400; */
    /* line-height: 1.7; */
/* } */

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}


	
p, li {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.7;
	background: linear-gradient(#f5f5f5, #b5b5b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}