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

html {
  min-width: 265px;
  scroll-behavior: smooth;
}

body {
  min-width: 265px;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, #ffbb14, #fc0338);
  min-height: 100vh;
  animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(4deg); }
}

.container {
  min-height: 100vh;
  margin: 0;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.container::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.content {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  display: block;
  width: min(100%, 512px);
  height: auto;
  margin-bottom: 3rem;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

h1 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
  letter-spacing: -0.02em;
}

.description {
  margin-bottom: 2.5rem;
  font-size: 1.25rem;
  line-height: 1.7;
  opacity: 0.92;
  max-width: 600px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.loader-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto;
  animation: spin 3s linear infinite;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.gear {
  width: 100%;
  height: 100%;
  stroke: rgba(255, 255, 255, 0.95);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 2rem;
  }

  .logo {
    width: min(100%, 420px);
  }

  h1 {
    font-size: 2rem;
  }

  .description {
    font-size: 1.125rem;
  }

  .loader-icon {
    width: 3.5rem;
    height: 3.5rem;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 1.5rem;
  }

  .logo {
    margin-bottom: 2.25rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  .description {
    font-size: 1rem;
  }
}
