/* WPLaws.ai — Desktop / tablet gate */

.device-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  isolation: isolate;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: #08080a;
  color: #f4f4f6;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  text-align: center;
  overflow: hidden;
}

.device-gate::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: 0;
  background: url('../assets/walalangi/kantor-wp-1.webp') center center / cover no-repeat;
  filter: brightness(0.25) blur(12px);
  pointer-events: none;
}

.device-gate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 8, 12, 0.85);
  pointer-events: none;
}

.device-gate-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 440px;
  padding: 32px;
  background: rgba(18, 18, 24, 0.85);
  border: 1px solid rgba(197, 164, 103, 0.3);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.device-gate-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.device-gate-logo {
  width: 64px;
  height: 64px;
}

.device-gate-name {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.2;
  color: #ffffff;
}

.device-gate-inner p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(244, 244, 246, 0.8);
}

.device-gate-inner p strong {
  color: #f3e2b8;
}

html.device-restricted,
html.device-restricted body,
body.device-restricted {
  overflow: hidden !important;
}

html.device-restricted body > :not(.device-gate),
body.device-restricted > :not(.device-gate) {
  display: none !important;
}

html.device-restricted .device-gate,
body.device-restricted .device-gate {
  display: flex;
}
