/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(82, 38, 255, 0.34), transparent 34%),
    radial-gradient(circle at top right, rgba(18, 199, 214, 0.26), transparent 30%),
    radial-gradient(circle at bottom center, rgba(95, 56, 255, 0.2), transparent 40%),
    linear-gradient(160deg, #081226 0%, #101b3d 46%, #1a0f2f 100%);
  color: #eaf4ff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow-x: hidden;
}

/* Logo */
.about-logo {
  display: block;
  width: 122px;
  height: auto;
  margin: 0 auto 14px;
  padding: 12px 14px;
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(103, 166, 187, 0.18);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  filter: drop-shadow(0 0 14px rgba(92, 221, 233, 0.18));
}

/* Container Glass Card */
.container {
  background: linear-gradient(180deg, rgba(15, 25, 52, 0.84), rgba(10, 16, 35, 0.9));
  backdrop-filter: blur(16px);
  padding: 25px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  margin-top: 40px;
  border: 1px solid rgba(121, 221, 255, 0.18);
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

h2 {
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 22px;
  color: #eef6ff;
}

.field-label {
  display: block;
  text-align: left;
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(234, 244, 255, 0.8);
}

/* Inputs */
input[type="text"],
select {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid rgba(121, 221, 255, 0.2);
  outline: none;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #eef6ff;
  transition: all 0.3s ease;
}

.select-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(121, 221, 255, 0.95) 50%),
    linear-gradient(135deg, rgba(121, 221, 255, 0.95) 50%, transparent 50%),
    linear-gradient(to right, rgba(121, 221, 255, 0.18), rgba(121, 221, 255, 0.18));
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px),
    calc(100% - 3rem) 50%;
  background-size: 6px 6px, 6px 6px, 1px 60%;
  background-repeat: no-repeat;
  padding-right: 3rem;
  cursor: pointer;
}

.select-control option {
  background: #111a36;
  color: #eef6ff;
}

.select-control:hover {
  border-color: rgba(18, 199, 214, 0.7);
  box-shadow: 0 0 0 3px rgba(18, 199, 214, 0.1);
}

input[type="text"]::placeholder {
  color: rgba(234, 244, 255, 0.62);
}

input[type="text"]:focus,
select:focus {
  border-color: #12c7d6;
  box-shadow: 0 0 0 3px rgba(18, 199, 214, 0.16);
}

/* Color Pickers */
.colors {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 10px;
  margin-top: 10px;
}

.colors label {
  font-size: 14px;
  color: #eef6ff;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(121, 221, 255, 0.16);
  cursor: pointer;
  width: 48%;
  text-align: left;
}

/* Generate Button */
button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #12c7d6, #7f5cff);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 5px;
  box-shadow: 0 4px 14px rgba(18, 199, 214, 0.28);
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(127, 92, 255, 0.38);
}

/* QR Preview Box */
#qrcode {
  margin-top: 18px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-block;
  border: 2px dashed rgba(121, 221, 255, 0.35);
  transition: all 0.3s ease;
}

#qrcode:hover {
  border-color: #12c7d6;
}

/* Download Button */
#downloadBtn {
  display: none;
  margin-top: 14px;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, #00b55a, #00d468);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0, 200, 95, 0.35);
  transition: 0.3s ease;
}

#downloadBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 200, 95, 0.5);
}

/* Footer */
.footer {
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: rgba(234, 244, 255, 0.72);
  padding: 14px 0;
  background: rgba(8, 18, 38, 0.62);
  border-top: 1px solid rgba(121, 221, 255, 0.14);
  backdrop-filter: blur(8px);
}

.footer-logo {
  height: 28px;
  margin-left: 8px;
  opacity: 0.8;
  transition: 0.3s;
  margin-top: 4px;
}

.footer-logo:hover {
  opacity: 1;
  transform: scale(1.05);
  cursor: pointer;
}

/* Mobile */
@media (max-width: 400px) {
  .container {
    width: 90%;
    margin-top: 20px;
  }
}
