* {
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #0f0f14, #181824);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app {
  width: 1000px;
  background: #12121a;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* --- INPUT SCREEN --- */
.start-screen {
  text-align: center;
}

.start-screen h1 {
  margin-bottom: 8px;
}

.start-screen input {
  width: 280px;
  padding: 14px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 16px;
  margin-top: 20px;
}

.start-screen button {
  margin-left: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  border: none;
  background: #7c5cff;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.loading {
  margin-top: 20px;
  opacity: 0.7;
}

/* --- MAIN SCREEN --- */
.main {
  display: none;
  gap: 24px;
}

.mascots {
  width: 220px;
  background: #161622;
  border-radius: 16px;
  padding: 16px;
}

.mascots h3 {
  margin-bottom: 12px;
}

.mascot {
  background: #1d1d2b;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  text-align: center;
  transition: 0.2s;
}

.mascot:hover {
  background: #26263a;
}

.mascot.active {
  outline: 2px solid #7c5cff;
}

/* --- CARD --- */
.card-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  width: 680px;
  height: 370px;
  border-radius: 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),
    url(/img/back.29037f6e41b07cdc86eb.png);
  background-position: center;
  background-size: cover;
  backdrop-filter: blur(20px);
  position: relative;
  padding: 20px;
  overflow: hidden;
}

.bulk-logo {
  width: 80px;
  position: absolute;
  top: 16px;
  right: 18px;
  font-weight: 800;
  letter-spacing: 1px;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #000;
  overflow: hidden;
}

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

.username {
  margin-top: 10px;
  font-weight: 600;
}

.text {
  margin-top: 18px;
  font-size: 26px;
  font-weight: 700;
}

.mascot-preview {
  position: absolute;
  right: -40px;
  font-size: 140px;
  opacity: 0.9;
}

.decor {
  position: absolute;
  bottom: 15px;
  left: 20px;
  font-size: 12px;
  opacity: 0.7;
}
.buttons {
  display: none;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

#share,
#download {
  color: #fff;
  background: #1d1d2b;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  text-align: center;
  transition: 0.2s;
  font-size: 16px;
}

#share:hover,
#download:hover {
  background: #26263a;
}

.backs {
  width: 220px;
  background: #161622;
  border-radius: 16px;
  padding: 16px;
}

.backs h3 {
  margin-bottom: 12px;
}

.back {
  background: #1d1d2b;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  text-align: center;
  transition: 0.2s;
}

.back:hover {
  background: #26263a;
}

.back.active {
  outline: 2px solid #7c5cff;
}

