:root {
  --bg-start: #eef3fb;
  --bg-end: #e4ecf8;
  --card: #ffffff;
  --ink: #111010;
  --ink-muted: #5a5a5a;
  --accent: rgb(23, 95, 219);
  --accent-hover: #1a4fc4;
  --accent-light: #eff4ff;
  --border: #e5e8ef;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(23, 95, 219, 0.08);
  --shadow-md: 0 8px 32px rgba(23, 95, 219, 0.12);
  --shadow-icon: 0 12px 28px rgba(23, 95, 219, 0.18);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--bg-start) 0%, var(--bg-end) 50%, #dce6f5 100%);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-align: center;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 2rem 1rem 6.5rem;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 520px;
  margin: 2rem auto 4rem;
  padding: 3rem 2rem;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.app-icon-wrap {
  animation: fadeUp 0.6s ease-out both;
}

.app-icon-wrap p {
  line-height: 0;
}

.app-icon-wrap img {
  max-width: 7.5rem;
  width: 100%;
  height: auto;
  border-radius: 22%;
  box-shadow: var(--shadow-icon);
  animation: float 4s ease-in-out infinite;
}

.app-infor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  animation: fadeUp 0.6s ease-out 0.1s both;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

p {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--ink-muted);
  font-weight: 400;
  line-height: 1.7;
  max-width: 480px;
  word-wrap: break-word;
}

.app-link {
  animation: fadeUp 0.6s ease-out 0.2s both;
}

.app-link a {
  display: inline-block;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.app-link a:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 12px rgba(23, 95, 219, 0.2));
}

.app-link img {
  max-width: 200px;
  width: 100%;
  height: auto;
}

.link-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.6s ease-out 0.3s both;
}

.link-list a {
  display: inline-block;
  text-decoration: none;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.link-list a:hover {
  color: var(--accent-hover);
  background-color: var(--accent-light);
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, #1a5fd4 0%, var(--accent) 40%, #1550b8 100%);
  color: white;
  text-align: center;
  padding: 1rem 1.25rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -4px 24px rgba(23, 95, 219, 0.25);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  max-width: 520px;
  margin: 0 auto;
}

.footer-brand {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-brand:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.footer-copy {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.footer-domain {
  font-weight: 600;
  color: #ffffff;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 480px) {
  body {
    padding: 1rem 1rem 6.5rem;
  }

  .footer {
    padding: 0.85rem 1rem;
    padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-brand {
    font-size: 0.88rem;
  }

  .footer-copy {
    font-size: 0.72rem;
  }

  .container {
    margin: 1rem auto 3.5rem;
    padding: 2rem 1.25rem;
    gap: 1.25rem;
    border-radius: var(--radius);
  }

  .app-icon-wrap img {
    max-width: 6rem;
  }

  .app-link img {
    max-width: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
