/* ===== Global ===== */
:root {
  --accent: #ffb300;
  --bg: #fffaf0;
  --text: #222;
  --card: #fff;
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== Layout ===== */
.container {
  width: 90%;
  max-width: 600px;
  margin: 60px auto;
  background: var(--card);
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.hidden {
  display: none;
}

h1, h2, h3 {
  margin-top: 0;
}

p {
  line-height: 1.6;
}

/* ===== Buttons ===== */
button {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  transition: transform 0.1s ease, background 0.2s ease;
}

button:hover {
  transform: scale(1.05);
  background: #ffc933;
}


/* ===== Inputs ===== */
input[type="text"] {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 80%;
  font-size: 1rem;
}

/* ===== Quiz ===== */
.answers label {
  display: block;
  background: #f9f9f9;
  padding: 10px;
  margin: 6px 0;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, border 0.2s ease;
}

.answers label:hover {
  background: #fff3d6;
  border-color: var(--accent);
}

/* ===== Badge ===== */
#boomer-badge {
  max-width: 220px;
  margin: 25px auto;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
  animation: pop 0.5s ease;
}

@keyframes pop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ===== Footer ===== */
footer {
  margin-top: auto;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  padding: 25px 0;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .container {
    margin: 30px auto;
    padding: 20px;
  }

  button {
    width: 100%;
  }

  input[type="text"] {
    width: 100%;
  }
}
#share-invite {
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: 15px;
}

hr {
  border-top: 1px dashed #ccc;
}

.secondary-btn {
  background: #fff;
  border: 2px solid var(--accent);
  color: #000;
  margin-top: 5px;
}

.secondary-btn:hover {
  background: #fff7d4;
  transform: scale(1.03);
}
/* ===== Share Menu ===== */
#share-menu {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.share-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

.share-menu-content {
  position: relative;
  background: #fffdf6;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 90%;
  max-width: 400px;
  animation: popIn 0.25s ease;
}

#share-categories button,
#share-options button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border-radius: 10px;
  border: 2px solid var(--accent);
  background: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

#share-categories button:hover,
#share-options button:hover {
  background: #fff3c1;
  transform: scale(1.03);
}

#share-back {
  margin-top: 10px;
  border: none;
  background: transparent;
  color: #333;
  font-size: 0.9rem;
  cursor: pointer;
}

@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.hidden {
  display: none !important;
}
