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

body {
  background: #1a1a1a;
  color: white;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen {
  display: none;
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.screen.active {
  display: block;
}

/* Install Screen Styles */
.loading-container {
  text-align: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background: #333;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
}

.progress {
  width: 0%;
  height: 100%;
  background: #3498db;
  transition: width 0.5s;
}

.timer {
  font-size: 24px;
  color: #3498db;
}

/* VPN Screen Styles */
.vpn-container {
  text-align: center;
}

.connection-circle {
  width: 200px;
  height: 200px;
  background: #333;
  border-radius: 50%;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.circle-inner {
  width: 180px;
  height: 180px;
  background: #1a1a1a;
  border-radius: 50%;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.key-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.connection-circle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 5px solid transparent;
  border-radius: 50%;
  transition: transform 0.3s;
}

.connecting .connection-circle::after {
  border-top-color: #3498db;
  animation: rotate 1s linear infinite;
}

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

.connected .circle-inner {
  background: #27ae60;
}

.server-selector {
  margin-bottom: 20px;
}

select {
  padding: 10px;
  width: 200px;
  background: #333;
  color: white;
  border: none;
  border-radius: 5px;
}

.connect-button {
  padding: 12px 30px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.connect-button:hover {
  background: #2980b9;
}

.status-message {
  margin-top: 20px;
  color: #e74c3c;
  min-height: 20px;
}

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