body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: 'Arial', sans-serif;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.container {
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
  box-sizing: border-box;
}

.message {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 2s ease-out forwards 1s;
}

#loading-screen {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1.5s ease;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
}

.instructions {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 1.5s ease;
  z-index: 30;
}

.instruction-content {
  text-align: center;
  max-width: 600px;
  padding: 20px;
}

.instruction-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 20px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease-out forwards;
}

.instruction-text {
  font-size: clamp(1rem, 3vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease-out forwards 0.3s;
}

.device-instructions {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease-out forwards 0.6s;
}

.circle-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  opacity: 0;
  animation: expand 3s ease-out forwards;
}

.circle-responsive {
  width: min(500px, 90vw);
  height: min(500px, 90vw);
}

.dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: #fff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: 000;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.scroll-indicator {
  margin: 15px 0;
  opacity: 0.8;
}

.language-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
}

.lang-icon {
  margin-right: 10px;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  70% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

.progress-bar {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s ease;
}

.progress-line {
  width: 0%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  transition: width 4s linear;
}

.dots-container-responsive {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#begin-screen {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  z-index: 50;
  opacity: 1;
  transition: opacity 2s ease;
}

.begin-button {
  padding: 15px 40px;
  font-size: 1.5rem;
  letter-spacing: 3px;
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.begin-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.begin-button:active {
  transform: scale(0.98);
}

.begin-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.begin-button:active::after {
  width: 300px;
  height: 300px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes expand {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg) translateX(var(--orbit-radius)) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg) translateX(var(--orbit-radius)) rotate(-360deg);
  }
}