:root {
  --gdp-bg: #f7f5f6;
  --gdp-paper: #ffffff;
  --gdp-primary: #e50645;
  --gdp-dark: #1b1633;
  --gdp-dark-2: #120f22;
  --gdp-gold: #ceb310;
  --gdp-muted: #6e6877;
  --gdp-line: rgba(255, 255, 255, 0.14);
}

.gdp-body {
  margin: 0;
  font-family: Poppins, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--gdp-bg);
  color: var(--gdp-dark);
}

.gdp-home-screen,
.gdp-gate-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background:
    radial-gradient(circle at top right, rgba(229, 6, 69, 0.28), transparent 32%),
    radial-gradient(circle at bottom left, rgba(206, 179, 16, 0.18), transparent 30%),
    linear-gradient(135deg, #1b1633 0%, #120f22 100%);
}

.gdp-home-card,
.gdp-gate-card {
  width: min(100%, 620px);
  padding: clamp(28px, 5vw, 52px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.26);
  color: #fff;
  backdrop-filter: blur(16px);
}

.gdp-home-logo,
.gdp-gate-logo {
  width: 190px;
  max-width: 72%;
  display: block;
  margin: 0 0 30px;
}

.gdp-gate-eyebrow {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffdbe6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gdp-home-card h1,
.gdp-gate-card h1 {
  margin: 18px 0 12px;
  color: #fff;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.gdp-gate-card p,
.gdp-home-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.62;
}

.gdp-language-stack {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.gdp-language-stack > div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.gdp-language-stack strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.gdp-password-form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.gdp-password-form label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.gdp-password-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 16px 16px;
  font-size: 16px;
  outline: none;
}

.gdp-password-form input:focus {
  border-color: rgba(229, 6, 69, 0.85);
  box-shadow: 0 0 0 4px rgba(229, 6, 69, 0.16);
}

.gdp-password-form button,
.gdp-client-button {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.gdp-password-form button {
  color: #fff;
  background: var(--gdp-primary);
  font-size: 15px;
  box-shadow: 0 14px 38px rgba(229, 6, 69, 0.24);
}

.gdp-password-form button:hover,
.gdp-client-button:hover {
  transform: translateY(-1px);
}

.gdp-error {
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(229, 6, 69, 0.16);
  border: 1px solid rgba(229, 6, 69, 0.34);
  color: #fff;
  font-size: 14px;
}

.gdp-client-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    radial-gradient(circle at top right, rgba(229, 6, 69, 0.18), transparent 32%),
    linear-gradient(135deg, #1b1633 0%, #120f22 100%);
  color: #fff;
  box-shadow: 0 12px 36px rgba(18, 15, 34, 0.18);
}

.gdp-client-header-inner {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.gdp-client-logo img {
  display: block;
  width: 168px;
  max-height: 50px;
  object-fit: contain;
}

.gdp-client-heading {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.gdp-client-heading span {
  color: #ffdbe6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gdp-client-heading strong {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gdp-client-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gdp-client-button.primary {
  background: var(--gdp-primary);
  color: #fff;
  box-shadow: 0 10px 28px rgba(229, 6, 69, 0.22);
}

.gdp-client-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.gdp-admin-preview-bar {
  background: #fff4c7;
  color: #5a4300;
  text-align: center;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

.gdp-content-shell {
  background: var(--gdp-bg);
  padding: 0;
}

.gdp-diagnostic-content {
  width: min(1440px, 100%);
  margin: 0 auto;
  background: transparent;
}

.gdp-diagnostic-content img,
.gdp-diagnostic-content video,
.gdp-diagnostic-content iframe {
  max-width: 100%;
}

@media (max-width: 900px) {
  .gdp-client-header-inner {
    width: min(100% - 28px, 1440px);
    padding: 14px 0;
    min-height: unset;
    align-items: flex-start;
    flex-direction: column;
  }

  .gdp-client-actions {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }

  .gdp-client-button {
    text-align: center;
  }

  .gdp-client-heading strong {
    white-space: normal;
  }
}
