/* Banglalink DCB in-portal flow — GamesBeat chrome, Cloud7 journey copy */

:root {
  --bl-cyan: #0de5f9;
  --bl-pink: #ff04c0;
  --bl-gradient: linear-gradient(90deg, #0de5f9 0%, #ff04c0 100%);
  --bl-card: #14151c;
  --bl-input: #1d1f2a;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.bl-lock-scroll {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.bl-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(8, 10, 18, 0.78);
}

.bl-overlay.is-open {
  display: flex;
}

.bl-panel {
  display: none;
  width: 100%;
  max-width: 420px;
  max-height: calc(100dvh - 32px);
  border-radius: 18px;
  overflow: hidden auto;
  -webkit-overflow-scrolling: touch;
}

.bl-panel.is-active {
  display: block;
}

.bl-card-dark {
  background: var(--bl-card);
  color: #fff;
  padding: 28px 22px 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.bl-card-dark.bl-card-plan {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bl-card), var(--bl-card)) padding-box,
    var(--bl-gradient) border-box;
}

.bl-card-white {
  background: var(--bl-card);
  color: #fff;
  padding: 28px 24px 22px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bl-card), var(--bl-card)) padding-box,
    var(--bl-gradient) border-box;
}

.bl-card-dark.bl-card-plan .bl-icon-warn {
  margin-left: auto;
  margin-right: auto;
}

#bl-panel-not-sub .bl-card-dark,
#bl-panel-wrong-otp .bl-card-dark,
#bl-panel-message .bl-card-dark,
#bl-panel-logout .bl-card-dark,
#bl-panel-unsub .bl-card-dark,
#bl-panel-unsub-ok .bl-card-dark {
  text-align: center;
}

.bl-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa0b4;
}

.bl-title {
  margin: 0 0 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.bl-sub {
  margin: 0 0 18px;
  color: #c5c8d4;
  font-size: 14px;
  line-height: 1.45;
}

.bl-card-white .bl-sub {
  color: #c5c8d4;
}

.bl-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9aa0b4;
}

.bl-phone-row {
  display: flex;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(13, 229, 249, 0.35);
  border-radius: 150px;
  background: var(--bl-input);
}

.bl-phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #c5c8d4;
  font-weight: 600;
  background: #171924;
}

.bl-phone-row input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  outline: none;
}

.bl-phone-row input[readonly] {
  opacity: 0.95;
  cursor: default;
}

.bl-otp-input {
  width: 100%;
  margin-bottom: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(13, 229, 249, 0.35);
  border-radius: 150px;
  background: var(--bl-input);
  color: #fff;
  font-size: 22px;
  letter-spacing: 0.28em;
  text-align: center;
  outline: none;
}

.bl-otp-input::placeholder {
  letter-spacing: 0.04em;
  font-size: 16px;
}

.bl-timer {
  margin: 0 0 16px;
  color: var(--bl-cyan);
  font-size: 13px;
  line-height: 1.45;
}

