/* SK dev — full-page business card (adaptive, no scroll) */

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

html,
body {
  height: 100%;
}

body {
  background-color: #000000;
  font-family: "Courier Prime", monospace;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.card {
  position: relative;
  width: 600px;
  height: 400px;
  background-image: url("/card-bg.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 45px;
}

.card-content {
  text-align: center;
  color: #1a1a1a;
  line-height: 1.4;
  transform: translateY(10px);
}

.emboss {
  background-image: url("/card-bg.jpg");
  background-size: 600px 400px;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: brightness(0.35) contrast(1.8) saturate(0.6);
  opacity: 0.82;
}

.title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 24px;
}

.contacts-label {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 2px;
}

.contact-link {
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Mobile: scale the card to viewport width, keep 3:2 aspect ratio */
@media (max-width: 640px) {
  .card {
    width: 90vw;
    height: 60vw;
    padding-bottom: 6.5%;
  }
  .emboss {
    background-size: 90vw 60vw;
  }
  .card-content {
    transform: translateY(1.5vw);
  }
  .title {
    font-size: 3.8vw;
  }
  .subtitle {
    font-size: 2.2vw;
    margin-bottom: 4%;
  }
  .contacts-label {
    font-size: 2.2vw;
  }
  .contact-link {
    font-size: 2.4vw;
  }
}
