

/* --- Linkler --- */
a{ color:#000080; text-decoration:underline; }
a:hover{ color:#ff0000; }
a:visited{ color:#551a8b; }

/* --- Arka plan & tipografi --- */
html,body{
  height:100%;
  margin:0;
  background:#000 url('../images/bg_lain.jpg') center/cover fixed no-repeat;
  font-family: 'VT323', monospace;
    font-size: 18px; /* Press Start 2P kullanıyorsan 10–12px yap */
  color:#000;
}

/* Yardımcılar */
p{ margin:0 0 10px; }
hr{ border:0; border-top:1px solid #808080; }
img{ max-width:100%; height:auto; }

/* ================= Konteyner (Win98 pencere) ================ */
#container{
  margin:24px auto;
  width:90%;
  max-width:700px;

  /* Win98 pencere kutusu */
  background:#c0c0c0;             /* opak gri */
  color:#000;
  border:2px solid #000;           /* dış siyah çizgi */
  box-shadow:
    0 0 0 2px #808080 inset,       /* koyu iç hat */
    0 0 0 3px #ffffff inset;       /* açık iç hat */
}

/* Başlık çubuğu (mavi) */
#header{
  background: linear-gradient(#0a36a3, #05296f);
  color:#fff;
  padding:4px 8px;
  border-bottom:1px solid #000;
}
.top-banner{ display:flex; align-items:center; gap:8px; }
.site-logo{ width:36px; height:36px; image-rendering:pixelated; }
.site-title{ margin:0; font-weight:bold; font-size:14px; }
.site-sub{ margin-left:auto; font-size:11px; opacity:.9; }

/* İçerik paneli (raised panel) */
#content{
  padding:12px 16px 16px;
  background:#dcdcdc;
  border-top:1px solid #fff;
  border-left:1px solid #fff;
  border-right:1px solid #808080;
  border-bottom:1px solid #808080;
}

/* Başlıklar (retro yeşil kalabilir istersen) */
h1,h2,h3{ margin:8px 0; }
h1{ font-size:18px; color:#007f00; } /* Lain vibesi için yeşil başlık */
h2{ font-size:18px; }
h3{ font-size:18px; }

/* Alt bilgi */
#footer{
  padding:10px 16px 14px;
  background:#c0c0c0;
  border-top:1px solid #808080;
}

/* ================= Hobiler kutusu (.box) ================= */
.box{
  background:#dcdcdc;
  border:2px solid #000;
  box-shadow:0 0 0 2px #808080 inset, 0 0 0 3px #fff inset;
  padding:10px 12px;
  width:260px;
}
.box ul{ margin:0; padding-left:18px; }
.box li{ margin:4px 0; }

/* ================ Win98 Pencere Kalıbı ================= */
.retro-win{
  background:#c0c0c0;
  border:2px solid #000;
  box-shadow:0 0 0 2px #808080 inset, 0 0 0 3px #fff inset;
  color:#000;
}
.win-bar{
  display:flex; align-items:center; gap:6px;
  height:20px; padding:3px 6px;
  background:linear-gradient(#0a36a3,#05296f);
  color:#fff; font-weight:bold;
  border-bottom:1px solid #000;
}
.win-title{ flex:1; font-size:18px; }
.win-btn{
  width:18px; height:16px; font-size:11px; line-height:14px;
  background:#dcdcdc; color:#000; cursor:pointer;
  border:2px outset #fff;
}
.win-btn:active{ border:2px inset #fff; }
.win-body{ padding:8px; background:#dcdcdc; }

/* ================= Sol Panel + Sağ Şerit ================= */
.side-box,
.right-rail{
  position:fixed !important; /* scroll’da sabit */
  z-index:50;
  background:transparent;    /* dış zemin yok, altındaki pencereler görünecek */
  border:none; box-shadow:none;
}

/* Sol panel (nav + guestbook) */
.side-box{ top:120px; left:40px; width:280px; display:flex; flex-direction:column; gap:10px; }
.side-box ul{ margin:0; padding-left:18px; }
.side-box li{ margin:4px 0; }

/* Guestbook iframe sabit yükseklik */
.side-box iframe{ width:100%; height:280px; border:0; background:#fff; }

/* Sağ şerit (görseller + mini about) */
.right-rail{ top:120px; right:40px; width:340px; display:flex; flex-direction:column; gap:10px; }
.gallery-view{ display:flex; align-items:center; justify-content:center; }
.gallery-view img{
  width:100%; height:200px; object-fit:cover; image-rendering:auto;
  border:1px solid #000;
}

/* Sağdaki iframe’ler */
.right-rail iframe{ width:100%; border:0; background:#fff; border:1px solid #000; }
.about-card iframe{ height:120px; }

/* Eski blur’lu kutuları kapat */
.right-box, .right-box.guestbook-box, .right-box.about-box{ display:none !important; }

/* Yalnız index’te footer hizası bozuluyorsa: */
#footer{ clear:both; }

/* Mobilde sağ şeridi istersen gizleyebilirsin */
@media (max-width:680px){ .right-rail{ display:none; } }

/* === Win98 Retro Müzik Çalar === */
#music-player {
  width: 260px;
  margin: 40px auto 80px auto;
  background: #c0c0c0;
  border: 2px solid #000;
  box-shadow: 0 0 0 2px #808080 inset, 0 0 0 3px #fff inset;
  color: #000;
  font-family: 'VT323', 'Monospace';
  font-size: 1/px;
  text-align: center;
}

#music-player .win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(#0a36a3, #05296f);
  color: #fff;
  padding: 3px 6px;
  font-weight: bold;
  height: 20px;
}

#music-player .win-body {
  background: #dcdcdc;
  padding: 8px;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #808080;
  border-bottom: 1px solid #808080;
}

#track-name {
  background: #fff;
  border: 1px solid #808080;
  padding: 3px;
  margin-bottom: 6px;
}

.player-controls {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 8px;
}

.player-controls button {
  width: 26px;
  height: 24px;
  font-size: 13px;
  border: 2px outset #fff;
  background: #dcdcdc;
  cursor: pointer;
}

-controls button:active {
  border: 2px inset #fff;
}

#progress-container {
  width: 90%;
  height: 6px;
  background: #a0a0a0;
  border: 1px solid #000;
  margin: 0 auto;
  position: relative;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background: #00aa00;
}
/* Music player: container içinde solda hizala */
#container #music-player{
  width: 260px;              /* küçük Win98 kutusu */
  margin: 16px 0 24px 16px;  /* soldan iç boşluk (container içindeki padding’e uy) */
}

/* === Win98 Marquee kutusu === */
.win98-marquee {
  width: 90%;
  margin: 24px auto;
  background: #c0c0c0;
  border: 2px solid #000;
  box-shadow: 0 0 0 2px #808080 inset, 0 0 0 3px #fff inset;
  font-family: 'VT323', 'Monospace';
  font-size: 18px;
  color: #000;
  padding: 4px 8px;
}

/* marquee içeriği */
.win98-marquee marquee {
  white-space: nowrap;
}

.winamp-photo-wrap {
  display: flex;
  align-items: flex-start;
  gap: 100px;
  margin-top: 20px;
}

.mini-photo98 {
  width: 300px;
  background: #c0c0c0;
  border: 2px solid #000;
  box-shadow: 0 0 0 2px #808080 inset, 0 0 0 3px #fff inset;
  font-family: 'VT323', 'Monospace';
  color: #000;
}

.mini-photo-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px;
  background: linear-gradient(#0a36a3, #05296f);
  color: #fff;
  font-size: 18px;
}

.mini-photo-btns button {
  width: 14px;
  height: 14px;
  font-size: 10px;
  padding: 0;
  color: #000;
  background: #dcdcdc;
  border: 2px outset #fff;
  box-shadow: inset 0 0 0 1px #808080;
  cursor: default;
}
.mini-photo-btns button:active {
  border: 2px inset #fff;
}

.mini-photo-body {
  padding: 10px;
  background: #dcdcdc;
  border-top: 1px solid #808080;
}

.mini-photo-body img {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid #000;
  box-shadow: 0 0 0 2px #808080 inset, 0 0 0 3px #fff inset;
}

.mini-photo-body .caption {
  margin: 0px 0 0 0;
  font-size: 18px;
  text-align: center;
}

/* === Win98 pencere stili === */
.panel98 {
  background: #c0c0c0;
  border: 1px solid #000;
  box-shadow: 0 0 0 2px #808080 inset, 0 0 0 3px #fff inset;
  color: #000;
  font-family: 'VT323', 'MS Sans Serif', Tahoma, sans-serif;
  margin-top: 20px;
}

/* Başlık çubuğu */
.panel98-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px;
  color: #fff;
  background: linear-gradient(#0a36a3, #05296f);
  font-size: 14px;
}

/* Sağdaki işlevsiz butonlar */
.panel98-btns {
  display: flex;
  gap: 4px;
}

.panel98-btns button {
  width: 14px;
  height: 14px;
  font-size: 10px;
  padding: 0;
  cursor: default;
  background: #dcdcdc;
  color: #000;
  border: 2px outset #fff;
  box-shadow: inset 0 0 0 1px #808080;
}

.panel98-btns button:active {
  border: 2px inset #fff;
}

/* Gövde */
.panel98-body {
  padding: 10px;
  background: #dcdcdc;
  border-top: 1px solid #808080;
  box-shadow: inset 0 0 0 1px #fff;
}

.panel98-body ul {
  margin: 0;
  padding-left: 18px;
}

.panel98-body li {
  margin: 6px 0;
}

/* Linkler */
.panel98-body a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px dotted #000;
}

