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

body {
  background: radial-gradient(circle at top, #1e293b, #020617);
  font-family: monospace;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  transition: all linear 0.3s;
}

body::-moz-selection {
  -moz-user-select: none;
       user-select: none;
}

body::selection {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* subtle background animation */
body::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: linear-gradient(45deg, #38bdf8, #22c55e);
  filter: blur(120px);
  opacity: 0.15;
  animation: floatBg 8s ease-in-out infinite;
}

@keyframes floatBg {
  0% {
    transform: translate(-20px, -20px);
  }
  50% {
    transform: translate(40px, 30px);
  }
  100% {
    transform: translate(-20px, -20px);
  }
}
.container {
  width: 90%;
  max-width: 700px;
  background: rgba(30, 41, 59, 0.65);
  backdrop-filter: blur(14px);
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.15);
  animation: fadeUp 0.6s ease;
}

.code-box::-moz-selection {
  -moz-user-select: none;
       user-select: none;
}

.code-box::selection {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #38bdf8;
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 18px;
}

.stats div {
  background: #020617;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

/* progress bar */
.progress-bar {
  height: 6px;
  background: #334155;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

.progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #4ade80, #22c55e);
  background-size: 200%;
  animation: progressMove 2s linear infinite;
  transition: width 0.25s;
}

@keyframes progressMove {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 200%;
  }
}
/* editor */
.code-box {
  background: #020617;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  color: #22c55e;
  overflow: auto;
  font-size: 15px;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.12), inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.code-box::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.code-box::-webkit-scrollbar-track {
  background: #334155;
  border-radius: 10px;
}

.code-box::-webkit-scrollbar-thumb {
  background: #22c55e;
  border-radius: 10px;
}

.editor-header {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.red {
  background: #ef4444;
}

.yellow {
  background: #facc15;
}

.green {
  background: #22c55e;
}

.editor-body {
  display: flex;
}

.line-numbers {
  color: #64748b;
  text-align: right;
  margin-right: 10px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.line-numbers span {
  display: block;
  line-height: 1.6;
}

.code {
  color: #22c55e;
  white-space: pre;
}

/* textarea */
textarea {
  width: 100%;
  height: 120px;
  background: #020617;
  border: 1px solid #334155;
  border-radius: 10px;
  color: white;
  padding: 12px;
  font-size: 15px;
  margin-bottom: 20px;
  resize: none;
  transition: 0.25s;
}

textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.35);
}

textarea::-webkit-scrollbar {
  display: none;
}

/* buttons */
.buttons {
  display: flex;
  justify-content: space-between;
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s;
  position: relative;
  overflow: hidden;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

button:active {
  transform: scale(0.96);
}

/* greeting */
h2 {
  margin-bottom: 20px;
  font-size: 30px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* name popup */
.first {
  position: absolute;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg {
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.2156862745);
  backdrop-filter: blur(12px);
  position: absolute;
}

.parent {
  z-index: 10;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.parent h3 {
  font-size: 28px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: 500;
}

input {
  margin-top: 10px;
  margin-bottom: 20px;
  padding: 18px;
  font-weight: 600;
  font-size: 18px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: #002e38;
  color: blanchedalmond;
  transition: 0.25s;
}

input:focus {
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.submit {
  padding: 14px 40px;
  font-weight: 800;
  color: blanchedalmond;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #22c55e, #4ade80);
}

.submit:active {
  transform: scale(0.95);
}/*# sourceMappingURL=style.css.map */