.bl-resend-link {
  margin-left: 8px;
  color: var(--bl-pink);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.bl-support-inline {
  margin-top: 16px;
  color: #9aa0b4;
  font-size: 12px;
}

.bl-toast {
  position: fixed;
  left: 50%;
  bottom: max(28px, calc(12px + env(safe-area-inset-bottom)));
  z-index: 5000;
  display: none;
  align-items: center;
  gap: 8px;
  min-width: 220px;
  max-width: calc(100% - 32px);
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bl-card);
  color: #fff;
  border: 1px solid rgba(13, 229, 249, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.bl-toast.is-visible {
  display: flex;
}

.bl-toast-icon {
  color: var(--bl-cyan);
}

.bl-toast.is-error .bl-toast-icon {
  color: var(--bl-pink);
}

.bl-header-login {
  min-width: 88px;
  min-height: 44px;
  margin-left: 12px;
  padding: 8px 16px;
  border: 1px solid #fff;
  border-radius: 150px;
  color: #fff !important;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

[data-bl-auth][hidden] {
  display: none !important;
}

header .icon-account {
  width: 28px;
  height: 28px;
  padding: 0;
  float: none;
  display: block;
  background: url('../images/user-small.svg') no-repeat center;
  background-size: 24px 24px;
}

header .mobile-myaccount.btn {
  width: 34px;
  height: 34px;
  margin: 0 0 0 8px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  align-items: center;
  justify-content: center;
}

header .mobile-myaccount.btn:hover,
header .mobile-myaccount.btn:focus {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 1199.98px) {
  header .mobile-myaccount.btn:not([hidden]) {
    display: inline-flex !important;
  }
}

header .desktop-myaccount {
  align-items: center;
  color: #fff;
}

@media (min-width: 1200px) {
  header .desktop-myaccount:not([hidden]) {
    display: inline-flex !important;
  }
}

.bl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 10px 14px;
  border: 0;
  border-radius: 150px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
}

.bl-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.bl-btn-gold {
  background: var(--bl-gradient);
  color: #fff;
  font-family: 'Bangers', sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

.bl-btn-red,
.bl-btn-pink {
  background: var(--bl-pink);
  color: #fff;
  font-family: 'Bangers', sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1px;
}

.bl-btn-maroon {
  background: var(--bl-pink);
  color: #fff;
}

.bl-btn-grey {
  background: #6c757d;
  color: #fff;
}

.bl-btn-ghost {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.bl-btn-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.bl-btn-row .bl-btn {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

.bl-error {
  display: none;
  margin: 0 0 12px;
  color: #ff6b6b;
  font-size: 13px;
}

.bl-error.is-visible {
  display: block;
}

.bl-demo-hint {
  margin: 12px 0 0;
  color: #7b8094;
  font-size: 11px;
  line-height: 1.4;
}

.bl-support {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #2a2d3a;
  color: #9aa0b4;
  font-size: 12px;
  line-height: 1.6;
}

.bl-card-white .bl-support {
  border-top-color: #2a2d3a;
  color: #9aa0b4;
  text-align: left;
}

.bl-icon-warn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(255, 4, 192, 0.16);
  color: var(--bl-pink);
  font-size: 28px;
  font-weight: 700;
}

.bl-icon-ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #e7f6ec;
  color: #1b7a3d;
  font-size: 26px;
}

.bl-plan-name {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bl-input);
  color: var(--bl-cyan);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.bl-auto-renew {
  margin: 0 0 16px;
  color: #b7bbca;
  font-size: 12px;
  line-height: 1.5;
}

.bl-profile {
  max-width: 560px;
  margin: 32px auto 48px;
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--bl-card);
  color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.bl-profile h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 28px;
}

.bl-profile .bl-auto-renew {
  margin-bottom: 18px;
}

.bl-profile-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #2a2d3a;
  color: #fff;
}

.bl-profile-row dt {
  margin: 0;
  color: #9aa0b4;
  font-weight: 500;
}

.bl-profile-row dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.bl-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.bl-pill-active {
  background: var(--bl-gradient);
  color: #fff;
}

.bl-pill-inactive {
  background: #6c757d;
  color: #fff;
}

.bl-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.bl-profile-actions .bl-btn {
  width: auto;
  min-width: 160px;
  flex: 1;
  text-transform: uppercase;
}

.bl-btn-unsub-outline {
  background: transparent;
  border: 2px solid var(--bl-pink);
  color: var(--bl-pink);
}

.bl-btn-logout-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.bl-profile .bl-support {
  border-top-color: #2a2d3a;
  color: #9aa0b4;
}

@media (max-width: 575px) {
  .bl-title {
    font-size: 22px;
  }

  .bl-card-dark,
  .bl-card-white {
    padding: 22px 16px 16px;
  }

  .bl-profile {
    margin: 16px 12px 32px;
    padding: 20px 16px;
  }

  .bl-profile-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .bl-profile-actions .bl-btn {
    min-width: 0;
  }
}

@media (max-width: 767.98px) {
  #carousel-home,
  #carousel-home .carousel-item {
    background: #050b2e !important;
    margin-bottom: 0;
  }

  #carousel-home .carousel-item img {
    width: 100%;
    height: min(46vh, 260px);
    max-height: 46vh;
    object-fit: cover;
    object-position: center;
  }

  #carousel-home .carousel-item:first-child img {
    object-position: center 18%;
  }

  #carousel-home .carousel-caption {
    top: 8%;
    bottom: auto;
    padding: 0 16px;
  }

  #carousel-home .carousel-caption h1,
  #carousel-home .carousel-caption h2 {
    margin: 0;
    line-height: 1.15;
  }

  #carousel-home .carousel-caption h1 {
    font-size: 1.7rem;
  }

  #carousel-home .carousel-caption h2 {
    font-size: 1.35rem;
  }

  .pills-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .parent {
    margin-left: 4%;
    margin-right: 4%;
    grid-gap: 10px;
  }

  .parent a {
    padding: 12% 8% 10%;
  }

  .parent a .name {
    font-size: 13px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
  }
}

@media (hover: none) {
  .parent a:hover {
    transform: none;
    box-shadow: none;
  }

  .parent a:hover:before {
    content: none;
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  #carousel-home,
  #carousel-home .carousel-item {
    background: #050b2e;
  }

  #carousel-home .carousel-item img {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    object-fit: cover;
    object-position: center right;
  }

  #carousel-home .carousel-caption {
    top: 12%;
    left: 5%;
    right: auto;
    text-align: left;
    max-width: 52%;
  }
}

.pills-container .h1.title {
  max-width: none;
  width: 100%;
  margin: 0;
  white-space: nowrap;
  font-size: clamp(1.15rem, 5.6vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
}

@media (max-width: 1199.98px) {
  header.header-white {
    max-height: none;
    padding-top: env(safe-area-inset-top);
  }

  header #navbar {
    flex-wrap: nowrap;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  header .logo {
    flex-shrink: 0;
  }

  header .logo img {
    width: 86px !important;
    max-height: 40px;
    height: auto;
    object-fit: contain;
  }

  header .language-selector-mobile {
    flex-shrink: 0;
    margin-left: 6px;
    align-self: center;
  }

  header .language-btn-mobile {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
  }

  header .language-btn-mobile .language-flag {
    font-size: 20px;
    line-height: 1;
  }

  header .language-btn-mobile::after {
    display: none !important;
  }

  header .bl-header-login:not([hidden]),
  header .mobile-myaccount.btn:not([hidden]) {
    margin-left: auto;
  }

  header .bl-header-login:not(.d-none) {
    flex-shrink: 0;
    min-width: 76px;
    margin-right: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }

  header .bl-header-login[hidden] {
    display: none !important;
  }

  header .mobile-myaccount.btn {
    margin-top: 0 !important;
    margin-right: 0;
    width: 44px;
    height: 44px;
  }

  header .navbar-toggler,
  .navbar-dark .navbar-toggler {
    width: 44px;
    height: 44px;
    margin-top: 0 !important;
    margin-left: 8px !important;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
  }

  header .navbar-collapse {
    top: 100% !important;
    z-index: 30;
  }

  header .desktop-myaccount span:not(.icon-account) {
    display: none;
  }
}

body:has(#bl-profile-root) {
  background: #0b0d14;
}

