:root {
  --cream: #FBF5EB;
  --navy: #182a4e;
  --red: #ec1c3d;
  --gold: #f4b813;
  --line: #ece4d4;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.hero { text-align: center; padding: 48px 20px 12px; }
.hero__logo {
  width: min(440px, 82%);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(24, 42, 78, 0.14));
}
.grid {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 20px 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 12px 28px rgba(24, 42, 78, 0.07);
}
.card h2 {
  margin: 0 0 16px;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  font-size: 24px;
}
.card--wifi { grid-column: 1 / -1; }

.field { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.field:last-child { border-bottom: none; }
.field__label { color: #8a8676; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.field__value { font-weight: 600; text-align: right; }

.wifi { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.wifi__details { flex: 1; min-width: 220px; }
.wifi__hint { font-family: 'Caveat', cursive; font-size: 20px; color: var(--red); margin: 14px 0 0; }

.field__value--copy { cursor: pointer; text-decoration: underline dotted rgba(24,42,78,0.35); text-underline-offset: 3px; }
.field__value--copy:hover { color: var(--red); }
.field__value--copied { color: #1d8a4c !important; text-decoration: none; }

.copy-btn {
  margin-top: 16px;
  border: none;
  cursor: pointer;
  background: var(--navy);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 11px 22px;
  border-radius: 999px;
  transition: transform 0.1s ease, background 0.15s ease;
}
.copy-btn:hover { transform: translateY(-1px); }
.copy-btn:active { transform: translateY(0); }
.copy-btn--done { background: #1d8a4c; }
.wifi__qr {
  width: 180px; height: 180px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid var(--navy); border-radius: 16px; padding: 10px;
}
.wifi__qr img, .wifi__qr canvas { display: block; }

.list { margin: 0; padding-left: 20px; }
.list li { padding: 5px 0; font-weight: 500; }

.error { text-align: center; color: var(--red); font-weight: 600; padding: 20px; }
.footer {
  text-align: center;
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 22px;
  padding: 30px 20px 40px;
}
.footer span { color: var(--gold); }
