:root {
  --lx-navy: #0c1d3a;
  --lx-navy-2: #142a52;
  --lx-gold: #f0b429;
  --lx-text: #f5f7fb;
  --lx-muted: #9eb0cc;
}
* { box-sizing: border-box; }
body.lx-membership {
  margin: 0;
  min-height: 100vh;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--lx-text);
  background:
    radial-gradient(circle at 10% 20%, rgba(240, 180, 41, 0.08), transparent 35%),
  linear-gradient(180deg, var(--lx-navy) 0%, #081428 100%);
}
.lx-membership-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lx-membership-logo {
  color: var(--lx-gold);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 12px;
  text-decoration: none;
}
.lx-membership-logo span {
  display: block;
  color: var(--lx-muted);
  letter-spacing: 0.18em;
  font-size: 7px;
  font-weight: 500;
  margin-top: 4px;
}
.lx-membership-top nav {
  display: flex;
  gap: 18px;
}
.lx-membership-top a {
  color: var(--lx-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.lx-membership-top a:hover { color: var(--lx-gold); }
.lx-membership-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 20px 56px;
}
.lx-membership-main h1 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.lx-membership-lead {
  color: var(--lx-muted);
  margin: 0 0 28px;
  max-width: 640px;
}
.lx-membership-grid {
  overflow-x: auto;
}
.lx-membership-plans {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
  min-width: 720px;
}
.lx-plan-card {
  background: var(--lx-navy-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px 14px 0 0;
  padding: 18px 14px 16px;
  text-align: center;
}
.lx-plan-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f7cd4d, #e29c14);
  opacity: 0.95;
}
.lx-plan-card h2 {
  margin: 0;
  font-size: 15px;
}
.lx-plan-price {
  margin: 10px 0 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--lx-gold);
}
.lx-plan-price small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--lx-muted);
}
.lx-plan-sub {
  font-size: 11px;
  color: var(--lx-muted);
  margin: 8px 0 0;
}
.lx-plan-cta {
  display: inline-flex;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--lx-gold);
  color: #1b1405;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
}
.lx-plan-cta:hover { filter: brightness(1.05); }
.lx-membership-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: rgba(8, 20, 40, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 14px 14px;
}
.lx-membership-table th,
.lx-membership-table td {
  padding: 12px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 12px;
}
.lx-membership-table th {
  text-align: left;
  color: var(--lx-muted);
  font-weight: 500;
  width: 32%;
}
.lx-yes { color: var(--lx-gold); font-weight: 800; }
.lx-no { color: #5c6d88; }
.lx-membership-foot {
  text-align: center;
  padding: 26px;
}
.lx-membership-foot a {
  color: var(--lx-muted);
  text-decoration: none;
  font-size: 13px;
}
.lx-membership-foot a:hover { color: var(--lx-gold); }
@media (max-width: 800px) {
  .lx-membership-plans,
  .lx-membership-table { min-width: 640px; }
}

/* Modal (sözlük sayfası — site paleti) */
dialog.membershipDialog {
  border: 1px solid #e2e5e3;
  border-radius: 16px;
  padding: 0;
  width: min(560px, calc(100vw - 32px));
  max-height: min(90vh, 720px);
  overflow: hidden;
  margin: auto;
  background: #fff;
  color: #10323b;
  box-shadow: 0 24px 64px rgba(16, 50, 59, 0.18);
}
dialog.membershipDialog:not([open]) {
  display: none !important;
}
dialog.membershipDialog[open] {
  display: flex;
  flex-direction: column;
}
dialog.membershipDialog::backdrop {
  background: rgba(16, 50, 59, 0.45);
  backdrop-filter: blur(3px);
}
.membershipDialogHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: #10323b;
  border-bottom: 0;
  flex-shrink: 0;
}
body.lex-sozluk-page dialog.membershipDialog .membershipDialogHead h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  letter-spacing: 0.02em;
}
body.lex-sozluk-page dialog.membershipDialog .membershipDialogHead button {
  border: 0;
  background: transparent;
  color: #ffffff !important;
  cursor: pointer;
  display: flex;
  padding: 4px;
  border-radius: 6px;
}
body.lex-sozluk-page dialog.membershipDialog .membershipDialogHead button:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15);
}
body.lex-sozluk-page dialog.membershipDialog .membershipDialogHead svg {
  color: #ffffff !important;
  stroke: #ffffff;
}
.membershipDialogBody {
  padding: 20px 22px 24px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #faf9f6;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.membershipLead {
  color: #657178;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.membershipPlansStack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.membershipPlanCard {
  background: #fff;
  border: 1px solid #e2e5e3;
  border-radius: 14px;
  padding: 16px 18px 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(16, 50, 59, 0.04);
}
.membershipPlanCardHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.membershipPlanCard h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #10323b;
}
.membershipPlanPrice {
  color: #850b2e;
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.membershipPlanFeatures {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #657178;
  flex: 1;
}
.membershipPlanFeatures li {
  padding: 4px 0;
  padding-left: 1.1em;
  position: relative;
}
.membershipPlanFeatures li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #850b2e;
  font-weight: 700;
  font-size: 11px;
}
.membershipPlanCta {
  border: 0;
  border-radius: 999px;
  background: #10323b;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 11px 16px;
  cursor: pointer;
  width: 100%;
  margin-top: auto;
}
.membershipPlanCta:hover:not(:disabled) {
  background: #850b2e;
}
.membershipPlanCta:disabled {
  opacity: 0.55;
  cursor: wait;
}
.membershipNotice {
  background: #f2e5e8;
  color: #10323b;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin: 0 0 14px;
  border: 1px solid #e2c9d0;
}
.membershipPayStep {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.membershipPayFrame {
  width: 100%;
  height: min(520px, 62vh);
  border: 1px solid #e2e5e3;
  border-radius: 10px;
  background: #fff;
}
.membershipPayHint {
  font-size: 12px;
  color: #657178;
  margin: 0;
  line-height: 1.5;
}
.membershipBack {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #850b2e;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}