* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  min-height: 100vh;
}

.page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, #6b5a44 0%, #8a7355 40%, #b7a483 70%, #c9b899 100%);
}

.bg-photo {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: -1;
  pointer-events: none;
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px 24px 120px;
  margin: 0 auto;
}

.logo-wrap {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #6b5d4a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  opacity: 0;
  animation: fade-up 0.7s ease-out 0.1s forwards;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.title {
  margin: 22px 0 8px;
  font-size: 21px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  opacity: 0;
  animation: fade-up 0.7s ease-out 0.25s forwards;
}

.subtitle {
  margin: 0 0 30px;
  font-size: 13.5px;
  font-weight: 600;
  color: #f1ede6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: fade-up 0.7s ease-out 0.38s forwards;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.link-btn {
  display: block;
  width: 100%;
  padding: 19px 20px;
  background: #d3cfc6;
  border-radius: 999px;
  color: #2b2620;
  font-size: 16.5px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  opacity: 0;
  animation: fade-up 0.6s ease-out forwards;
}

.links .link-btn:nth-child(1) { animation-delay: 0.5s; }
.links .link-btn:nth-child(2) { animation-delay: 0.6s; }

.link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.link-btn:active {
  transform: translateY(0);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 431px) {
  .card {
    padding-top: 96px;
    padding-bottom: 160px;
  }
}

@media (min-width: 900px) {
  .card {
    max-width: 480px;
    padding-top: 120px;
    padding-bottom: 220px;
  }

  .title {
    font-size: 26px;
  }

  .subtitle {
    font-size: 15px;
  }

  .logo-wrap {
    width: 132px;
    height: 132px;
  }

  .link-btn {
    font-size: 17px;
    padding: 21px 22px;
  }
}

@media (max-width: 360px) {
  .card {
    padding: 56px 18px 100px;
  }

  .logo-wrap {
    width: 96px;
    height: 96px;
  }

  .title {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-wrap, .title, .subtitle, .link-btn {
    animation: none;
    opacity: 1;
  }
}
