* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #e5e5e5;
  min-height: 100vh;
  color: #cddd6f;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.preview {
  display: flex;
  align-items: center;
}

.phone {
  width: 390px;
  height: 844px;
  background: #0b2f2f;
  border-radius: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 120px 24px 80px;
  overflow: hidden;
}

svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.status-bar {
  position: absolute;
  top: 18px;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.indicators {
  display: flex;
  align-items: center;
  gap: 10px;
}

.signal,
.wifi,
.battery {
  display: inline-block;
  height: 10px;
  border-radius: 2px;
  background: #ffffff;
}

.signal {
  width: 18px;
  opacity: 0.9;
}

.wifi {
  width: 18px;
  opacity: 0.7;
}

.battery {
  width: 24px;
  border-radius: 4px;
  opacity: 0.9;
}

.icon-container {
  width: 160px;
  color: #cddd6f;
}

.text-container {
  width: 120px;
}

.splash-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.splash-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.style-sweep .opt1-target {
  fill: currentColor;
  clip-path: inset(0 100% 0 0);
}

.style-sweep.active .opt1-icon {
  animation: reveal-sweep 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.style-sweep.active .opt1-text {
  animation: reveal-sweep 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
  animation-delay: 0.4s;
}

.style-draw .opt1-target {
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.2px;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
}

.style-draw.active .opt1-icon {
  animation:
    draw-path 1.5s ease-in-out forwards,
    fill-in 0.4s ease-in forwards;
  animation-delay: 0s, 1.1s;
}

.style-draw.active .opt1-text {
  animation:
    draw-path 1.5s ease-in-out forwards,
    fill-in 0.4s ease-in forwards;
  animation-delay: 0.5s, 1.1s;
}

.dots {
  display: flex;
  gap: 6px;
}

.controls {
  position: fixed;
  right: 24px;
  top: 24px;
  display: flex;
  align-items: center;
  justify-items: center;
  
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(8, 36, 36, 0.85);
  border: 1px solid rgba(199, 242, 102, 0.2);
  min-width: 160px;
  backdrop-filter: blur(8px);
}

.control-button {
  background: #cddd6f;
  color: #053333;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
}

.control-button:active {
  transform: scale(0.98);
}

.style-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(199, 242, 102, 0.7);
}

.dots span {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  opacity: 0.9;
}

@keyframes reveal-sweep {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  100% {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
  }
}

@keyframes draw-path {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fill-in {
  to {
    fill: currentColor;
    stroke-width: 0;
  }
}

@media (max-width: 500px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .page {
    padding: 0;
    place-items: stretch;
  }

  .preview {
    width: 100%;
    height: 100%;
  }

  .phone {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
    padding: 120px 24px 72px;
  }

  .status-bar {
    display: none;
  }

  .controls {
    right: 16px;
    top: 16px;
    min-width: 140px;
  }
}
