/* =============================================
   RESET & TEMEL
   ============================================= */
/* Cursor none — tüm elementlere zorla */
*, *::before, *::after, a, button, input, [href] {
  cursor: none !important;
}

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

:root {
  --bg:       #060606;
  --card:     #0a0a0a;
  --card2:    #0f0f0f;
  --border:   #222;
  --border2:  #1a1a1a;
  --text:     #b0b0b0;
  --dim:      #484848;
  --accent:   #787878;
  --white:    #e0e0e0;
  --bright:   #f0f0f0;
  --mono:     'Share Tech Mono', monospace;
  --sans:     'Rajdhani', sans-serif;
}

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

/* =============================================
   AÇILIŞ PERDESİ
   ============================================= */
#intro-veil {
  position: fixed; inset: 0;
  background: #000;
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

#intro-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 18px;
  width: 260px;
}

#intro-lines {
  display: flex; gap: 6px; margin-bottom: 4px;
}
#intro-lines span {
  display: block;
  height: 2px; background: #2a2a2a;
  animation: introLineGrow 1.2s ease-out forwards;
}
#intro-lines span:nth-child(1) { width: 40px; animation-delay: 0s; }
#intro-lines span:nth-child(2) { width: 80px; animation-delay: 0.15s; }
#intro-lines span:nth-child(3) { width: 40px; animation-delay: 0.3s; }

@keyframes introLineGrow {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

#intro-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: #333;
  letter-spacing: 6px;
  animation: fadeIn 0.6s 0.4s ease forwards;
  opacity: 0;
}

#intro-bar {
  width: 200px; height: 2px;
  background: #111; overflow: hidden;
}
#intro-progress {
  height: 100%; width: 0%;
  background: #333;
  animation: barFill 1.8s 0.5s ease-out forwards;
}
@keyframes barFill { from{width:0%;} to{width:100%;} }

#intro-hint {
  font-size: 0.7rem; color: #2a2a2a;
  letter-spacing: 5px;
  animation: hintAppear 0.5s 2s ease forwards, hintBlink 1s 2.5s step-end infinite;
  opacity: 0;
}
@keyframes fadeIn { to { opacity: 1; } }
@keyframes hintAppear { from{opacity:0;} to{opacity:1;} }
@keyframes hintBlink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

#intro-veil.fade-out {
  animation: veilFade 0.8s ease-out forwards;
  pointer-events: none;
}
@keyframes veilFade { to { opacity: 0; } }

/* =============================================
   CANVAS
   ============================================= */
#fogCanvas, #rainCanvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
#fogCanvas  { z-index: 0; }
#rainCanvas { z-index: 1; opacity: 0.85; }

/* =============================================
   ARKA PLAN GÖZLERİ
   ============================================= */
.bg-eyes { position: fixed; inset: 0; pointer-events: none; z-index: 2; }
.bg-eye-pair {
  position: absolute; display: flex; gap: 12px;
  animation: eyeBlink 7s ease-in-out infinite;
}
.bg-eye-dot {
  width: 4px; height: 2.5px;
  background: #1e1e1e; border-radius: 50%;
  animation: eyePulse 4s ease-in-out infinite alternate;
}
@keyframes eyePulse {
  from { opacity:0.04; transform:scale(0.8); }
  to   { opacity:0.22; transform:scale(1.1); }
}
@keyframes eyeBlink {
  0%,87%,100% { transform:scaleY(1); }
  91% { transform:scaleY(0.04); }
}

/* =============================================
   ŞİMŞEK
   ============================================= */
.lightning {
  position: fixed; inset: 0; pointer-events: none; z-index: 7; opacity: 0;
}
.lightning.flash { animation: lFlash 0.15s ease-out forwards; }
@keyframes lFlash {
  0%{opacity:0;} 20%{opacity:1;background:rgba(255,255,255,0.02);} 100%{opacity:0;}
}

/* =============================================
   SCANLINES & VİGNETTE
   ============================================= */
.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 6;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 3px
  );
}
.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 6;
  background: radial-gradient(ellipse at center,
    transparent 35%, rgba(0,0,0,0.88) 100%
  );
}

/* =============================================
   CURSOR
   ============================================= */
