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

a {
  text-decoration: none;
}

body {
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100svh;
  font-weight: 400;
  line-height: 1.47;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
  padding: 20px 16px;
}

.background {
  display: none;
}

.page-content {
  display: flex;
  width: 100%;
  max-width: 375px;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 60px;
}

.user-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.page-content a {
  text-decoration: none;
}

.header-logo {
  display: flex;
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.header-logo:hover {
  opacity: 1;
}

.user-info {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.user-name {
  margin-top: 12px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: #1d1d1f;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.verified-badge {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.user-account-name {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.2px;
  color: #86868b;
}

.location-info {
  margin-top: 12px;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

#time-in-current-location {
  text-align: center;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  width: 100%;
  max-width: 300px;
}

.current-location {
  display: flex;
  margin-top: 0;
  align-items: center;
  justify-content: center;
}

#location-name {
  font-weight: 600;
  margin-left: 6px;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  font-size: 16px;
}

.user-status {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  position: relative;
  font-size: 15px;
  color: #34c759;
  font-weight: 500;
  justify-content: center;
}

.user-status::before {
  display: none;
}

.user-status.available::before {
  display: none;
}

.separator {
  display: none;
}

#available {
  display: flex;
  align-items: center;
  gap: 6px;
}

#available::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: #34c759;
  border-radius: 50%;
  display: block;
}

.respond-time {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #86868b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.clock {
  content: '';
  background-image: url(../images/clock.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 16px;
  height: 16px;
  opacity: 0.6;
  flex-shrink: 0;
}

.send-button {
  display: flex;
  margin-top: 20px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 300px;
  height: 50px;
  border: none;
  border-radius: 25px;
  padding: 0 24px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.2px;
}

.send-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

.send-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.btn-text {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.2px;
  text-transform: none;
}

.of-icon {
  margin-right: 8px;
  width: 20px;
  height: 20px;
}

.countdown-block {
  margin-top: 16px;
  text-align: center;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0;
  background: none;
}

.discount {
  color: #FF3B30;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 0 20px 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.1px;
  color: #86868b;
}

.timer-end {
  color: #86868b;
  font-weight: 400;
  font-size: 16px;
  margin-right: 8px;
}

#timer {
  color: #FF3B30;
  font-weight: 600;
  font-size: 16px;
  font-feature-settings: 'tnum';
}

@media screen and (max-width: 400px) {
  body {
    padding: 16px 12px;
  }
  
  .page-content {
    margin-top: 40px;
    padding: 28px 20px;
    max-width: 100%;
  }

  #time-in-current-location {
    font-size: 14px;
    max-width: 100%;
  }

  .location-info {
    max-width: 100%;
  }

  .send-button {
    max-width: 100%;
  }

  .header-logo {
    top: 16px;
    right: 16px;
  }

  .user-info {
    margin-top: 20px;
  }
  
  .user-name {
    font-size: 24px;
  }
  
  .user-avatar {
    width: 100px;
    height: 100px;
  }
}
