*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--fg: #f0cfa0;
	--fg-dim: rgba(240, 207, 160, 0.55);
	--fg-hud: rgba(240, 207, 160, 0.7);
	--fg-dot: rgba(240, 207, 160, 0.3);
	--fg-dotact: rgba(240, 207, 160, 0.9);
	--bg: #0a0a0f;
	--accent: #a0b4ff;
	--scrim: 0.18;
}

html {
	scroll-behavior: auto;
}

body {
	background: var(--bg);
	color: var(--fg);
	font-family: "Space Grotesk", sans-serif;
	overflow-x: hidden;
	cursor: crosshair;
}

#webgl_canvas {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	display: block;
}

#hud {
	position: fixed;
	inset: 0;
	z-index: 10;
	pointer-events: none;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 1.5rem 2rem;
}

#hud-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

#hud-bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.mono {
	font-family: "Space Mono", monospace;
}

#scene_name {
	font-family: "Space Mono", monospace;
	font-size: clamp(0.65rem, 1.5vw, 0.78rem);
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--fg-hud);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
	transition: color 1.2s ease;
}

#hud_pct {
	font-family: "Space Mono", monospace;
	font-size: clamp(0.65rem, 1.5vw, 0.78rem);
	letter-spacing: 0.12em;
	color: var(--fg-hud);
	opacity: 0.65;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
	transition: color 1.2s ease;
}

#prog_bar {
	width: 120px;
	height: 2px;
	background: rgba(255, 255, 255, 0.15);
	position: relative;
	overflow: hidden;
	border-radius: 2px;
}
#prog_fill {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	background: var(--fg-hud);
	opacity: 0.7;
	width: 0%;
	transition: width 80ms linear, background 1.2s ease;
}

/* Scene dots */
#scene_dots {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	position: fixed;
	right: 1.75rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	pointer-events: none;
}

.scene-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--fg-dot);
	transition: background 0.4s, transform 0.3s;
}

.scene-dot.active {
	background: var(--fg-dotact);
	transform: scale(1.5);
}

#scroll_track {
	position: relative;
	z-index: 5;
	pointer-events: none;
}

.scene-section {
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 0 2.5rem 4.5rem;
	pointer-events: none;
	position: relative;
}

.scene-section::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 8, var(--scrim, 0.18)) 0%,
		rgba(0, 0, 8, calc(var(--scrim, 0.18) * 0.4)) 40%,
		transparent 70%
	);
	pointer-events: none;
	z-index: 0;
	transition: --scrim 0.5s;
}

.scene-section > * {
	position: relative;
	z-index: 1;
}

.scene-title {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: clamp(2.8rem, 8vw, 6.5rem);
	line-height: 0.95;
	color: var(--fg);
	text-shadow: 0 2px 40px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.9);
	letter-spacing: -0.02em;
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s ease, transform 0.7s ease, color 1.2s ease;
}

.scene-title.visible {
	opacity: 1;
	transform: none;
}

.scene-desc {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 300;
	font-size: clamp(0.88rem, 2vw, 1.1rem);
	color: var(--fg);
	opacity: 0;
	max-width: 420px;
	margin-top: 0.75rem;
	line-height: 1.55;
	text-shadow: 0 1px 16px rgba(0, 0, 0, 0.85), 0 0px 4px rgba(0, 0, 0, 0.7);
	transform: translateY(10px);
	transition: opacity 0.7s ease 0.12s, transform 0.7s ease 0.12s, color 1.2s ease;
}

.scene-desc.visible {
	opacity: 0.88;
	transform: none;
}

.h-line {
	width: 36px;
	height: 1px;
	background: var(--fg);
	opacity: 0;
	margin-bottom: 1rem;
	transition: opacity 0.6s ease 0.05s, background 1.2s ease;
}

.h-line.visible {
	opacity: 0.4;
	width: 36px;
}