#cursor {
  position: fixed; pointer-events: none; z-index: 999999;
  width: 20px; height: 20px;
  transform: translate(-50%, -50%);
}
#cursor::before {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid #555;
  transform: rotate(45deg);
  animation: cursorSpin 8s linear infinite;
}
#cursor-dot {
  position: absolute; top:50%; left:50%;
  width: 3px; height: 3px;
  background: #888; border-radius: 50%;
  transform: translate(-50%,-50%);
}
#cursor.on-link::before { border-color: #aaa; animation-duration: 2s; }
#cursor.clicking::before { border-color: #ccc; transform: rotate(45deg) scale(1.3); }
@keyframes cursorSpin { from{transform:rotate(45deg);} to{transform:rotate(405deg);} }

/* =============================================
   CONTAINER
   ============================================= */
.container {
  position: relative; z-index: 10;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}

/* =============================================
   PROFİL KARTI
   ============================================= */
.profile-card {
  background: var(--card);
  border: 1px solid var(--border);
  width: 100%; max-width: 480px;
  position: relative;
  box-shadow:
    0 0 0 1px #0f0f0f,
    0 20px 60px rgba(0,0,0,0.9),
    inset 0 1px 0 #1a1a1a;
}

/* Köşe süsleri */
.corner {
  position: absolute; width: 14px; height: 14px;
  border-color: #444; border-style: solid;
  z-index: 1;
}
.corner.tl { top:-1px; left:-1px;  border-width:2px 0 0 2px; }
.corner.tr { top:-1px; right:-1px; border-width:2px 2px 0 0; }
.corner.bl { bottom:-1px; left:-1px;  border-width:0 0 2px 2px; }
.corner.br { bottom:-1px; right:-1px; border-width:0 2px 2px 0; }

/* =============================================
   ÜST BAR
   ============================================= */
