@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --orange: #F7931E;
  --black: #000000;
  --white: #FFFFFF;
  --gray: #A3A3A3;
  --surface: #111111;
  --border: #303030;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--white);
  background:
    radial-gradient(
      circle at 50% 40%,
      #2b1b0b 0%,
      #000000 55%
    );
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.container {
  width: min(1120px, 100%);
  min-height: 100vh;
  margin: auto;
  padding: 30px 40px 20px;
  display: flex;
  flex-direction: column;
}

.navbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
}

.logo-icon {
  color: var(--orange);
  font-size: 29px;
}

.status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid #F7931E55;
  border-radius: 30px;
  background: #F7931E12;
  color: var(--orange);
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px #F7931E80;
  animation: pulse 1.5s infinite;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
  padding: 50px 0;
}

.visual {
  min-height: 370px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}

.visual::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: var(--orange);
  filter: blur(100px);
  opacity: 0.14;
  z-index: -1;
}

.orbit {
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid #F7931E40;
  border-radius: 50%;
}

.orbit-one {
  animation: rotate 25s linear infinite;
}

.orbit-two {
  width: 220px;
  height: 220px;
  border-style: dashed;
  border-color: #FFFFFF30;
  animation: rotate 18s linear infinite reverse;
}

.main-icon {
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  padding: 35px;
  color: var(--orange);
  background: linear-gradient(145deg, #202020, #080808);
  border: 1px solid #F7931E80;
  border-radius: 36px;
  box-shadow: 0 0 65px #F7931E18;
  animation: float 4s ease-in-out infinite;
}

.main-icon svg {
  width: 100%;
  height: 100%;
}

.gear {
  position: absolute;
  color: var(--orange);
  font-size: 48px;
  animation: rotate 12s linear infinite;
}

.gear-one {
  top: 30px;
  right: 35px;
}

.gear-two {
  bottom: 30px;
  left: 35px;
  color: var(--white);
  font-size: 35px;
  animation-direction: reverse;
}

.spark {
  position: absolute;
  color: var(--orange);
  font-size: 27px;
  animation: pulse 2s infinite;
}

.spark-one {
  top: 45px;
  left: 55px;
}

.spark-two {
  right: 25px;
  bottom: 75px;
  color: var(--white);
}

.spark-three {
  right: 10px;
  top: 48%;
  font-size: 17px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(35px, 4vw, 51px);
  line-height: 1.18;
  letter-spacing: -2px;
}

h1 span {
  display: block;
  color: var(--orange);
}

.description {
  max-width: 450px;
  color: #BDBDBD;
  font-size: 14px;
  line-height: 1.9;
}

.progress-section {
  margin-top: 30px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
  color: #D4D4D4;
  font-size: 12px;
}

#progress-text {
  color: var(--orange);
  font-weight: 700;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  background: #292929;
  border-radius: 20px;
}

.progress-fill {
  width: 75%;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
  animation: progress-glow 2s infinite alternate;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-primary,
.btn-secondary {
  min-height: 47px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  color: var(--black);
  background: var(--orange);
  border: 1px solid var(--orange);
  box-shadow: 0 5px 25px #F7931E20;
}

.btn-primary:hover {
  background: #FFAA42;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px #F7931E40;
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.refresh-icon {
  font-size: 19px;
}

.btn-secondary {
  color: var(--white);
  background: #111111;
  border: 1px solid #444444;
}

.btn-secondary:hover {
  border-color: var(--orange);
  background: #191919;
}

.message {
  min-height: 20px;
  margin-top: 14px;
  color: var(--orange);
  font-size: 12px;
  line-height: 1.6;
}

.footer {
  padding-top: 20px;
  border-top: 1px solid #292929;
  color: #888888;
  font-size: 11px;
}

.heart {
  color: var(--orange);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes progress-glow {
  from {
    filter: brightness(0.9);
  }
  to {
    filter: brightness(1.2);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 24px 22px 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 30px 0;
  }

  .visual {
    min-height: 270px;
  }

  .orbit {
    width: 220px;
    height: 220px;
  }

  .orbit-two {
    width: 170px;
    height: 170px;
  }

  .main-icon {
    width: 110px;
    height: 110px;
    padding: 28px;
    border-radius: 28px;
  }

  .gear-one {
    right: calc(50% - 130px);
  }

  .gear-two {
    left: calc(50% - 130px);
  }

  .spark-one {
    left: calc(50% - 115px);
  }

  .content {
    text-align: center;
  }

  h1 {
    font-size: clamp(32px, 8vw, 44px);
  }

  .description {
    margin: auto;
  }

  .actions {
    justify-content: center;
  }

  .progress-info {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .container {
    padding-inline: 16px;
  }

  .logo {
    font-size: 15px;
  }

  .status {
    padding: 8px 10px;
    font-size: 10px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .actions > * {
    flex: 1;
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}