.scene-label {
	font-family: "Space Mono", monospace;
	font-size: clamp(0.58rem, 1.2vw, 0.72rem);
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--fg);
	opacity: 0.45;
	margin-bottom: 0.5rem;
	transition: color 1.2s ease;
}

  #lzAramaSarmalayici {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 14px;
    z-index: 9999;
    pointer-events: none;
  }
  .lz-arama-kutusu {
    max-width: 340px;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    pointer-events: auto;
    background: rgba(10, 10, 10, 0.22);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
  }
  .lz-arama-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .lz-input-satiri {
    display: flex;
    gap: 6px;
  }
  .lz-input {
    flex: 1;
    padding: 8px 10px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
  }
  .lz-buton-ara {
    padding: 6px 14px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
  }
  .lz-buton-ara:hover {
    background: #fff;
  }
  .lz-karakter-satiri {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
  }
  .lz-karakter {
    min-width: 30px;
    padding: 4px 8px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    line-height: 1.2;
  }
  .lz-karakter:hover {
    background: rgba(255, 255, 255, 0.25);
  }
  .lz-karakter:active {
    background: rgba(255, 255, 255, 0.35);
  }
  .lz-ust-yazi {
  pointer-events: none;
  color: #fff;
  text-align: right;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  margin-bottom: 6px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* --- Fon Müziği (bunu karadeniz_ara.css dosyasının sonuna ekle) --- */
.lz-muzik-satiri{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:0.6rem;
  margin-top:0.5rem;
  padding-top:0.4rem;
  border-top:1px solid rgba(255,255,255,0.08);
  overflow:hidden;
}

.lz-muzik-metin{
  flex:1;
  overflow:hidden;
  white-space:nowrap;
  position:relative;
  height:1.2em;
}

#lzMuzikMetinIc{
  display:inline-block;
  white-space:nowrap;
  font-size:0.75rem;
  opacity:0.75;
  will-change:transform;
}

/* Kayan yazı animasyonu sadece çalarken aktif */
.lz-muzik-satiri.lz-caliyor #lzMuzikMetinIc{
  padding-left:100%;
  animation:lzKaydir 12s linear infinite;
}

@keyframes lzKaydir{
  0%   { transform:translateX(0); }
  100% { transform:translateX(-100%); }
}

.lz-muzik-buton{
  flex-shrink:0;
  width:28px;
  height:28px;
  border:none;
  border-radius:50%;
  background:transparent;
  color:inherit;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  opacity:0.85;
  transition:opacity .2s ease, background .2s ease;
}

.lz-muzik-buton:hover{
  opacity:1;
  background:rgba(255,255,255,0.08);
}

/* Kapalıyken ses dalgaları gizli, çarpı görünür */
.lz-ses-dalga{ opacity:0; transition:opacity .2s ease; }
.lz-carpi{ opacity:1; transition:opacity .2s ease; }

/* Çalarken çarpı gizlenir, dalgalar görünür */
.lz-muzik-buton.lz-acik .lz-ses-dalga{ opacity:1; }
.lz-muzik-buton.lz-acik .lz-carpi{ opacity:0; }

.lz-muzik-listesi{
  list-style:none;
  margin:0.4rem 0 0 0;
  padding:0;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height .25s ease, opacity .2s ease;
}

/* Çalarken liste açılır */
.lz-muzik-satiri.lz-caliyor ~ .lz-muzik-listesi{
  max-height:200px;
  opacity:1;
  overflow-y:auto;
}

.lz-muzik-listesi li{
  font-size:0.75rem;
  opacity:0.6;
  padding:0.2rem 0.1rem;
  cursor:pointer;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  transition:opacity .15s ease, color .15s ease;
}

.lz-muzik-listesi li:hover{
  opacity:0.9;
}

.lz-muzik-listesi li.lz-parca-aktif{
  opacity:1;
  font-weight:bold;
}

.lz-info-satiri{
  margin-top:0.4rem;
}

.lz-info-metin{
  opacity:0.75;
  pointer-events: none;
  text-align: right;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  margin-bottom: 6px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);

}
