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

html, body {
  height: 100%;
}

body {
  background: #356DB7;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 420px;
  margin: auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 42px;
  position: relative;
}

.wave {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome-text {
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 20px;
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.1s forwards;
}

.logo {
  width: 170px;
  max-width: 50vw;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.2s forwards;
}

.btn {
  width: 100%;
  height: 56px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.08s ease, filter 0.08s ease;
  margin-bottom: 16px;
  opacity: 0;
}

.btn:active {
  transform: scale(0.97);
  filter: brightness(0.88);
}

.btn-login {
  background: #E26012;
  color: #fff;
  animation: fadeUp 0.5s ease 0.3s forwards;
}

.btn-guest {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: fadeUp 0.5s ease 0.4s forwards;
}

.footer {
  margin-top: 36px;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  line-height: 1.9;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.5s forwards;
}

#installBtn {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 65px;
  height: 65px;
  background: #fff;
  color: #2E6AB1;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#installBtn:active {
  transform: scale(0.93);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#installBtn span {
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
  color: #2E6AB1;
}

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

@media (max-width: 390px) {
  .container {
    padding: 32px 30px;
  }
  .logo {
    width: 150px;
  }
  .welcome-text {
    font-size: 20px;
  }
}
