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

/* ══ GİRİŞ EKRANI ══ */
.entry {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  cursor: pointer;
  transition: opacity 0.5s ease;
}

.entry.fade {
  opacity: 0;
  pointer-events: none;
}

.entry-name {
  font-family: 'Space Mono', monospace;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.entry-hint {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  color: #333;
  letter-spacing: 0.2em;
  animation: blink 1.4s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ══ KAYAN ALT BANT (GÖRSEL ŞERİT - TICKER BANNER) ══ */
.ticker-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid #111;
  z-index: 100;
  padding: 12px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.ticker-wrap.show {
  opacity: 1;
  pointer-events: auto;
}

.ticker {
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
  animation: marquee 32s linear 1 forwards; /* Geniş görseller için 32 saniye sakin akış */
}

.ticker-img {
  height: 180px;
  width: auto;
  object-fit: cover;
  border-radius: 6px;
  filter: grayscale(15%) contrast(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  flex-shrink: 0;
}

@keyframes marquee {
  0%   { transform: translateX(100vw); }  /* Ekranın en sağından (dışarıdan) başla */
  100% { transform: translateX(-100%); }   /* Ekranın en solundan (dışarıya) tamamen çık */
}

body {
  background: #000;
  color: #ccc;
  font-family: 'Space Mono', monospace;
  min-height: 100vh;
}

/* ══ SAYFA ══ */
.page {
  max-width: 420px;
  margin: 0 auto;
  padding: 80px 24px 80px;
}

.name {
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 0.72rem;
  color: #333;
  margin-top: 4px;
  margin-bottom: 44px;
}

/* ══ LİNKLER — yatay ══ */
.links {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: #111;
  border: 1px solid #1c1c1c;
  border-radius: 4px;
  text-decoration: none;
  color: #555;
  font-size: 0.73rem;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}

.link-card:hover {
  color: #bbb;
  border-color: #2e2e2e;
  background: #161616;
}

.lc-icon { width: 14px; height: 14px; opacity: 0.7; flex-shrink: 0; }
.lc-logo { width: 14px; height: 14px; opacity: 0.8; flex-shrink: 0; border-radius: 3px; filter: grayscale(50%); transition: filter 0.2s; }
.link-card:hover .lc-logo { filter: grayscale(0%); }

/* ══ MİNİ PLAYER ══ */
.mini-player {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.mini-player button {
  background: none;
  border: none;
  color: #777;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s, transform 0.15s ease;
  padding: 4px;
}

.mini-player button:hover {
  color: #fff;
  transform: scale(1.1);
}

.mini-player button:active {
  transform: scale(0.9);
}

/* ══ İLETİŞİM ══ */
.contact {
  font-size: 0.68rem;
  margin-bottom: 28px;
}

.contact a { color: #333; text-decoration: none; }
.contact a:hover { color: #666; }

/* ══ PLAYER — sayfa akışında ══ */
.win {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}

.win.hidden { display: none; }

/* başlık çubuğu */
.win-bar {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: #141414;
  border-bottom: 1px solid #1a1a1a;
}

.win-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  cursor: pointer;
  transition: color 0.15s;
}

.win-close:hover {
  color: rgba(255, 255, 255, 0.6);
}

.win-title {
  font-size: 0.6rem;
  color: #444;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  text-align: center; /* şarkı adını ortala */
  padding-right: 15px; /* X butonunun genişliği kadar dengele */
}

/* jukebox wrap */
.jukebox-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.jb-record {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    #111,
    #111 3px,
    #181818 4px,
    #111 5px
  );
  border: 2px solid #050505;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.9);
  animation: spin 2.5s linear infinite;
  animation-play-state: paused;
}

.jb-record.playing {
  animation-play-state: running;
}

.jb-center {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #622;
  border: 3px solid #0a0a0a;
  position: relative;
}

.jb-center::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #e0e0e0;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* ilerleme (sadece mouse ile üzerine gelince görünür) */
.w-prog {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #141414;
  border-top: 1px solid #1a1a1a;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 12px;
  transition: max-height 0.25s ease, opacity 0.25s ease, padding 0.25s ease;
}

.win:hover .w-prog {
  max-height: 40px;
  opacity: 1;
  padding: 7px 12px;
}

.w-t {
  font-size: 0.54rem;
  color: #363636;
  min-width: 28px;
}

#prog {
  flex: 1;
  -webkit-appearance: none;
  height: 2px;
  background: #222;
  border-radius: 1px;
  outline: none;
  cursor: pointer;
}

#prog::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #aaa;
  cursor: pointer;
}

/* kontroller */
.w-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #141414;
  border-top: 1px solid #1a1a1a;
}

.w-btns {
  display: flex;
  align-items: center;
  gap: 2px;
}

.w-ctrl button {
  background: none;
  border: none;
  color: #444;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 3px;
  transition: color 0.12s;
  line-height: 1;
}

.w-ctrl button:hover { color: #ccc; }
#b-play { color: #999; font-size: 0.95rem; }

/* ekolayzer */
.eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.eq .bar {
  width: 2px;
  height: 2px;
  background: #ccc;
  border-radius: 1px;
  opacity: 0.12;
}

.eq.on .bar { opacity: 0.55; }
.eq.on .bar:nth-child(1) { animation: eq 0.55s ease-in-out          infinite alternate; }
.eq.on .bar:nth-child(2) { animation: eq 0.38s ease-in-out 0.08s    infinite alternate; }
.eq.on .bar:nth-child(3) { animation: eq 0.65s ease-in-out 0.03s    infinite alternate; }
.eq.on .bar:nth-child(4) { animation: eq 0.42s ease-in-out 0.12s    infinite alternate; }
.eq.on .bar:nth-child(5) { animation: eq 0.50s ease-in-out 0.06s    infinite alternate; }

@keyframes eq {
  from { height: 2px; }
  to   { height: 12px; }
}

/* ses */
.w-vol {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

#vol {
  -webkit-appearance: none;
  width: 50px;
  height: 2px;
  background: #222;
  border-radius: 1px;
  outline: none;
  cursor: pointer;
}

#vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #666;
  cursor: pointer;
}

/* ══ REOPEN BUTONU ══ */
.reopen-btn {
  margin-top: 12px;
  background: none;
  border: 1px solid #1c1c1c;
  border-radius: 4px;
  color: #444;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  padding: 7px 12px;
  cursor: pointer;
  transition: color 0.12s, border-color 0.12s;
}

.reopen-btn:hover { color: #aaa; border-color: #333; }

/* ══ HEXAGON ROTATING PHOTO CAROUSEL ══ */
.hexa-scene {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  height: 250px;
  perspective: 1000px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-scene {
  left: 6%;
}

.right-scene {
  right: 6%;
}

.hexa-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: spinHexa 16s linear infinite;
}

/* Ters yönde dönme efekti sağ taraf için */
.right-scene .hexa-carousel {
  animation: spinHexaOpposite 16s linear infinite;
}

@keyframes spinHexa {
  from { transform: rotateX(-12deg) rotateY(0deg); }
  to   { transform: rotateX(-12deg) rotateY(360deg); }
}

@keyframes spinHexaOpposite {
  from { transform: rotateX(-12deg) rotateY(360deg); }
  to   { transform: rotateX(-12deg) rotateY(0deg); }
}

.hexa-item {
  position: absolute;
  width: 140px;
  height: 170px;
  left: 55px; /* (250 - 140) / 2 */
  top: 40px;  /* (250 - 170) / 2 */
  background: none;
  border: none;
  padding: 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.85);
  backface-visibility: visible;
  transition: transform 0.3s;
}

.hexa-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(40%) contrast(1.1);
  transition: filter 0.3s;
}

