:root {
  --bg: #3d0004;
  --panel: #ffffff;
  --text: #121826;
  --muted: #667085;
  --line: #d9dee7;
  --field: #ffffff;
  --soft: #f6f7f9;
  --dark: #273140;
  --red: #c6111f;
  --gold: #ffbd18;
  --gold-dark: #db9700;
  --danger: #c62828;
  --success: #147a45;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 9px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(145,0,0,.35), transparent 32rem),
    radial-gradient(circle at 90% 70%, rgba(111,0,0,.28), transparent 30rem),
    linear-gradient(135deg, #220002 0%, #4c0005 45%, #210001 100%);
}

button, input, select {
  font: inherit;
}

a {
  color: #8f0c17;
}
.bar-top-login a .brand-logo{
  width: 130px;
}
.topbar.bar-top-login{
  height: 69px;
}
button,
label,
select {
  -webkit-tap-highlight-color: transparent;
}
.login-page{
  display: grid;
}
.page-shell {
  min-height: 100vh;
  place-items: center;
  padding: 26px;
}

.registration-card {
  width: min(1050px, 100%);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: 0 22px 70px rgba(0,0,0,.34);
  overflow: hidden;
}
.login-card{
  padding: 30px;
}
.register-layout {
  display: grid;
  grid-template-columns: minmax(240px, 32%) 1fr;
}

.register-sidebar {
  padding: 0;
  border-right: 1px solid #e8ebef;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #f5f6f8;
  border-radius: var(--radius-lg) 0 0 0;
  overflow: hidden;
}

.sidebar-accent {
  display: none;
}

.sidebar-body {
  flex: 1;
  padding: 24px 22px 18px;
  background: linear-gradient(246deg, #ffffff 0%, #fefefe 45%, #ffffff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.sidebar-logo {
  display: block;
  width: 140px;
  max-width: 100%;
  margin: 0 auto 14px;
}

.sidebar-brand {
  display: block;
  text-align: center;
}

.sidebar-tagline {
  margin: 0 0 18px;
  font-size: 26px;
  line-height: 1.45;
  font-weight: 700;
  color: #000000;
  text-align: left;
}

.sidebar-tagline em {
  font-style: normal;
  color: #c59d5f;
  font-size: 26px;
}

.sidebar-features {
  list-style: none;
  margin: 0 0 auto;
  padding: 0;
  display: grid;
  gap: 14px;
}

.sidebar-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.sidebar-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #b22222;
  color: #b22222;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 5px;
}

.sidebar-feature-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sidebar-features strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
  color: #000000;
  font-weight: 700;
}

.sidebar-features small {
  display: block;
  color: #777777;
  font-size: 15px;
  line-height: 1.35;
}

.sidebar-banner {
  width: 100%;
  margin-top: auto;
  display: block;
  object-fit: cover;
  object-position: center bottom;
  background: #1a1a1a;
}

.register-main {
  padding: 22px 28px 24px;
}

.topbar--form {
  margin-bottom: 4px;
}

.topbar-spacer {
  flex: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none!important;
}

.brand {
  text-decoration: none;
  font-size: 34px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -2px;
}

.brand-bet {
  color: #0e1116;
}

.brand-cx {
  color: var(--red);
}

.support-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #ead2d4;
  background: #fff7f8;
  color: var(--red);
  cursor: pointer;
}

.intro {
  text-align: center;
  margin: 4px 0 24px;
}

.intro h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
}

.intro p {
  margin: 8px 0 0;
  color: var(--muted);
}

.method-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 22px;
}

.tab {
  min-height: 54px;
  border: 0;
  border-radius: 9px;
  background: #eceef2;
  color: #222;
  font-weight: 600;
  cursor: pointer;
  transition: .18s ease;
}

.tab:hover {
  background: #e3e6eb;
}

.tab.active {
  background: var(--dark);
  color: #fff;
}

.tab-icon {
  margin-right: 7px;
}