.top-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border2);
  background: #080808;
}
.top-bar-left { display: flex; gap: 5px; align-items: center; }
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #1e1e1e; border: 1px solid #2a2a2a;
}
.dot.active { background: #3a3a3a; border-color: #555; animation: dotPulse 2s ease-in-out infinite alternate; }
@keyframes dotPulse { from{background:#2a2a2a;} to{background:#555;} }
.top-bar-title { font-size: 0.62rem; color: #444; letter-spacing: 4px; }
.top-bar-right { font-size: 0.6rem; color: #333; letter-spacing: 2px; border: 1px solid #1e1e1e; padding: 2px 6px; }

/* =============================================
   PROFİL BAŞLIĞI
   ============================================= */
.profile-header {
  display: flex; align-items: flex-start;
  gap: 20px; padding: 20px 20px 18px;
}

.avatar-container { position: relative; flex-shrink: 0; }

.avatar-frame {
  width: 76px; height: 76px;
  border: 1px solid var(--border);
  overflow: hidden; position: relative;
  background: #0d0d0d;
  display: flex; align-items: center; justify-content: center;
}
.avatar { width:100%; height:100%; object-fit:cover; filter:grayscale(25%) brightness(0.88); }
.avatar-fallback { display:none; font-size:32px; color:#333; }

/* Tarama çizgisi animasyonu */
.avatar-scan {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3a3a3a, transparent);
  animation: avatarScan 3s linear infinite;
  pointer-events: none;
}
@keyframes avatarScan {
  from { top: 0%; opacity: 0.6; }
  50%  { opacity: 1; }
  to   { top: 100%; opacity: 0; }
}

.profile-meta { flex: 1; }
.profile-name {
  font-family: var(--sans);
  font-size: 1.7rem; font-weight: 600;
  color: var(--bright); letter-spacing: 5px;
  line-height: 1;
  margin-bottom: 4px;
}
.profile-handle { font-size: 0.68rem; color: var(--dim); letter-spacing: 2px; margin-bottom: 8px; }

.profile-status { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.status-indicator {
  width: 5px; height: 5px; border-radius: 50%;
  background: #3a3a3a;
  animation: statusBlink 2.5s ease-in-out infinite alternate;
}
@keyframes statusBlink { from{background:#222;} to{background:#666;} }
.status-text { font-size: 0.6rem; color: #444; letter-spacing: 2px; }

.profile-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 0.58rem; color: #444; letter-spacing: 2px;
  border: 1px solid #1e1e1e; padding: 2px 7px;
  background: #0d0d0d;
  transition: border-color 0.2s, color 0.2s;
}
.tag:hover { border-color: #3a3a3a; color: #777; }

/* =============================================
   DIVIDER
   ============================================= */
.hline {
  height: 1px;
  background: repeating-linear-gradient(
    90deg, #1a1a1a 0, #1a1a1a 5px, transparent 5px, transparent 9px
  );
}

/* =============================================
   SECTION
   ============================================= */
.section { padding: 14px 20px; }

.section-title {
  font-size: 0.6rem; color: #3a3a3a;
  letter-spacing: 4px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-title::after {
  content: '';
  flex: 1; height: 1px;
  background: linear-gradient(90deg, #1e1e1e, transparent);
}
.sec-num { color: #2a2a2a; }

/* Bio */
.bio-text {
  font-size: 0.78rem; color: #666;
  letter-spacing: 1px; min-height: 22px;
  line-height: 1.6;
}
.cursor-blink { color: #444; animation: blink 0.85s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0;} }

/* =============================================
   LİNKLER
   ============================================= */
.links { display: flex; flex-direction: column; gap: 3px; }

.link-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px;
  text-decoration: none;
  background: #0c0c0c;
  border: 1px solid #1c1c1c;
  color: var(--text);
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

/* Sol parlayan çizgi */
.link-item::before {
  content: '';
  position: absolute; left:0; top:0; bottom:0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, #3a3a3a, transparent);
  opacity: 0;
  transition: opacity 0.22s;
}

/* Hover arka plan süpürme */
.link-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #141414 0%, #111 100%);
  opacity: 0;
  transition: opacity 0.22s;
  z-index: 0;
}

.link-item:hover { border-color: #2a2a2a; }
.link-item:hover::before { opacity: 1; }
.link-item:hover::after  { opacity: 1; }
.link-item:hover .link-name { color: var(--white); letter-spacing: 4px; }
.link-item:hover .link-arr  { opacity: 1; transform: translateX(4px); color: #666; }
.link-item:hover .link-num  { color: #3a3a3a; }
.link-item:hover .link-ico  { color: #666; }

.link-left { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.link-num  { font-size: 0.55rem; color: #252525; letter-spacing: 1px; width: 22px; font-family: var(--mono); transition: color 0.22s; }
.link-ico  { font-size: 0.9rem; color: #383838; width: 18px; text-align: center; transition: color 0.22s; }
.link-name { font-size: 0.73rem; letter-spacing: 3px; color: #666; transition: all 0.22s; font-family: var(--mono); }

.link-arr  { font-size: 0.7rem; color: #2a2a2a; opacity: 0.4; transition: all 0.22s; position: relative; z-index: 1; }

/* =============================================
   MÜZİK ÇALAR
   ============================================= */
.music-player { }

.music-top {
  display: flex; align-items: flex-end; gap: 14px;
  margin-bottom: 12px;
}

.music-visualizer {
  display: flex; align-items: flex-end; gap: 2px;
  height: 28px; flex-shrink: 0;
}
.music-visualizer span {
  display: block; width: 3px;
  border-radius: 1px 1px 0 0;
  animation: vizAnim 0.5s ease-in-out infinite alternate;
}
.music-visualizer span:nth-child(4n+1)  { background:#222; }
.music-visualizer span:nth-child(4n+2)  { background:#2d2d2d; }
.music-visualizer span:nth-child(4n+3)  { background:#383838; }
.music-visualizer span:nth-child(4n+4)  { background:#2a2a2a; }
.music-visualizer span:nth-child(1)  {height:4px; animation-duration:0.40s; animation-delay:0.00s;}
.music-visualizer span:nth-child(2)  {height:12px;animation-duration:0.58s; animation-delay:0.05s;}
.music-visualizer span:nth-child(3)  {height:7px; animation-duration:0.34s; animation-delay:0.10s;}
.music-visualizer span:nth-child(4)  {height:18px;animation-duration:0.54s; animation-delay:0.02s;}
.music-visualizer span:nth-child(5)  {height:5px; animation-duration:0.44s; animation-delay:0.15s;}
.music-visualizer span:nth-child(6)  {height:22px;animation-duration:0.50s; animation-delay:0.08s;}
.music-visualizer span:nth-child(7)  {height:9px; animation-duration:0.37s; animation-delay:0.20s;}
.music-visualizer span:nth-child(8)  {height:16px;animation-duration:0.63s; animation-delay:0.03s;}
.music-visualizer span:nth-child(9)  {height:6px; animation-duration:0.41s; animation-delay:0.12s;}
.music-visualizer span:nth-child(10) {height:20px;animation-duration:0.56s; animation-delay:0.07s;}
.music-visualizer span:nth-child(11) {height:4px; animation-duration:0.47s; animation-delay:0.18s;}
.music-visualizer span:nth-child(12) {height:14px;animation-duration:0.51s; animation-delay:0.01s;}
.music-visualizer span:nth-child(13) {height:28px;animation-duration:0.43s; animation-delay:0.14s;}
.music-visualizer span:nth-child(14) {height:3px; animation-duration:0.35s; animation-delay:0.22s;}
.music-visualizer span:nth-child(15) {height:11px;animation-duration:0.59s; animation-delay:0.09s;}
.music-visualizer span:nth-child(16) {height:19px;animation-duration:0.46s; animation-delay:0.04s;}
.music-visualizer span:nth-child(17) {height:7px; animation-duration:0.52s; animation-delay:0.16s;}
.music-visualizer span:nth-child(18) {height:24px;animation-duration:0.38s; animation-delay:0.11s;}
.music-visualizer span:nth-child(19) {height:5px; animation-duration:0.60s; animation-delay:0.19s;}
.music-visualizer span:nth-child(20) {height:13px;animation-duration:0.45s; animation-delay:0.06s;}
.music-visualizer.paused span { animation-play-state:paused; height:2px !important; opacity:0.25; }
@keyframes vizAnim { from{transform:scaleY(0.12);opacity:0.3;} to{transform:scaleY(1);opacity:1;} }

.music-title-wrap { }
.music-track-label { font-size:0.55rem; color:#2a2a2a; letter-spacing:3px; margin-bottom:3px; }
.music-title { font-size:0.8rem; color:var(--accent); letter-spacing:2px; }

.music-controls {
  display: flex; gap: 6px; align-items: center;
  margin-bottom: 10px;
}
.ctrl-btn {
  background: #0d0d0d; border: 1px solid var(--border2);
  color: var(--dim); padding: 5px 10px;
  cursor: none; font-size: 0.75rem;
  transition: all 0.15s; letter-spacing: 1px;
}
.ctrl-btn.play-btn {
  padding: 6px 20px; border-color: var(--border);
  color: var(--accent); font-size: 0.85rem;
}
.ctrl-btn:hover {
  background: #141414; border-color: #383838; color: var(--white);
}

.progress-row { display:flex; align-items:center; gap:10px; }
.time { font-size:0.6rem; color:var(--dim); min-width:30px; }

.progress-track {
  flex: 1; height: 2px; background: #141414;
  position: relative; cursor: none;
}
.progress-bar {
  position: absolute; inset: -4px 0;
  -webkit-appearance:none; appearance:none;
  width: 100%; background: transparent; outline: none; cursor: none;
  z-index: 2;
}
.progress-bar::-webkit-slider-thumb {
  -webkit-appearance:none; width:8px; height:8px;
  background:#444; border-radius:0; cursor:none;
  transform: rotate(45deg);
}
.progress-fill {
  position: absolute; top:0; left:0; bottom:0;
  width: 0%; background: #333; transition: width 0.1s linear;
  pointer-events: none;
}

/* =============================================
   ALT BAR
   ============================================= */
.bottom-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px;
  border-top: 1px solid var(--border2);
  background: #080808;
}
.bottom-stat {
  font-size: 0.58rem; color: #2e2e2e; letter-spacing: 2px;
}
.bottom-stat i { margin-right: 4px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 500px) {
  .profile-card  { max-width: 100%; }
  .profile-name  { font-size: 1.3rem; }
  .profile-header { gap: 14px; padding: 16px; }
  .avatar-frame  { width: 60px; height: 60px; }
}

/* =============================================
   WINDOWS XP BUTONU
   ============================================= */
.profile-xp-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 0;
  padding: 4px 10px 4px 6px;
  background: linear-gradient(to bottom, #1a1a1a, #111);
  border: 1px solid #2e2e2e;
  border-radius: 3px;
  font-family: 'Tahoma', 'Arial', sans-serif;
  font-size: 0.72rem;
  color: #666;
  letter-spacing: 0.5px;
  box-shadow: inset 0 1px 0 #2a2a2a, 0 1px 2px rgba(0,0,0,0.6);
  transition: all 0.15s;
  text-shadow: none;
}
.profile-xp-btn img { width: 16px; height: 16px; }
.profile-xp-btn:hover {
  background: linear-gradient(to bottom, #222, #161616);
  border-color: #3a3a3a;
  color: #999;
  box-shadow: inset 0 1px 0 #333, 0 1px 3px rgba(0,0,0,0.7);
}
.profile-xp-btn:active {
  background: linear-gradient(to bottom, #111, #1a1a1a);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

/* =============================================
   WINDOWS XP MASAÜSTÜ
   ============================================= */
#xpDesktop {
  position: fixed; inset: 0; z-index: 99998;
  font-family: 'Tahoma', 'Arial', sans-serif;
  font-size: 11px;
  animation: xpFadeIn 0.3s ease;
}
#xpDesktop.xp-hidden { display: none; }

@keyframes xpFadeIn { from{opacity:0;transform:scale(1.02);} to{opacity:1;transform:scale(1);} }

/* Bliss masaüstü */
.xp-bg {
  position: absolute; inset: 0;
  background:
    url('windowsnewbackground.png') center center / cover no-repeat,
    linear-gradient(to bottom, #4a9ee8 0%, #7dc8f5 45%, #5aaa2a 55%, #2d7010 100%);
}

/* Masaüstü ikonları */
.xp-icon {
  position: absolute;
  width: 64px; text-align: center;
  cursor: none;
  padding: 4px;
  border-radius: 2px;
}
.xp-icon:hover { background: rgba(100,150,255,0.3); }
.xp-icon-img { font-size: 2rem; line-height: 1; margin-bottom: 3px; }
.xp-icon-label {
  font-size: 10px; color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  line-height: 1.2;
}

/* IE Penceresi */
.xp-window {
  position: absolute;
  top: 30px; left: 90px;
  width: min(580px, calc(100vw - 110px));
  max-height: calc(100vh - 80px);
  display: flex; flex-direction: column;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  border: 1px solid #003380;
  animation: xpWindowIn 0.25s ease;
}
@keyframes xpWindowIn { from{transform:scale(0.95);opacity:0;} to{transform:scale(1);opacity:1;} }

/* Başlık çubuğu */
.xp-titlebar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 3px 4px 3px 6px;
  background: linear-gradient(to bottom, #2461d4 0%, #1846b8 50%, #0f3aaa 100%);
  border-radius: 0;
  min-height: 28px;
}
.xp-titlebar-left { display: flex; align-items: center; gap: 5px; }
.xp-title-icon { font-size: 14px; }
.xp-title-text { color: #fff; font-size: 11px; font-weight: bold; text-shadow: 1px 1px 1px rgba(0,0,0,0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }
.xp-titlebar-btns { display: flex; gap: 2px; flex-shrink: 0; }

.xp-btn {
  width: 21px; height: 21px;
  border: none; border-radius: 3px;
  font-size: 10px; font-weight: bold;
  cursor: none; display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 1px 1px rgba(0,0,0,0.3);
}
.xp-min, .xp-max { background: linear-gradient(to bottom, #4a90d9, #2461b8); color: #fff; }
.xp-close       { background: linear-gradient(to bottom, #e05040, #c02010); color: #fff; }
.xp-min:hover   { background: linear-gradient(to bottom, #5aa0e9, #3471c8); }
.xp-max:hover   { background: linear-gradient(to bottom, #5aa0e9, #3471c8); }
.xp-close:hover { background: linear-gradient(to bottom, #f06050, #d03020); }

/* Menü çubuğu */
.xp-menubar {
  display: flex; gap: 0;
  background: #ece9d8;
  border-bottom: 1px solid #aaa;
  padding: 1px 2px;
}
.xp-menubar span {
  padding: 2px 8px; font-size: 11px; color: #000;
}
.xp-menubar span:hover { background: #316ac5; color: #fff; }

/* Araç çubuğu */
.xp-toolbar {
  background: #ece9d8;
  border-bottom: 1px solid #aaa;
  padding: 3px 4px;
  display: flex; flex-direction: column; gap: 3px;
}
.xp-nav-btns { display: flex; gap: 2px; }
.xp-nav-btn {
  padding: 2px 6px; background: #ece9d8;
  border: 1px solid #aaa; border-radius: 2px;
  font-size: 10px; cursor: none; color: #333;
}
.xp-nav-btn:disabled { color: #bbb; }
.xp-nav-btn:hover:not(:disabled) { background: #d8d0c4; }

.xp-address-bar { display: flex; align-items: center; gap: 4px; }
.xp-addr-label { font-size: 11px; color: #333; white-space: nowrap; }
.xp-addr-input {
  flex: 1; background: #fff;
  border: 1px solid #7f9db9;
  border-radius: 0; padding: 2px 6px;
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: #000;
  box-shadow: inset 1px 1px 3px rgba(0,0,0,0.15);
}
.xp-go-btn {
  padding: 2px 10px; background: linear-gradient(to bottom, #f0ede4, #d8d0c4);
  border: 1px solid #aaa; border-radius: 2px;
  font-size: 11px; cursor: none; color: #000;
}

/* İçerik */
.xp-content {
  background: #fff; flex: 1;
  overflow-y: auto; min-height: 200px;
}
.xp-page { padding: 30px 40px; }
.xp-page-header { margin-bottom: 24px; border-bottom: 2px solid #ece9d8; padding-bottom: 16px; }
.xp-page-title { font-size: 24px; font-weight: bold; color: #1a1a1a; letter-spacing: 2px; }
.xp-page-sub   { font-size: 12px; color: #666; margin-top: 4px; }

.xp-page-links { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.xp-link {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; color: #00f; text-decoration: underline;
  font-size: 12px; border: 1px solid transparent;
}
.xp-link:hover { background: #ece9d8; border-color: #ddd; color: #900; text-decoration: underline; }

.xp-page-footer { font-size: 10px; color: #999; border-top: 1px solid #eee; padding-top: 12px; }

/* Status bar */
.xp-statusbar {
  background: #ece9d8; border-top: 1px solid #aaa;
  display: flex; justify-content: space-between;
  padding: 2px 6px; font-size: 10px; color: #333;
}

/* Taskbar */
.xp-taskbar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 38px;
  background: linear-gradient(to bottom, #2461d4 0%, #1846b8 40%, #0c3aaa 100%);
  display: flex; align-items: stretch;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.3);
  border-top: 1px solid #4080e0;
}

.xp-start-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 0 14px;
  background: linear-gradient(to bottom, #5ac040 0%, #3a9c1c 40%, #2a8010 100%);
  border: none; border-radius: 0 12px 12px 0;
  color: #fff; font-size: 13px; font-weight: bold;
  font-family: 'Tahoma', sans-serif;
  cursor: none; margin: 3px 0 3px 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 2px 0 4px rgba(0,0,0,0.3);
  text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
  font-style: italic;
}
.xp-start-btn:hover { background: linear-gradient(to bottom, #6ad050, #4aac2c 40%, #3a9020 100%); }
.xp-start-logo { font-size: 16px; font-style: normal; }

.xp-taskbar-items { flex: 1; display: flex; align-items: center; padding: 0 4px; gap: 3px; }
.xp-taskbar-item {
  display: flex; align-items: center; gap: 5px;
  padding: 3px 10px; max-width: 200px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px; color: #fff; font-size: 11px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.xp-taskbar-item.active { background: rgba(0,0,0,0.4); box-shadow: inset 1px 1px 2px rgba(0,0,0,0.3); }

.xp-systray {
  display: flex; align-items: center; padding: 0 10px;
  background: rgba(0,0,0,0.2); border-left: 1px solid rgba(255,255,255,0.15);
  color: #fff; font-size: 11px; white-space: nowrap; gap: 8px;
}

/* IE penceresi gizli durumu */
.xp-window.xp-hidden { display: none !important; }

/* Windows XP çıkış butonu */
.xp-exit-btn {
  position: absolute;
  top: 12px; right: 12px;
  padding: 2px 7px;
  background: linear-gradient(to bottom, #e05040, #c02010);
  border: 1px solid #901000;
  border-radius: 4px;
  color: #fff;
  font-size: 9px;
  font-family: 'Tahoma', Arial, sans-serif;
  font-weight: bold;
  cursor: none;
  z-index: 10;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 4px rgba(0,0,0,0.4);
  letter-spacing: 0.5px;
}
.xp-exit-btn:hover {
  background: linear-gradient(to bottom, #f06050, #d03020);
}

/* Windows etkinleştir watermark */
.xp-watermark {
  position: absolute;
  bottom: 50px; right: 20px;
  color: rgba(255,255,255,0.55);
  font-size: 11px; text-align: right;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
  pointer-events: none;
  line-height: 1.5;
}
.xp-watermark span { font-size: 10px; opacity: 0.8; }

/* XP link item (bağlantılar listesinde) */
.xp-link-item { cursor: none; }

/* Google sayfası */
.xp-google-top-links {
  display: flex; flex-wrap: wrap; gap: 0;
  padding: 3px 8px;
  border-bottom: 2px solid #3c78d8;
  background: #fff;
  font-size: 11px;
  font-family: Arial, sans-serif;
}
.xp-glink {
  padding: 3px 7px; color: #00c; text-decoration: none;
  cursor: pointer; font-size: 11px;
}
.xp-glink:hover { color: #c00; text-decoration: underline; }
.xp-glink.active { color: #000; font-weight: bold; border-bottom: 2px solid #dd4b39; margin-bottom: -2px; }
.xp-glink-right { margin-left: auto; }

.xp-google-body {
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 20px 16px;
  background: #fff; min-height: 240px;
}

.xp-google-logo-img {
  width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.xp-google-searchbox {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 100%; max-width: 480px;
}

.xp-search-row {
  display: flex; align-items: center; gap: 6px; width: 100%;
}

.xp-google-input {
  flex: 1;
  padding: 4px 6px;
  border: 1px solid #7f9db9;
  font-size: 13px;
  outline: none;
  box-shadow: inset 1px 1px 3px rgba(0,0,0,0.15);
  font-family: Arial, sans-serif;
}
.xp-google-input:focus { border-color: #4a90d9; }

.xp-google-btn {
  padding: 3px 10px;
  background: linear-gradient(to bottom, #f8f8f8, #e8e8e8);
  border: 1px solid #ccc; border-radius: 2px;
  font-size: 11px; color: #333;
  cursor: pointer; font-family: Arial, sans-serif;
  white-space: nowrap;
}
.xp-google-btn:hover { background: linear-gradient(to bottom, #f0f0f0, #d8d8d8); border-color: #aaa; }

.xp-search-radio {
  font-size: 11px; color: #333; font-family: Arial, sans-serif;
}
.xp-search-radio label { cursor: pointer; }

.xp-google-foot {
  margin-top: 20px; font-size: 11px; color: #333;
  text-align: center; font-family: Arial, sans-serif;
}
.xp-google-foot a { color: #00c; text-decoration: underline; }
.xp-google-foot a:hover { color: #c00; }

.xp-google-copy { margin-top: 8px; font-size: 11px; color: #333; text-align: center; font-family: Arial, sans-serif; }
.xp-google-copy a { color: #00c; text-decoration: underline; }

/* =============================================
   BONZI BUDDY
   ============================================= */
.bonzi-wrap {
  position: absolute;
  bottom: 46px; right: 60px;
  display: flex; flex-direction: column; align-items: center;
  z-index: 20;
  animation: bonziBob 2s ease-in-out infinite;
}
@keyframes bonziBob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* Konuşma balonu — fotoğraftaki gibi sarımtırak, köşeli */
.bonzi-bubble {
  position: relative;
  background: #fffff0;
  border: 2px solid #888;
  border-radius: 12px;
  padding: 10px 16px;
  max-width: 220px;
  min-width: 120px;
  font-family: 'Tahoma', Arial, sans-serif;
  font-size: 13px;
  color: #111;
  line-height: 1.5;
  margin-bottom: 8px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
  display: none;
  text-align: left;
}
.bonzi-bubble.visible { display: block; }
#bonziText { white-space: pre-line; }
.bonzi-bubble-tail {
  position: absolute;
  bottom: -14px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 14px solid #888;
}
.bonzi-bubble-tail::after {
  content: '';
  position: absolute;
  top: -15px; left: -8px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 13px solid #fffff0;
}

/* Karakter gövdesi */
.bonzi-body {
  cursor: none;
  user-select: none;
  position: relative;
  width: 180px;
}

.bonzi-img {
  width: 180px;
  height: auto;
  display: block;
}

/* bonzi4 beyaz arka planı kaldır */
.bonzi-img.bonzi-white-bg {
  mix-blend-mode: multiply;
}