.panel98-body a:hover {
  background: #000;
  color: #fff;
}

/* ===== Win98 çerçeve ===== */
.frame98 {
  background: #c0c0c0;
  border: 2px solid #000;
  box-shadow: 0 0 0 2px #808080 inset, 0 0 0 3px #fff inset;
  padding: 6px;
  display: inline-block;
}
.frame98 img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Başlık şeridi opsiyonel (istersen kullan) */
.frame98 .cap98 {
  margin-top: 6px;
  font-family: 'VT323','MS Sans Serif',Tahoma,sans-serif;
  font-size: 14px;
  color: #000;
}

/* ===== Hızlı yerleşim yardımcıları ===== */
.rel { position: relative; }
.abs { position: absolute; }
.fix { position: fixed; }

/* z-index katmanları */
.z-0{z-index:0} .z-1{z-index:1} .z-5{z-index:5} .z-10{z-index:10} .z-50{z-index:50}

/* hizalama */
.float-right { float: right; margin-left: 12px; }
.float-left  { float: left;  margin-right: 12px; }
.center-block { display:block; margin-left:auto; margin-right:auto; }

/* hızlı boyut kısayolları */
.w-100{width:100px} .w-150{width:150px} .w-200{width:200px} .w-250{width:250px} .w-300{width:300px}
.h-100{height:100px} .h-150{height:150px} .h-200{height:200px}