.hexa-item:hover img {
  filter: grayscale(0%) contrast(1.1);
}

/* Polaroid bottom bar style removed */

/* 6 Faces Positioning with expanded radius (140px translateZ) */
.hexa-item:nth-child(1) { transform: rotateY(0deg) translateZ(140px); }
.hexa-item:nth-child(2) { transform: rotateY(60deg) translateZ(140px); }
.hexa-item:nth-child(3) { transform: rotateY(120deg) translateZ(140px); }
.hexa-item:nth-child(4) { transform: rotateY(180deg) translateZ(140px); }
.hexa-item:nth-child(5) { transform: rotateY(240deg) translateZ(140px); }
.hexa-item:nth-child(6) { transform: rotateY(300deg) translateZ(140px); }

/* Hide on mobile/tablets to avoid overlapping */
@media (max-width: 980px) {
  .hexa-scene {
    display: none;
  }
}

/* ══ İLETİŞİM KUTUSU ══ */
.contact-box-container {
  margin-top: 32px;
  text-align: center;
  font-family: 'Space Mono', monospace;
  position: relative;
  z-index: 60;
}

.contact-toggle {
  background: none;
  border: none;
  color: #444;
  font-size: 0.68rem;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.12s;
  padding: 6px 12px;
  border-radius: 4px;
}

.contact-toggle:hover {
  color: #aaa;
}

.contact-form-wrap {
  margin-top: 14px;
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 6px;
  padding: 14px;
  text-align: left;
  animation: slideDown 0.25s ease-out;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.contact-form-wrap.hidden {
  display: none;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.contact-form-wrap form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form-wrap input,
.contact-form-wrap textarea {
  background: #0a0a0a;
  border: 1px solid #1c1c1c;
  border-radius: 4px;
  color: #ccc;
  font-family: inherit;
  font-size: 0.68rem;
  padding: 9px;
  outline: none;
  width: 100%;
  transition: border-color 0.15s, background 0.15s;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  border-color: #3a3a3a;
  background: #0d0d0d;
}

.c-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.contact-form-wrap button[type="submit"] {
  background: none;
  border: 1px solid #1c1c1c;
  border-radius: 4px;
  color: #555;
  font-family: inherit;
  font-size: 0.68rem;
  padding: 6px 14px;
  cursor: pointer;
  transition: color 0.12s, border-color 0.12s;
}

.contact-form-wrap button[type="submit"]:hover {
  color: #ccc;
  border-color: #333;
}

.c-status {
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 0.02em;
}

