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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #1a1a2e;
  color: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}

.container {
  text-align: center;
  padding: 2rem;
  width: 100%;
  max-width: 500px;
}

.status-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.status-circle::before {
  content: '';
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  opacity: 0.3;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-circle.present {
  background: #00c853;
  box-shadow: 0 0 60px rgba(0, 200, 83, 0.4);
}

.status-circle.present::before {
  border: 3px solid #00c853;
  animation: pulse-green 2s infinite;
}

.status-circle.absent {
  background: #ff1744;
  box-shadow: 0 0 60px rgba(255, 23, 68, 0.4);
}

.status-circle.absent::before {
  border: 3px solid #ff1744;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0; }
  100% { transform: scale(1); opacity: 0.3; }
}

@keyframes pulse-red {
  0% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0; }
  100% { transform: scale(1); opacity: 0.3; }
}

.status-icon {
  font-size: 5rem;
  line-height: 1;
}

.status-text {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.4s ease;
}

.status-text.present {
  color: #00c853;
}

.status-text.absent {
  color: #ff1744;
}

.status-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
}

.updated {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 2rem;
}

.dot-live {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00c853;
  margin-right: 6px;
  animation: blink 1.5s infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@media (max-width: 400px) {
  .status-circle {
    width: 160px;
    height: 160px;
  }
  .status-icon {
    font-size: 4rem;
  }
  .status-text {
    font-size: 1.5rem;
  }
}