/* Sky + Pixel Clouds theme
   Clean, minimalist design with pixel-art cloud animations
   Blue sky gradient with floating pixel clouds
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* html,
body {
  height: 100%;
} */

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  /* Sky gradient - from light blue to deeper blue */
  background: linear-gradient(
    180deg,
    #87ceeb 0%,
    #5ba3d0 40%,
    #4a90c7 70%,
    #3d7dbe 100%
  );
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #123;
  position: relative;
  /* overflow: hidden; */
}

/* Pixel clouds using box-shadow technique */
body::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow:
    /* Cloud 1 - top left */ 0 0 0 8px rgba(255, 255, 255, 0.85),
    16px 0 0 8px rgba(255, 255, 255, 0.85),
    32px 0 0 8px rgba(255, 255, 255, 0.85),
    48px 0 0 8px rgba(255, 255, 255, 0.85),
    8px 8px 0 8px rgba(255, 255, 255, 0.9),
    16px 8px 0 8px rgba(255, 255, 255, 0.9),
    24px 8px 0 8px rgba(255, 255, 255, 0.9),
    32px 8px 0 8px rgba(255, 255, 255, 0.9),
    40px 8px 0 8px rgba(255, 255, 255, 0.9),
    /* Cloud 2 - center */ 400px 80px 0 8px rgba(255, 255, 255, 0.8),
    416px 80px 0 8px rgba(255, 255, 255, 0.8),
    432px 80px 0 8px rgba(255, 255, 255, 0.8),
    408px 88px 0 8px rgba(255, 255, 255, 0.85),
    416px 88px 0 8px rgba(255, 255, 255, 0.85),
    424px 88px 0 8px rgba(255, 255, 255, 0.85),
    /* Cloud 3 - bottom right */ 700px 150px 0 8px rgba(255, 255, 255, 0.75),
    716px 150px 0 8px rgba(255, 255, 255, 0.75),
    732px 150px 0 8px rgba(255, 255, 255, 0.75),
    748px 150px 0 8px rgba(255, 255, 255, 0.75),
    708px 158px 0 8px rgba(255, 255, 255, 0.8),
    716px 158px 0 8px rgba(255, 255, 255, 0.8),
    724px 158px 0 8px rgba(255, 255, 255, 0.8),
    732px 158px 0 8px rgba(255, 255, 255, 0.8),
    740px 158px 0 8px rgba(255, 255, 255, 0.8);
  animation: floatCloud1 30s linear infinite;
  pointer-events: none;
}

body::after {
  content: '';
  position: absolute;
  top: 60%;
  right: 15%;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    /* Small cloud - right side */ 0 0 0 8px
      rgba(255, 255, 255, 0.7),
    16px 0 0 8px rgba(255, 255, 255, 0.7), 32px 0 0 8px rgba(255, 255, 255, 0.7),
    8px 8px 0 8px rgba(255, 255, 255, 0.75),
    16px 8px 0 8px rgba(255, 255, 255, 0.75),
    24px 8px 0 8px rgba(255, 255, 255, 0.75),
    /* Another small cloud */ -300px -150px 0 8px rgba(255, 255, 255, 0.65),
    -284px -150px 0 8px rgba(255, 255, 255, 0.65),
    -268px -150px 0 8px rgba(255, 255, 255, 0.65),
    -292px -142px 0 8px rgba(255, 255, 255, 0.7),
    -284px -142px 0 8px rgba(255, 255, 255, 0.7),
    -276px -142px 0 8px rgba(255, 255, 255, 0.7);
  animation: floatCloud2 25s linear infinite;
  pointer-events: none;
}

@keyframes floatCloud1 {
  0% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(30px) translateY(-10px);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes floatCloud2 {
  0% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(-25px) translateY(8px);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

/* Container: clean frosted glass effect */
.container {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  box-shadow: 0 8px 32px rgba(16, 40, 90, 0.12),
    0 2px 8px rgba(16, 40, 90, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  max-width: 1200px;
  width: 100%;
  padding: 48px;
  animation: fadeInScale 0.6s ease-out;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Icon */
.icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(240, 248, 255, 0.8)
  );
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  border: 2px solid rgba(135, 206, 235, 0.3);
  box-shadow: 0 4px 16px rgba(61, 125, 190, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.icon img {
  /* width: 48px;
  height: 48px; */
  opacity: 0.9;
}

/* Headings */
h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
  color: #2c5f7d;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
  letter-spacing: -0.5px;
}

.subtitle {
  text-align: center;
  color: #4a7b9d;
  margin-bottom: 36px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

/* Info box */
.info-box {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.65),
    rgba(240, 248, 255, 0.55)
  );
  border-left: 4px solid #5ba3d0;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(135, 206, 235, 0.25);
  box-shadow: 0 4px 12px rgba(61, 125, 190, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.info-box h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #3d7dbe;
  margin-bottom: 16px;
  font-weight: 700;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(135, 206, 235, 0.15);
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  color: #5b8aa8;
  font-size: 14px;
  font-weight: 500;
}

.info-value {
  color: #2c5f7d;
  font-weight: 600;
  font-size: 14px;
  font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
  background: rgba(135, 206, 235, 0.15);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(135, 206, 235, 0.25);
}

/* Status section */
.status {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-top: 28px;
  border: 1px solid rgba(135, 206, 235, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.status-text {
  color: #3d7dbe;
  font-size: 14px;
  line-height: 1.7;
}

/* SVG illustration */
.illustration {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
  background: rgba(17, 24, 39, 0.95);
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.illustration:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(135, 206, 235, 0.2);
  color: #5b8aa8;
  font-size: 13px;
  font-weight: 500;

  a {
    color: #4a7b9d;
    text-decoration: none;
    font-weight: 600;

    &:hover {
      color: #2c5f7d;
      text-decoration: underline;
    }
  }
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 36px 24px;
    border-radius: 16px;
  }

  h1 {
    font-size: 26px;
  }

  .subtitle {
    font-size: 14px;
  }

  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .info-value {
    width: 100%;
    word-break: break-all;
  }
}

@media (max-width: 480px) {
  body {
    padding: 16px;
  }

  .container {
    padding: 28px 20px;
  }

  h1 {
    font-size: 22px;
  }

  .icon {
    width: 64px;
    height: 64px;
  }

  .icon img {
    width: 36px;
    height: 36px;
  }
}