.bonus-panel {
  border: 1px solid #e3e6eb;
  background: #fbfbfc;
  border-radius: 13px;
  padding: 20px;
  margin-bottom: 22px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.section-title-row > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title-row h2 {
  margin: 0;
  font-size: 16px;
}

.gift-icon {
  font-size: 18px;
}

.optional-label {
  font-size: 12px;
  color: var(--muted);
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.bonus-card {
  min-height: 164px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #d9dee7;
  border-radius: 11px;
  background: white;
  cursor: pointer;
  padding: 16px;
  transition: .18s ease;
  text-align: center;
}

.bonus-card:hover {
  transform: translateY(-1px);
  border-color: #bbbfc8;
}

.bonus-card.selected {
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 2px rgba(255,189,24,.08);
}

.bonus-card input {
  position: absolute;
  opacity: 0;
}

.radio-dot {
  position: absolute;
  left: 15px;
  top: 16px;
  width: 19px;
  height: 19px;
  border: 1.5px solid #a9b0bc;
  border-radius: 50%;
}

.bonus-card.selected .radio-dot {
  border: 6px solid var(--gold);
}

.badge {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--gold);
  padding: 5px 9px;
  border-radius: 0 9px 0 9px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.bonus-art {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 9px;
}

.bonus-art.muted {
  filter: grayscale(1);
}

.bonus-card strong {
  font-size: 17px;
}

.bonus-percent {
  color: var(--red);
}

.bonus-card small {
  margin-top: 6px;
  color: var(--muted);
}

.form-grid.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 17px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}

.input-wrap,
.select-wrap,
.phone-row {
  min-height: 48px;
  border: 1px solid #cfd5df;
  border-radius: var(--radius-sm);
  background: var(--field);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}

.input-wrap:focus-within,
.select-wrap:focus-within,
.phone-row:focus-within {
  border-color: #a97800;
  box-shadow: 0 0 0 3px rgba(255,189,24,.18);
}

.input-icon {
  width: 44px;
  display: grid;
  place-items: center;
  color: #68707e;
}

.input-wrap input,
.phone-row input {
  width: 100%;
  border: 0;
  outline: 0;
  min-height: 46px;
  padding: 0 12px 0 0;
  background: transparent;
}

.select-wrap select {
  width: 100%;
  min-height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  padding-right: 14px;
}

.country-code {
  min-width: auto;
  align-self: stretch;
  border: 0;
  border-right: 0;
  background: transparent;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px 0 0;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.phone-row--unified {
  display: flex;
  align-items: stretch;
}

.phone-row--unified .phone-icon svg {
  width: 16px;
  height: 16px;
}

.flag-pk {
  width: 22px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  display: block;
}

.country-code strong {
  font-weight: 700;
}

.country-caret {
  font-size: 10px;
  color: #68707e;
  line-height: 1;
}

.phone-divider {
  width: 1px;
  align-self: stretch;
  margin: 10px 8px;
  background: #e0e4ea;
  flex-shrink: 0;
}

.phone-row--unified input {
  flex: 1;
  min-width: 0;
  padding: 0 12px 0 0;
}

.password-toggle {
  width: 48px;
  min-height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.field-hint,
.field-error,
.terms-error {
  min-height: 16px;
  margin: 5px 0 0;
  font-size: 11px;
}

.field-hint {
  color: var(--muted);
}

.field-error,
.terms-error {
  color: var(--danger);
}

.oneclick-info {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff9e8;
  border: 1px solid #f0d68b;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 18px;
}

.oneclick-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gold);
  font-size: 20px;
}

.oneclick-info h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.oneclick-info p {
  margin: 0;
  color: #6d6250;
  font-size: 12px;
}

.label-light {
  color: var(--muted);
  font-weight: 400;
}

.consent-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.55;
  margin: 2px auto 12px;
  max-width: 720px;
}

.consent-row input {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--gold);
}

.primary-btn {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffc52e, #ffb20f);
  color: #131313;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(214,150,0,.18);
}

.primary-btn:hover {
  filter: brightness(.98);
}

.primary-btn:disabled {
  opacity: .65;
  cursor: wait;
}

.btn-icon {
  margin-right: 8px;
}

.form-message {
  min-height: 20px;
  margin-top: 9px;
  text-align: center;
  font-size: 13px;
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--danger);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 18px 24px 22px;
  border-top: 1px solid #e8ebef;
  background: #fff;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.trust-item + .trust-item {
  border-left: 1px solid #e4e7ec;
}

.trust-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 5px;
}

.trust-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.trust-item > span:not(.trust-icon) {
  font-size: 25px;
}

.trust-item strong,
.trust-item small {
  display: block;
}

.trust-item strong {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: 0.03em;
}

.trust-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.login-row {
  text-align: center;
  margin: 20px 0 0;
  font-size: 14px;
  color: #d1d5db;
}

