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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25)),
    url("../images/backgrounds/background_aincrad.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #263238;
  font-family: Arial, Helvetica, sans-serif;
}

/* Glass Card */
.glass-card {
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 48px);
  padding: 48px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

/* Main Container */
.container {
  width: 100%;
  max-width: 680px;
  text-align: center;
}

/* Status */
.system-label {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid rgba(100, 116, 139, 0.45);
  border-radius: 20px;
  color: #40556b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.35);
}

/* Logo */
.logo {
  margin-bottom: 16px;
  color: #1f2933;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -2px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.logo span {
  color: #557da4;
}

/* Content */
h1 {
  margin-bottom: 14px;
  color: #1f2933;
  font-size: 28px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.description {
  max-width: 520px;
  margin: 0 auto 32px;
  color: #40505f;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}

/* Progress */
.progress-box {
  padding: 20px;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #40556b;
  font-size: 13px;
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(203, 213, 225, 0.8);
}

.progress {
  width: 40%;
  height: 100%;

  border-radius: inherit;
  background: #668aad;

  animation: loading 1.8s ease-in-out infinite;
}

@keyframes loading {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(150%);
  }

  100% {
    transform: translateX(250%);
  }
}

/* Contact */
.contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.contact a {
  padding: 9px 15px;
  color: #405a73;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  transition: 0.2s ease;
}

.contact a:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Footer */
footer {
  color: #52677d;
  font-size: 12px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 500px) {
  body {
    padding: 16px;
  }
  .glass-card {
    max-height: calc(100vh - 32px);
    padding: 32px 24px;
  }
  .logo {
    font-size: 42px;
  }
  h1 {
    font-size: 24px;
  }
  .description {
    font-size: 14px;
  }
}
