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

body {
  font-family: 'Roboto', sans-serif;
  background: #000;
  min-height: 100vh;
  overflow-x: hidden;
}

.page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #000;
}

/* Background pattern */
.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.bg-pattern-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2250px;
  height: 1624px;
  max-width: none;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 54px;
  padding: 10px 16px;
  background: rgba(34, 34, 34, 0.84);
  backdrop-filter: blur(12.5px);
  -webkit-backdrop-filter: blur(12.5px);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 34px;
  text-decoration: none;
}

.logo-img {
  height: 34px;
  width: 133px;
  object-fit: contain;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 9px 16px;
  background: #1c93e3;
  border-radius: 17px;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  line-height: 17px;
  letter-spacing: 0;
}

.btn-download:hover {
  background: #1a85cc;
}

/* Card */
.card {
  position: relative;
  z-index: 10;
  width: 420px;
  margin: 87px auto 40px;
  background: #212429;
  border-radius: 16px;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Card Image Area */
.card-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.card-svg-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.card-svg-bg svg {
  display: block;
  width: 100%;
  height: 100%;
}

.card-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 3;
}

.card-lottie-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 200px;
  height: 200px;
  z-index: 2;
  pointer-events: none;
}

#lottiePlayer {
  width: 100%;
  height: 100%;
}

.card-bottom-info {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 4;
}

.gift-name {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 23px;
  line-height: 28px;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  margin: 0;
}

.card-collectible-badge {
  background: rgba(63, 69, 80, 0.22);
  padding: 2px 6px;
  border-radius: 1000px;
  white-space: nowrap;
}

.card-collectible-badge span {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  color: #dadfe2;
}

/* Card Table */
.card-table {
  margin: 20px 20px 0;
  border: 1px solid #33373d;
  border-radius: 8px;
  overflow: hidden;
}

.card-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.card-table tr:not(:first-child) .cell-label,
.card-table tr:not(:first-child) .cell-data {
  border-top: 1px solid #33373d;
}

.cell-label {
  width: 103px;
  background: #262a2e;
  padding: 9px 12px;
  vertical-align: top;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 18px;
  color: #fff;
  white-space: nowrap;
}

.cell-label span {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}

.cell-data {
  padding: 9px 12px 9px 13px;
  border-left: 1px solid #33373d;
  vertical-align: top;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  color: #fff;
  white-space: nowrap;
}

tr:first-child .cell-label {
  padding-bottom: 27.5px;
}

.owner-address {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13.2px;
  line-height: 18px;
  color: #fff;
  white-space: normal;
  word-break: break-all;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #23313e;
  border-radius: 9px;
  padding: 2px 5px 2px 6px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  color: #30aafd;
  white-space: nowrap;
  vertical-align: middle;
}

.badge-space {
  margin-left: 1px;
}

/* CTA Button */
.card-cta {
  display: flex;
  justify-content: center;
  padding: 4px 0 20px;
  margin-top: 20px;
}

.btn-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px 12px;
  border-radius: 22px;
  background: linear-gradient(90deg, #1c93e3 0%, #1c93e3 100%);
  background-image: linear-gradient(270deg, rgba(100, 181, 239, 0) 48.44%, rgb(100, 181, 239) 75.52%, rgba(100, 181, 239, 0) 100%), linear-gradient(90deg, #1c93e3 0%, #1c93e3 100%);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.btn-telegram:hover {
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 480px) {
  .card {
    width: calc(100% - 32px);
    margin: 70px 16px 40px;
  }
}
