* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: Arial, sans-serif;
  color: white;
}

body {
  background:
    linear-gradient(rgba(5, 8, 30, 0.15), rgba(5, 8, 30, 0.35)),
    url("background.png?v=2") center center / cover no-repeat fixed;
}

/* front panel */
.screen {
  position: absolute;
  right: 5%;
  bottom: 8%;   /* 👈 move it down */

  width: 320px; /* 👈 smaller panel */
  padding: 24px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  background: rgba(5, 8, 30, 0.5);
  border: 1px solid rgba(155, 92, 255, 0.4);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(124, 60, 255, 0.4);
  backdrop-filter: blur(8px);
}
/* title */
.title-row {
  display: flex;
  align-items: center;
  gap: 10px; /* smaller gap */
}

.rocket {
  font-size: 28px;       /* smaller rocket */
  filter: drop-shadow(0 0 10px rgba(155, 92, 255, 0.7));
}

.screen h1 {
  font-size: 24px !important;   /* 👈 force smaller */
  line-height: 1.1;
  text-shadow: 0 0 8px #8b5cff;
  letter-spacing: 1px;
}

h2 {
  font-size: 46px;
  text-shadow: 0 0 22px #00d9ff;
}

p {
  text-align: center;
  font-size: 16px;
}

button {
  width: 200px;        /* smaller width */
  padding: 12px 18px; /* smaller height */
  border: none;
  border-radius: 14px;

  background: linear-gradient(135deg, #7c3cff, #00d9ff);
  color: white;

  font-size: 15px;     /* smaller text */
  font-weight: bold;

  cursor: pointer;
  box-shadow: 0 0 18px rgba(124, 60, 255, 0.6);
}

button:hover {
  transform: scale(1.05);
}

.small-btn {
  width: 170px;
  padding: 12px 20px;
  font-size: 15px;
  border-radius: 14px;
}

#walletText,
#txStatus {
  color: #bdf6ff;
  font-size: 14px;
  word-break: break-word;
}

canvas {
  display: none;
  width: 100vw;
  height: 100vh;
  background: #050816;
}

.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .screen {
    right: 50%;
    transform: translate(50%, -50%);
    width: 90%;
  }

  h1 {
    font-size: 44px;
  }
}