/* responsive: küçük ekranda float'ları sıfırla ki taşmasın */
@media (max-width: 700px){
  .float-right, .float-left { float:none; margin:8px auto; display:block; }
}

/* Mutlak konumlu dekorlar taşmasın diye kapsayıcıyı relative yapabilirsin */
.post-wrap { position: relative; }  /* yazı div’ine verebilirsin */

.frame98.float-left,
.frame98.float-right {
  display: block;        /* inline-block değil */
  max-width: 50%;        /* metnin yanına sığması için */
}
.float-left  { float: left;  margin: 0 12px 12px 0; }
.float-right { float: right; margin: 0 0 12px 12px; }

/* Mobilde sıfırlamak için */
@media (max-width: 700px){
  .float-left, .float-right { float: none; margin: 8px auto; display:block; }
}

/* === Chatbox yan panel (Win98 tarzı) === */
.chatbox-panel {
  position: fixed;            /* sayfayla birlikte kalır */
  top: 490px;                 /* header'ın altına */
  right: 77px;                /* sağ kenardan boşluk */
  width: 320px;               /* panel genişliği */
  z-index: 0;
}

.panel98 {
  background: #c0c0c0;
  border: 2px solid #000;
  box-shadow:
    0 0 0 2px #808080 inset,
    0 0 0 3px #fff inset;
  font-family: 'VT323', 'MS Sans Serif', Tahoma, sans-serif;
  color: #000;
}

.panel98-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px;
  background: linear-gradient(#0a36a3, #05296f);
  color: #fff;
  font-size: 14px;
}

.panel98-btns {
  display: flex;
  gap: 3px;
}

.panel98-btns button {
  width: 14px;
  height: 14px;
  font-size: 9px;
  background: #dcdcdc;
  border: 2px outset #fff;
  box-shadow: inset 0 0 0 1px #808080;
  cursor: default;
}

.panel98-btns button:active {
  border: 2px inset #fff;
  background: #b0b0b0;
}

.panel98-body {
  background: #dcdcdc;
  border-top: 1px solid #808080;
  padding: 0;
  box-shadow: inset 0 0 0 1px #fff;
}

.chatbox-panel iframe {
  width: 100%;
  height: 150px;  /* burada yükseklik */
  border: none;
  display: block;
  background: #fff;
}

/* Mobilde gizle (isteğe bağlı) */
@media (max-width: 900px){
  .chatbox-panel { display: none; }
}

.right-rail {
  top: 70px;   /* daha aşağı istiyorsan artır (ör. 140px) */
}


  /* Navigasyon panelini yukarı taşı */
.side-box .retro-win:first-child {
  position: relative;
  top: -50px;    /* ne kadar yukarı istiyorsan negatif artır: -60, -80 */
}

/* Guestbook panelini de biraz yaklaştır */
.side-box .retro-win:nth-child(2) {
  position: relative;
  top: -40px;
}
