/* Customer invitation page (/g/:code) — dark design. */
:root {
  --blue: #2565ED;
  --beige: #F9F6EE;
  --pink: #F6AECE;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--blue);
  color: var(--beige);
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

.card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 40px 20px;
  overflow: hidden;
  text-align: center;
  background: var(--blue);
  border: 1px solid rgba(249, 246, 238, 0.2);
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card::before,
.card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.card::before {
  top: -50px; left: -50px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(246, 174, 206, 0.15) 0%, transparent 70%);
}
.card::after {
  bottom: -50px; right: -50px; width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(249, 246, 238, 0.1) 0%, transparent 70%);
}
.card > * { position: relative; z-index: 1; }

.logo { display: block; width: 110px; margin: 0 auto 30px; }

.greeting {
  margin: 0 0 30px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
}

.qr {
  display: inline-block;
  padding: 20px;
  background: var(--beige);
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.qr svg { display: block; width: 180px; height: 180px; }

.qr-label { margin-top: 10px; font-size: 14px; opacity: 0.9; }
.qr-code { margin-top: 2px; font-size: 13px; letter-spacing: 3px; opacity: 0.6; direction: ltr; }

.notice {
  margin: 0 auto;
  padding: 18px 25px;
  width: 85%;
  background: var(--beige);
  color: var(--blue);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.conditions {
  margin: 25px 0 0;
  padding: 0 35px 0 15px;
  text-align: right;
  color: rgba(249, 246, 238, 0.95);
  font-size: 16px;
  line-height: 1.8;
}

.location-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--beige);
  color: var(--blue);
  text-decoration: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.location-btn svg { width: 18px; height: 18px; }
