* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  background:
    linear-gradient(rgba(5, 8, 20, 0.15), rgba(5, 8, 20, 0.15)),
    url("icons/back.png") center center / 100% 100% no-repeat fixed;
  color: #f8fafc;
  min-height: 100vh;
}

.app {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

h1 {
  margin: 0 0 1rem;
  color: #ffd166;
  text-shadow: 0 0 12px rgba(255, 209, 102, 0.45);
}

.vegas-strip {
  margin: 0 0 1rem;
  color: #f472b6;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(244, 114, 182, 0.55);
}

.status {
  margin: 0 0 1.5rem;
  color: #67e8f9;
}

.card {
  background: linear-gradient(180deg, rgba(17, 27, 46, 0.55), rgba(15, 23, 42, 0.55));
  border: 1px solid rgba(159, 18, 57, 0.6);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.25), 0 14px 30px rgba(2, 6, 23, 0.5);
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

button {
  appearance: none;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(225, 29, 72, 0.75), rgba(245, 158, 11, 0.75));
  color: #fff;
  padding: 0.6rem 1rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 0 16px rgba(225, 29, 72, 0.4);
}

button:disabled {
  background: #64748b;
  cursor: not-allowed;
  box-shadow: none;
}

.form {
  display: grid;
  gap: 0.6rem;
}

label {
  font-size: 0.95rem;
}

input {
  border: 1px solid rgba(21, 94, 117, 0.7);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.5);
  color: #e2e8f0;
  padding: 0.6rem 0.7rem;
}

.hint {
  margin: 0.2rem 0;
  color: #bae6fd;
}

.scanner {
  width: 100%;
  max-width: 380px;
  border-radius: 10px;
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}

.hidden {
  display: none;
}

.modal-content {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(30, 27, 75, 0.6));
  border: 1px solid rgba(245, 158, 11, 0.75);
  border-radius: 12px;
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
}
