/* Modern Dark Theme with Cyberpunk Blue Accents */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Roboto, sans-serif;
  background: #121212;
  color: #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: auto;
}

.screen {
  background: #1e1e1e;
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid #2a2a2a;
  text-align: center;
  transition: all 0.3s ease;
}

h1 {
  margin: 0 0 20px;
  font-size: 2.2rem;
  background: linear-gradient(90deg, #00d2ff, #3a7bd5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(58, 123, 213, 0.3);
}

p {
  color: #aaa;
  margin-bottom: 30px;
}

.description {
  color: #e0e0e0;
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.5;
}

button {
  background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
  font-weight: 600;
  letter-spacing: 0.5px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
}

button:active {
  transform: translateY(0);
}

.video-containers {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.2);
}

#video-box, #video-dots {
  width: 100%;
  display: block;
  transform: scaleX(-1);
  background: #000;
}

#canvas-box, #canvas-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(-1);
}

#result-box {
  background: rgba(0, 0, 0, 0.7);
  padding: 15px;
  border-radius: 8px;
  color: #00d2ff;
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto 20px;
  text-align: left;
  border: 1px solid #3a7bd5;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

#result-box p {
  margin: 8px 0;
  color: #e0e0e0;
}

#ai-comment {
  color: #ff4081;
  font-style: italic;
  margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 700px) {
  .screen {
    width: 95%;
    padding: 20px;
  }
  .video-containers {
    flex-direction: column;
    align-items: center;
  }
  .video-container {
    max-width: 320px;
  }
  #result-box {
    max-width: 320px;
    font-size: 0.85rem;
  }
  .description {
    font-size: 0.9rem;
  }
}