/* LORDS EXCH login clone
   - Pixel-conscious styling inspired by the provided screenshot
   - No external images (except optional Google Fonts); fully self-contained assets.
   - Accessible labels, clear focus states, and responsive layout.
*/

:root {
  --bg: #121416;
  --card-bg: #1c2226;
  --field-bg: #2a3136;
  --field-border: #384047;
  --field-text: #e7eef5;
  --muted: #9aa4ad;
  --accent: #0ea5b5;
  --btn-bg: #0f5b65;
  --btn-bg-hover: #14707b;
  --btn-text: #dff7fb;
  --shadow: 0 8px 30px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--field-text);
  background: var(--bg);
}

.page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  z-index: 1;
}

/* Honeycomb / hex pattern background */
.bg-pattern {
  position: fixed;
  inset: 0;
  background:
    radial-gradient( circle at 1px 1px, rgba(255,255,255,.04) 1px, rgba(0,0,0,0) 1px ) 0 0 / 12px 12px,
    radial-gradient( circle at 7px 7px, rgba(255,255,255,.03) 1px, rgba(0,0,0,0) 1px ) 0 0 / 12px 12px,
    linear-gradient(#0e1012, #151a1e);
  filter: contrast(100%);
  pointer-events: none;
}

/* Card */
.login-card {
  width: min(520px, 92vw);
  background: transparent;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.logo {
  width: 340px;
  max-width: 80vw;
  height: auto;
  user-select: none;
}

/* Form */
.form {
  width: 100%;
  padding-top: 6px;
}

.field {
  margin: 10px 0 14px;
  display: grid;
  gap: 8px;
}

label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .2px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  appearance: none;
  border: 1px solid var(--field-border);
  background: var(--field-bg);
  color: var(--field-text);
  border-radius: 4px;
  height: 42px;
  padding: 0 14px;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

input::placeholder {
  color: #b7c0c7;
  opacity: .75;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14,165,181,.25);
}

/* Button */
.btn {
  width: 100%;
  border: none;
  height: 40px;
  border-radius: 4px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  letter-spacing: .2px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .06s ease, background .15s ease, box-shadow .15s ease;
}

.btn:hover { background: var(--btn-bg-hover); }
.btn:active { transform: translateY(1px); box-shadow: 0 4px 18px rgba(0,0,0,.45); }
.btn:disabled { opacity: .7; cursor: not-allowed; }

/* Captcha copy */
.captcha-copy {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

.captcha-copy a {
  color: #b8e5ee;
  text-decoration: none;
  border-bottom: 1px dotted rgba(184,229,238,.6);
}
.captcha-copy a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #0a1013;
  border-top: 1px solid rgba(255,255,255,.05);
  z-index: 2;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.footer-links a {
  color: #c7d3dc;
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

.footer-links .sep {
  opacity: .45;
  user-select: none;
}

.badges { display: flex; gap: 8px; align-items: center; }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #152127;
  border: 1px solid rgba(255,255,255,.08);
  color: #d4e0e8;
  white-space: nowrap;
}

.badge-pill {
  width: 40px; height: 40px;
  padding: 0;
  border-radius: 50%;
  font-weight: 700;
}

/* Responsiveness */
@media (max-width: 380px) {
  .badge { display: none; }
  .badge.badge-pill { display: inline-flex; }
}

/* Content page styling */
.content-card {
  max-width: 800px;
  background: rgba(28, 34, 38, 0.85);
  padding: 32px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  color: var(--field-text);
  line-height: 1.6;
}

.content-card h1 {
  margin-top: 0;
  font-size: 2rem;
  margin-bottom: 12px;
}

.content-card h2 {
  margin-top: 24px;
  font-size: 1.4rem;
}

.content-card ul, .content-card ol {
  margin-left: 20px;
  padding-left: 10px;
}

/* Modal backdrop */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 200;
  inset: 0;
  background-color: rgba(0,0,0,0.7);
  padding-top: 60px;
}

/* Modal box */
.modal-content {
  background-color: #1c2226;
  margin: auto;
  padding: 20px 26px;
  border: 1px solid rgba(255,255,255,0.1);
  width: 90%;
  max-width: 520px;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.6);
  color: #e7eef5;
  font-size: 15px;
  line-height: 1.5;
  position: relative;
}

/* Modal header */
.modal-content h2 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #e8d9b6;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}
.modal-close:hover { color: #fff; }

:root {
      --bg: #121416;
      --card-bg: #1c2226;
      --field-text: #e7eef5;
      --muted: #9aa4ad;
      --accent: #0ea5b5;
      --btn-bg: #0f5b65;
      --btn-bg-hover: #14707b;
      --btn-text: #dff7fb;
      --shadow: 0 8px 30px rgba(0,0,0,.45);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: "Poppins", system-ui, sans-serif;
      color: var(--field-text);
      background: var(--bg);
      line-height: 1.6;
    }
    .bg-pattern {
      position: fixed;
      inset: 0;
      background:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 12px 12px,
        radial-gradient(circle at 7px 7px, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 12px 12px,
        linear-gradient(#0e1012, #151a1e);
      pointer-events: none;
      z-index: -1;
    }
    .site-header {
      position: sticky;
      top: 0;
      background: #0a1013;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      z-index: 100;
    }
    .header-inner {
      max-width: 1120px;
      margin: 0 auto;
      padding: 10px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .header-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }
    .header-logo img {
      height: 40px;
      width: auto;
    }
    .logo-text {
      font-size: 1.4rem;
      font-weight: 700;
      color: #e8d9b6;
    }
    .header-nav {
      display: flex;
      gap: 18px;
    }
    .header-nav a {
      color: #d4e0e8;
      text-decoration: none;
      font-weight: 500;
      font-size: 15px;
    }
    .header-nav a:hover { color: var(--accent); }

    .page {
      display: flex;
      justify-content: center;
      padding: 40px 20px;
    }
    .content-card {
      max-width: 800px;
      background: rgba(28,34,38,.85);
      padding: 32px;
      border-radius: 10px;
      box-shadow: var(--shadow);
    }
    .content-card h1 {
      font-size: 2rem;
      margin-bottom: 12px;
    }
    .content-card h2 {
      margin-top: 24px;
      font-size: 1.4rem;
      color: #c7d3dc;
    }
    .content-card ul, .content-card ol {
      margin-left: 20px;
      padding-left: 10px;
    }
    .site-footer {
      margin-top: 40px;
      background: #0a1013;
      border-top: 1px solid rgba(255,255,255,.05);
    }
    .footer-inner {
      max-width: 1120px;
      margin: 0 auto;
      padding: 12px 18px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
    }
    .footer-links {
      display: flex;
      gap: 8px;
      font-size: 13px;
      color: var(--muted);
    }
    .footer-links a { color: #c7d3dc; text-decoration: none; }
    .footer-links a:hover { text-decoration: underline; }
    .sep { opacity: .45; }
    .badges { display: flex; gap: 8px; }
    .badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 12px;
      background: #152127;
      border: 1px solid rgba(255,255,255,.08);
      color: #d4e0e8;
    }
    .badge-pill {
      width: 40px; height: 40px;
      border-radius: 50%;
      font-weight: 700;
    }