.login-row a {
  margin-left: 6px;
  font-weight: 700;
  text-decoration: none;
  color: var(--gold);
}

@media (max-width: 760px) {
  body {
    background: #f7f7f8;
  }

  .page-shell {
    display: block;
    padding: 0;
  }

  .registration-card {
    min-height: 100vh;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }

  .register-layout {
    grid-template-columns: 1fr;
  }

  .register-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e8ebef;
    border-radius: 0;
    background: #f5f6f8;
  }

  .sidebar-body {
    padding: 16px 16px 14px;
    background: linear-gradient(246deg, #ffffff 0%, #fefefe 45%, #ffffff 100%);
  }

  .sidebar-banner {
    max-height: 160px;
    object-fit: cover;
  }

  .register-main {
    padding: 18px 16px 20px;
  }

  .topbar {
    margin-bottom: 8px;
  }

  .brand {
    font-size: 27px;
  }

  .intro {
    margin-bottom: 17px;
  }

  .intro h1 {
    font-size: 25px;
  }

  .intro p {
    font-size: 12px;
  }

  .method-tabs {
    gap: 5px;
    position: sticky;
    top: 0;
    z-index: 4;
    background: white;
    padding: 5px 0 8px;
  }

  .tab {
    min-height: 46px;
    padding: 5px;
    font-size: 12px;
  }

  .tab-icon {
    display: none;
  }

  .bonus-panel {
    padding: 13px;
  }

  .bonus-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bonus-card {
    min-height: 72px;
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    text-align: left;
    align-items: center;
    justify-items: start;
    padding: 10px 46px 10px 50px;
  }

  .bonus-art {
    grid-row: 1 / 3;
    grid-column: 1;
    font-size: 30px;
    margin: 0;
  }

  .bonus-card strong {
    grid-column: 2;
    font-size: 14px;
  }

  .bonus-card small {
    grid-column: 2;
    margin: 0;
    font-size: 11px;
  }

  .radio-dot {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
  }

  .badge {
    top: 0;
    right: 0;
  }

  .form-grid.two-col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .field {
    margin-bottom: 13px;
  }

  .trust-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px 0;
    padding: 16px;
  }

  .trust-item {
    padding: 0 8px;
  }

  .trust-item + .trust-item {
    border-left: 0;
  }

  .consent-row {
    justify-content: flex-start;
  }

  .primary-btn {
    min-height: 50px;
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .registration-card {
    padding-left: 12px;
    padding-right: 12px;
  }

  .section-title-row h2 {
    font-size: 14px;
  }

  .optional-label {
    display: none;
  }
}


.generated-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.generated-item {
  border: 1px dashed #d5b24b;
  background: #fffaf0;
  border-radius: 10px;
  padding: 14px;
}
.generated-item span,
.generated-item strong {
  display: block;
}
.generated-item span {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}
.generated-item strong {
  font-size: 14px;
}
.credentials-box {
  margin-top: 16px;
  border: 1px solid #e3c25b;
  background: #fff9e8;
  border-radius: 10px;
  padding: 16px;
}
.credentials-title {
  font-weight: 800;
  margin-bottom: 12px;
}
.credential-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid #eadcae;
}
.credentials-box p {
  margin: 10px 0 0;
  color: #6d6250;
  font-size: 12px;
}
@media (max-width: 760px) {
  .generated-preview { grid-template-columns: 1fr; }
}

.livechat-btn {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--red);
  background: #fff7f8;
  border: 1px solid #f0cfd3;
}
.livechat-icon {
  width: 25px;
  height: 25px;
}
.livechat-status {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1ca75b;
  border: 2px solid #fff;
}
.livechat-btn:hover {
  background: #fff0f2;
  border-color: #e9aeb5;
}

#loading1 {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.35);
}

#loading1 .loadImg1 {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: bcx7-spin 0.8s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -24px 0 0 -24px;
}

@keyframes bcx7-spin {
  to { transform: rotate(360deg); }
}

.field-error,
.err_div {
  min-height: 16px;
  margin: 5px 0 0;
  font-size: 11px;
  color: var(--danger);
}

.method-panel {
  display: none;
}

.method-panel.active {
  display: block;
}
@media (max-width: 760px) {
  .brand-logo { width: 120px; height: 48px; }
}

.brand-logo {
  display: block;
  width: 150px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}