.in-game-overlay {
  position: fixed;
  width: 320px;
  height: 480px;
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #fff;
  overflow: hidden;
  z-index: 999999;
}

.overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: rgba(30, 30, 40, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.overlay-tabs {
  display: flex;
  gap: 8px;
}

.overlay-tabs button {
  background: transparent;
  border: none;
  color: #aaa;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  position: relative;
}

.overlay-tabs button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.overlay-tabs button.active {
  background: rgba(88, 101, 242, 0.3);
  color: #5865f2;
}

.overlay-tabs .badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #ed4245;
  color: #fff;
  border-radius: 10px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: bold;
}

.btn-minimize {
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-minimize:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.overlay-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.overlay-content::-webkit-scrollbar {
  width: 6px;
}

.overlay-content::-webkit-scrollbar-track {
  background: transparent;
}

.overlay-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.friends-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.friend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
}

.friend-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.friend-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.friend-info {
  flex: 1;
}

.friend-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.friend-game {
  font-size: 12px;
  color: #aaa;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-left: auto;
}

.status-indicator.online {
  background: #23a55a;
  box-shadow: 0 0 8px rgba(35, 165, 90, 0.6);
}

.status-indicator.away {
  background: #f0b232;
}

.status-indicator.offline {
  background: #80848e;
}

.messages-preview {
  color: #aaa;
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
}

/* Minimized overlay */
.overlay-minimized {
  position: fixed;
  width: 60px;
  height: 60px;
  background: rgba(88, 101, 242, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: all 0.2s;
  z-index: 999999;
}

.overlay-minimized:hover {
  transform: scale(1.1);
  background: rgba(88, 101, 242, 1);
}

.minimized-icon {
  font-size: 28px;
}

.minimized-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ed4245;
  color: #fff;
  border-radius: 12px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* In-game notification */
.aethex-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 320px;
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.3s ease-out;
  z-index: 1000000;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.notif-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.notif-content {
  flex: 1;
}

.notif-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.notif-body {
  font-size: 13px;
  color: #aaa;
}
