* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: "Oswald", "Segoe UI", sans-serif;
  color: #d8e8d0;
  overflow: hidden;
}

body {
  position: relative;
  background: #0a0e08;
}

.background {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.background img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(0.55) contrast(1.08) brightness(0.72);
  animation: drift 28s ease-in-out infinite alternate;
}

.overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(92, 128, 58, 0.22), transparent 48%),
    radial-gradient(circle at 82% 78%, rgba(180, 98, 42, 0.18), transparent 44%),
    linear-gradient(145deg, rgba(8, 12, 6, 0.88), rgba(14, 18, 10, 0.94));
  backdrop-filter: blur(2px);
}

.scanlines {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.12;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.35) 0,
    rgba(0, 0, 0, 0.35) 1px,
    transparent 1px,
    transparent 3px
  );
}

.layout {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 48px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 22px;
}

.hero {
  align-self: center;
  max-width: 760px;
}

.label {
  margin: 0 0 12px;
  font-family: "Share Tech Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(168, 196, 132, 0.88);
}

h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 700;
  color: #eef5e8;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  text-transform: uppercase;
}

h2 {
  margin: 12px 0 0;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 500;
  color: #d4843a;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.04em;
}

.description {
  margin: 16px 0 0;
  max-width: 620px;
  color: rgba(210, 228, 198, 0.86);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

.card {
  background: rgba(10, 16, 8, 0.72);
  border: 1px solid rgba(132, 168, 88, 0.32);
  border-radius: 4px;
  padding: 18px 22px;
  box-shadow:
    0 10px 35px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(180, 210, 150, 0.06);
}

.card-title {
  margin: 0 0 12px;
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(196, 168, 118, 0.92);
}

.tip-text {
  margin: 0;
  min-height: 52px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: #e4eedc;
  transition: opacity 0.28s ease;
}

.tip-dots {
  margin-top: 14px;
  display: flex;
  gap: 8px;
}

.tip-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(132, 168, 88, 0.34);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.tip-dots span.active {
  background: #d4843a;
  transform: scale(1.3);
}

.progress-line {
  width: 100%;
  height: 6px;
  border-radius: 2px;
  background: rgba(100, 130, 70, 0.28);
  overflow: hidden;
}

.progress-runner {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5a7a38, #d4843a);
  filter: drop-shadow(0 0 8px rgba(212, 132, 58, 0.45));
  animation: loadmove 2s ease-in-out infinite;
}

.small-note {
  margin: 10px 0 0;
  font-family: "Share Tech Mono", monospace;
  font-size: 12px;
  color: rgba(180, 204, 158, 0.78);
}

@keyframes loadmove {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(330%);
  }
}

@keyframes drift {
  0% {
    transform: scale(1.03) translateX(0);
  }
  100% {
    transform: scale(1.08) translateX(-12px);
  }
}

@media (max-width: 900px) {
  .layout {
    padding: 34px 24px;
  }

  .description {
    font-size: 15px;
  }

  .tip-text {
    min-height: 64px;
    font-size: 16px;
  }
}
