* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;

}

/* Arka plan */
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: url("image/wp.jpg") no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

/* Bulanık efekt */
.blur {
  filter: blur(4px);
  pointer-events: none;
}

/* Giriş Modalı */
.login-modal {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top left, #1b2838, #060b10);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.login-modal.hidden {
  display: none;
}

.login-card {
  width: 480px;
  max-width: 95vw;
  background: linear-gradient(145deg, #141820, #10131a);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  padding: 32px 32px 28px;
  border: 1px solid #1f2933;

}

.logo-area {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #19e5ff, #1eff8b);
  box-shadow: 0 0 20px rgba(25, 229, 255, 0.6);
  margin-right: 10px;
}

.logo-texts {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 24px;
  font-weight: 800;
  color: #1eff8b;
}

.logo-subtitle {
  font-size: 11px;
  letter-spacing: 1px;
  color: #9ba4b4;
}

.login-tagline {
  margin-bottom: 18px;
  font-size: 14px;
  color: #cbd5f5;
}

.login-input-group {
  margin-bottom: 16px;
}

.login-input-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #343b48;
  background: #0f141b;
  color: white;
}
.login-input-group input::focus{
  border:1px solid green;
}

.login-input-group input::placeholder {
  color: #6c7484;
}

.login-button {
  width: 100%;
  padding: 10px 0;
  margin-top: 4px;
  border: none;
  border-radius: 12px;
  background: #22e56f;
  color: #051108;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(34, 229, 111, 0.35);
  transition: transform 0.08s ease, box-shadow 0.08s ease,
    background 0.1s ease;
}

.login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(34, 229, 111, 0.48);
  background: #26f377;
}

/* Sohbet kutusu */
.chat-container {
    width: 80%;          /* 75% → 90% yap */
    max-width: 1200px;   /* 1100px → 1400px yap */
    height: 85vh;
    margin: 40px auto;
    background: rgba(26, 33, 44, 0.95);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


.chat-container h2 {
  padding: 14px 16px;
  background: #181f29;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 18px;
  flex-shrink: 0;
}

/* Mesaj listesi */
ul.messages {
  flex-grow: 1;
  list-style: none;
  padding: 12px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Mesaj balonu */
ul.messages li.message {
  background: #161f29;
  padding: 7px 10px 8px;
  max-width: 80%;
  border-radius: 10px;
  border-top-left-radius: 4px;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  color: #f1f5ff;
}

ul.messages li.message.mine {
  align-self: flex-end;
  background: #1e3132;
  border-top-right-radius: 4px;
}

/* Üst bilgi satırı */
.message-header {
  display: flex;
  align-items: center;
  margin-bottom: 3px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  background: #22e56f;
}

.status-dot.offline {
  background: #e84545;
}

.sender {
  font-size: 11px;
  font-weight: 700;
  color: #8ad0ff;
  margin-right: 6px;
}

.message.mine .sender {
  color: #9cf6c3;
}

.date {
  margin-left: auto;
  font-size: 10px;
  color: #97a2b8;
}

/* Mesaj metni */
.text {
  font-size: 13px;
  line-height: 1.3rem;
}

/* Alt input alanı */
.input {
  display: flex;
  padding: 8px 10px;
  background: #181f29;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  gap: 6px;
}

.input input {
  flex: 1;
  padding: 9px 10px;
  border-radius: 999px;
  border: none;
  background: #0f141b;
  color: #e5ecff;
  outline: none;
}

.input input::placeholder {
  color: #6c7484;
}

.input button {
  width: 46px;
  border-radius: 999px;
  border: none;
  background: #22e56f;
  color: #051108;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(34, 229, 111, 0.4);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.input button:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 30px rgba(34, 229, 111, 0.55);
}

/* --- LOBİ BUTONLARI --- */
.lobbies {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  background: #131921;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  overflow-x: auto; /* Mobilde yana kaydırma */
  flex-shrink: 0;
}

.lobby-btn {
  background: #1f2933;
  border: 1px solid #343b48;
  color: #9ba4b4;
  padding: 12px 24px;
  border-radius: 15px;
  font-size: 16x;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center; /* İçeriği ortalar */
  gap: 12px;
  font-weight: 600;    /* Yazı biraz daha kalın */
  height: 50px;
}

.lobby-btn:hover {
  background: #283442;
  color: #fff;
  transform: translateY(-2px); /* Hafif yukarı kalkma efekti */
}

.lobby-btn img {
  width: 28px !important;  /* Genişlik sabit */
  height: 28px !important; /* Yükseklik sabit */
  object-fit: contain;     /* Resmi bozmadan sığdır */
  display: block;
  background-color: transparent !important;
}


/* GENEL  */
.lobby-btn.active {
    background: #00a8ff; /* Canlı bir gökyüzü mavisi */
    border-color: #00a8ff;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.45); /* Mavi parlama */
    font-weight: 700;
}

.lobby-btn.game-val.active {
    background: #ff4655;
    border-color: #ff4655;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 70, 85, 0.4);
  
}

/* League of Legends (Mavi/Hextech) */
.lobby-btn.game-lol.active {
    background: #0ac8b9;
    border-color: #0ac8b9;
    color: #000;
    box-shadow: 0 0 15px rgba(10, 200, 185, 0.4);
}

/* CS2 (Turuncu) */
.lobby-btn.game-cs.active {
    background: #de9b35;
    border-color: #de9b35;
    color: #000;
    box-shadow: 0 0 15px rgba(222, 155, 53, 0.4);
}



/* --- YENİ OYUN RENKLERİ --- */

/* EA Sports FC (İkonik Neon Yeşil) */
.lobby-btn.game-fc.active {
    background: #15f563; /* FC markasının resmi üçgen yeşili */
    border-color: #15f563;
    color: #081a10; /* Yazı koyu olsun ki okunsun */
    box-shadow: 0 0 15px rgba(21, 245, 99, 0.4);
    
}

/* ARC Raiders (Retro Sci-Fi Turuncu/Kırmızı) */
.lobby-btn.game-arc.active {
    background: #ff3f1a; /* Uyarı tonunda canlı bir kırmızı-turuncu */
    border-color: #ff3f1a;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 63, 26, 0.5);
    
}
/* --- MODERN KAYDIRMA ÇUBUĞU (SCROLLBAR) --- */

/* Mesaj kutusu ve lobiler için */
ul.messages::-webkit-scrollbar,
.lobbies::-webkit-scrollbar {
  width: 8px;  /* Dikey çubuk genişliği */
  height: 8px; /* Yatay çubuk yüksekliği */
}

.val {
  background-color: transparent !important;
  ]

/* Çubuğun arka plan yolu */
ul.messages::-webkit-scrollbar-track,
.lobbies::-webkit-scrollbar-track {
  background: #0f141a; 
  border-radius: 4px;
}

/* Hareket eden çubuk kısmı */
ul.messages::-webkit-scrollbar-thumb,
.lobbies::-webkit-scrollbar-thumb {
  background: #343b48; 
  border-radius: 4px;
}

/* Üzerine gelince rengi değişsin */
ul.messages::-webkit-scrollbar-thumb:hover,
.lobbies::-webkit-scrollbar-thumb:hover {
  background: #22e56f; /* Tema rengin */
}

