@import url('https://fonts.cdnfonts.com/css/vcr-osd-mono');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'VCR OSD Mono', monospace;
}

body {
  background: #000;
  color: #e5e5e5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

/* Floating camcorder-style OSD box */
.osd-box {
  width: 360px;
  padding: 35px;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid rgba(255, 138, 61, 0.7); /* SHUTR Orange */
  border-radius: 12px;
  box-shadow:
    0 0 10px rgba(255, 138, 61, 0.4),
    0 0 25px rgba(0, 0, 0, 0.8);
  text-align: center;
}

/* Title */
h1 {
  font-size: 22px;
  margin-bottom: 18px;
  color: #e5e5e5;
  letter-spacing: 1px;
}

/* Japanese sub-label */
.sub-label {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 22px;
}

/* Inputs */
.input-box {
  margin-bottom: 18px;
}

input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 138, 61, 0.6);
  background: rgba(255,255,255,0.05);
  color: #e5e5e5;
  font-size: 14px;
  outline: none;
  transition: 0.2s;
}

input::placeholder {
  color: rgba(229,229,229,0.6);
}

input:focus {
  border-color: #ff8a3d;
  background: rgba(255,255,255,0.08);
}

/* Buttons */
button {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ff8a3d;
  background: rgba(255, 138, 61, 0.2);
  color: #e5e5e5;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: rgba(255, 138, 61, 0.35);
}

/* Links */
.link {
  margin-top: 18px;
  font-size: 13px;
}

.link a {
  color: #ff8a3d;
  text-decoration: none;
}

.link a:hover {
  text-decoration: underline;
}

/* Camera image above the box */
.osd-image {
  display: block;
  margin: 0 auto 20px auto;
  width: 180px;
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(255, 138, 61, 0.4));
}

.boot-screen {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 999;
  animation: bootFade 1s ease-out forwards;
}

@keyframes bootFade {
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

.osd-image {
  display: block;
  margin: 0 auto 20px auto;
  width: 180px;
  opacity: 0;
  transform: scale(0.95);
  animation: bootLogo 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes bootLogo {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 0.9;
    transform: scale(1);
  }
}

.osd-box {
  opacity: 0;
  transform: translateY(10px);
  animation: boxFade 0.8s ease-out forwards;
  animation-delay: 0.6s;
}

@keyframes boxFade {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.05) 0px,
    rgba(255,255,255,0.05) 2px,
    rgba(0,0,0,0) 3px
  );
  opacity: 0;
  z-index: 900;
  animation: scanFlicker 0.6s ease-out forwards;
}

@keyframes scanFlicker {
  0% { opacity: 0.25; }
  100% { opacity: 0; visibility: hidden; }
}

.rec-dot {
  position: fixed;
  top: 12px;
  right: 12px;
  font-size: 14px;
  color: #ff3b3b;
  font-weight: bold;
  letter-spacing: 1px;
  z-index: 1000;
  animation: recBlink 1s infinite;
  user-select: none;
}

@keyframes recBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

@media (max-width: 600px) {
  .rec-dot {
    font-size: 20px;
    top: 10px;
    right: 10px;
  }
}

.battery-icon {
  position: fixed;
  top: 12px;
  left: 12px;
  font-size: 14px;
  color: #e5e5e5;
  opacity: 0.85;
  letter-spacing: 1px;
  z-index: 1000;
  user-select: none;
}

@media (max-width: 600px) {
  .battery-icon {
    font-size: 15px;
    top: 10px;
    left: 10px;
  }
}
