* {
  box-sizing: border-box;
}

body,
button,
input,
select,
textarea {
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0b0f19;
  color: #f8fafc;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

nav,
.title,
.registration,
hr,
.guide,
footer {
  position: relative;
  z-index: 1;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 960px;
  margin: 0 auto;
}

img {
  max-width: 100%;
}

h1 {
  font-family: 'Michroma', sans-serif;
  font-size: 32px;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
}

a {
  color: #38bdf8;
  text-decoration: none;
}

hr {
  border: none;
  border-top: 1px solid #1e293b;
  margin: 30px auto;
  max-width: 960px;
}

.rsvp {
  background: #ec4899;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
}

.rsvp:hover {
  background: #db2777;
}

.title,
.registration,
.guide {
  width: 92%;
  max-width: 860px;
  margin: 20px auto;
}

.title {
  background: #000;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.guide {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide div {
  padding: 20px;
  border-radius: 10px;
}

.step1 {
  background: #b91c1c;
  color: #fff;
}

.step2 {
  background: #0369a1;
  color: #fff;
}

.step3 {
  background: #15803d;
  color: #fff;
}

.registration {
  margin: 30px auto;
}

.emailbox {
  background: #111827;
  color: #fff;
  border: 1px solid #374151;
  border-radius: 6px;
  width: 300px;
  max-width: 100%;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
}

.emailbox:focus {
  outline: none;
  border-color: #38bdf8;
}

.signin {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
}

.signin:hover {
  background: #1d4ed8;
}

.signed-in-card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 10px;
  padding: 24px;
  margin-top: 20px;
}

.signed-in-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.signed-in-user-row h1 {
  font-size: 22px;
  margin: 0;
}

.highlight-user {
  color: #38bdf8;
}

.user-role-badge {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-admin {
  background: #450a0a;
  color: #fca5a5;
  border: 1px solid #991b1b;
}

.badge-participant {
  background: #082f49;
  color: #7dd3fc;
  border: 1px solid #075985;
}

.signed-in-note {
  color: #94a3b8;
  font-size: 13px;
  margin: 8px 0 16px;
}

.wip-banner {
  background: #451a03;
  border: 1px solid #92400e;
  color: #fef08a;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wip-banner .wip-icon {
  font-size: 20px;
}

.wip-banner .wip-message {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.signed-in-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.logout-btn {
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
}

.logout-btn:hover {
  background: #b91c1c;
}

footer {
  background: #020617;
  color: #64748b;
  padding: 24px;
  text-align: center;
  font-size: 13px;
  margin-top: 40px;
}

footer a {
  color: #94a3b8;
  margin: 0 10px;
}

footer a:hover {
  color: #fff;
}

.bg-marquee-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.07;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.bg-marquee-row {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.bg-marquee-content {
  display: flex;
  flex-shrink: 0;
  gap: 20px;
}

.bg-marquee-content img {
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: #94a3b8;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

@media (max-width: 768px) {
  h1 {
    font-size: 24px;
  }

  .emailbox {
    width: 100%;
  }

  .signin {
    width: 100%;
    margin-top: 8px;
  }

  .nav-links {
    gap: 12px;
  }
}

.psst {
  text-align: center;
  font-size: 14px;
  color: #94a3b8;
  margin-top: 20px;
}