:root {
  --bg: #070b14;
  --card: #101826;
  --ink: #f4f7fb;
  --muted: #c5ceda;
  --line: rgba(255,255,255,.08);
  --blue: #3b82f6;
  --blue-2: #60a5fa;
}
body {
  font-family: "Plus Jakarta Sans", Manrope, sans-serif;
  background:
    radial-gradient(720px 220px at 50% 0%, rgba(59,130,246,.16), transparent 70%),
    #070b14 url("/theme-bay/assets/hero-bg.jpg?v=1") center top / cover no-repeat;
  background-attachment: fixed;
  color: var(--ink);
}
h1, h2, h3, h4, .brand, .bay-kicker { font-family: Outfit, "Plus Jakarta Sans", sans-serif; }
h1, h2, .text-dark, .link-body-emphasis { color: var(--ink) !important; }
p, .text-muted, .xsmall, .small { color: #d5dce8; }
a { color: #93c5fd; }
a:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 30; height: 68px;
  display: flex; align-items: center;
  margin: 0;
  background: rgba(7,11,20,.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.header-in, .brand { display: flex; align-items: center; }
.header-in { width: min(1120px, calc(100% - 40px)); margin: 0 auto; gap: 22px; }
.brand { gap: 8px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; color: #fff !important; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.bay-nav { display: flex; gap: 4px; color: #d0d5dd; font-weight: 650; }
.bay-nav a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 10px; border-radius: 10px; color: #d0d5dd !important; text-decoration: none;
}
.bay-nav a:hover { background: rgba(255,255,255,.05); color: #fff !important; }
.bay-nav svg { width: 16px; height: 16px; }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.bay-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 16px; border-radius: 12px;
  font-weight: 700; border: 1px solid transparent; text-decoration: none;
  background: transparent; color: #fff;
}
.bay-btn-blue { background: var(--blue); color: #fff !important; }
.bay-btn-blue:hover { background: #2563eb; color: #fff !important; }
.bay-btn-ghost { color: #fff !important; }
.bay-lang img { width: 18px; height: 18px; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; }
.dropdown-menu { background: #101826; border: 1px solid var(--line); }
.dropdown-item { color: #e8eef8; }
.dropdown-item:hover, .dropdown-item:focus { background: rgba(255,255,255,.06); color: #fff; }
.dropdown-item img { width: 16px; height: 16px; margin-right: 8px; }

main { position: relative; z-index: 1; padding: 36px 0 48px; }
.bay-pagehead { width: min(760px, calc(100% - 40px)); margin: 0 auto 22px; text-align: center; }
.bay-kicker {
  margin: 0 0 8px; color: #93c5fd; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.bay-pagehead h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.04em; margin: 0; }
.bay-pagehead p { margin: 12px auto 0; max-width: 620px; line-height: 1.7; }

.page h1, .login h1, section.page > h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.04em; }
.block, .login, .card, .modal-content, .accordion-item, .list-group-item {
  background: var(--card) !important;
  color: var(--ink);
  border-color: var(--line) !important;
}
.block { border-radius: 16px; }
.block-tabs { box-shadow: inset 0 -1px 0 rgba(255,255,255,.08); }
.block-tabs .nav-link { color: #c5ceda; }
.block-tabs .nav-link.active, .block-tabs .nav-link:hover { color: var(--blue-2); border-color: var(--blue); }
.dropbox {
  border-color: rgba(96,165,250,.45) !important;
  background: rgba(59,130,246,.06);
  color: #d5dce8;
  border-radius: 16px;
}
.dropbox, .dropbox a { color: #d5dce8 !important; }
.dropbox svg path { fill: #60a5fa; }
.dropbox:hover, .dropbox.active { background: rgba(59,130,246,.12) !important; border-color: #60a5fa !important; }
.fileItem { background: #0c1422; border-color: var(--line) !important; color: var(--ink); }
.progress {
  height: 10px;
  background: #243044 !important;
  border-radius: 99px;
  overflow: hidden;
  box-shadow: none;
}
.progress-bar {
  background: #3b82f6 !important;
  background-image: none !important;
  animation: none !important;
}
.form-control, .form-select, textarea.form-control {
  background: #0c1422; color: var(--ink); border-color: rgba(255,255,255,.12);
}
.form-control:focus, .form-select:focus { background: #0c1422; color: #fff; border-color: var(--blue); box-shadow: 0 0 0 .2rem rgba(59,130,246,.25); }
.form-control::placeholder { color: #8b97a8; }
.btn-primary { background: var(--blue); border-color: var(--blue); }
.btn-primary:hover { background: #2563eb; border-color: #2563eb; }
.btn-secondary, .btn-outline-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.22); }
.table { --bs-table-bg: transparent; --bs-table-color: #f4f7fb; --bs-table-border-color: rgba(255,255,255,.08); color: #f4f7fb; }
.table thead, .table thead th, thead.xsmall th { background: #162033 !important; color: #9fb0c6 !important; }
.table td, .table th { border-color: rgba(255,255,255,.08) !important; }
.table-rounded { background: var(--card); border-radius: 16px; overflow: hidden; }
.accordion { --bs-accordion-bg: #101826; --bs-accordion-color: #f4f7fb; --bs-accordion-border-color: rgba(255,255,255,.08); --bs-accordion-btn-color: #f4f7fb; --bs-accordion-active-bg: #162033; --bs-accordion-active-color: #fff; --bs-accordion-btn-focus-box-shadow: none; }
.accordion-button { background: #101826; color: #f4f7fb; }
.accordion-button:not(.collapsed) { background: #162033; color: #fff; }
.accordion-body, .text-content { color: #d5dce8; }
.alert { border: 0; }
.pagination .page-link { background: #101826; color: #d5dce8; border-color: var(--line); }
.pagination .page-item.active .page-link { background: var(--blue); border-color: var(--blue); color: #fff; }
.ui-widget-content { background: #101826; color: #f4f7fb; border-color: var(--line); }

.bay-sea { position: relative; height: 110px; overflow: hidden; z-index: 1; margin-top: 10px; }
.bay-sea .wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.bay-sea .w1 { fill: rgba(56,189,248,.16); animation: sway 9s linear infinite; }
.bay-sea .w2 { fill: rgba(14,165,233,.22); height: 72%; animation: sway 13s linear infinite reverse; }
.bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bubbles span {
  position: absolute; bottom: 0; border-radius: 50%;
  border: 1px solid rgba(186,230,253,.45);
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.7), rgba(125,211,252,.12) 46%, transparent 70%);
  animation: rise 12s linear infinite;
}
.bubbles span:nth-child(1) { left: 8%; width: 10px; height: 10px; }
.bubbles span:nth-child(2) { left: 18%; width: 7px; height: 7px; animation-delay: -3s; }
.bubbles span:nth-child(3) { left: 32%; width: 14px; height: 14px; animation-delay: -6s; }
.bubbles span:nth-child(4) { left: 46%; width: 8px; height: 8px; animation-delay: -1s; }
.bubbles span:nth-child(5) { left: 58%; width: 12px; height: 12px; animation-delay: -8s; }
.bubbles span:nth-child(6) { left: 72%; width: 6px; height: 6px; animation-delay: -4s; }
.bubbles span:nth-child(7) { left: 84%; width: 15px; height: 15px; animation-delay: -2s; }
.bubbles span:nth-child(8) { left: 93%; width: 9px; height: 9px; animation-delay: -7s; }
@keyframes sway { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rise {
  0% { transform: translateY(10px); opacity: 0; }
  15% { opacity: .8; }
  100% { transform: translateY(-120px); opacity: 0; }
}

.site-footer { border-top: 1px solid var(--line); padding: 48px 0 0; color: var(--muted); background: #080d16; position: relative; z-index: 1; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.foot { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 28px; text-align: left; align-items: start; }
.foot-brand p { max-width: 280px; margin: 14px 0 0; font-size: .95rem; line-height: 1.75; color: #d5dce8; }
.site-footer h4 { color: #fff; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin: 4px 0 12px; }
.site-footer .col a { display: block; padding: 7px 0; color: #d5dce8; text-decoration: none; font-size: .95rem; }
.site-footer .col a:hover { color: #fff; }
.foot-bar { margin-top: 32px; border-top: 1px solid var(--line); padding: 16px 0 18px; font-size: .82rem; color: #8b97a8; }

@media (max-width: 900px) {
  .bay-nav {
    display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: #0c1220; padding: 12px 20px 16px; border-bottom: 1px solid var(--line);
  }
  .bay-nav.open { display: flex; }
  .menu-btn { display: grid; }
  .header-actions .bay-btn-ghost { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
.upload-form { width: min(820px, calc(100% - 32px)) !important; }
.upload-form > .block {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.38);
  background:
    radial-gradient(520px 180px at 50% 0%, rgba(56,189,248,.12), transparent 70%),
    #101826 !important;
}
.upload-form > .block > .block-tabs {
  display: flex;
  gap: 6px;
  padding: 12px 12px 0;
  box-shadow: none;
  border-bottom: 0;
}
.upload-form .block-tabs .nav-link {
  border: 0 !important;
  border-radius: 12px 12px 0 0;
  padding: 12px 16px;
  color: #b7c3d4 !important;
  font-weight: 700;
  background: transparent;
}
.upload-form > .block > .block-tabs {
  padding: 14px 16px 0;
}
.upload-form > .block > .block-tabs .nav-link {
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 8px;
}
.upload-form > .block > .block-tabs .nav-link.active {
  background: #3b82f6;
  color: #fff !important;
}
.upload-form .drop-orb {
  width: 64px; height: 64px; border-radius: 20px;
  display: grid; place-items: center; margin-bottom: 6px;
  background: linear-gradient(180deg, rgba(56,189,248,.35), rgba(37,99,235,.18));
  box-shadow: inset 0 0 0 1px rgba(186,230,253,.28), 0 10px 30px rgba(37,99,235,.25);
}
.upload-form .drop-title { margin: 8px 0 0; color: #fff; font-family: Outfit, "Plus Jakarta Sans", sans-serif; font-size: 1.35rem; font-weight: 750; letter-spacing: -.03em; }
.upload-form .drop-sub { margin: 4px 0 0; color: #b7c6d8; font-weight: 600; }
.upload-form .dropbox {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px dashed rgba(96,165,250,.55) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(380px 140px at 50% 30%, rgba(56,189,248,.16), transparent 72%),
    rgba(7,14,26,.55) !important;
  color: #e8eef8 !important;
  font-weight: 650;
  padding: 2.4rem 1.2rem !important;
}
.upload-form .dropbox .link-primary { color: #7dd3fc !important; font-weight: 800; }
.upload-form .dropbox:hover,
.upload-form .dropbox.active {
  border-color: #7dd3fc !important;
  background:
    radial-gradient(380px 140px at 50% 30%, rgba(56,189,248,.24), transparent 72%),
    rgba(14,32,58,.72) !important;
}
.upload-form .uploadItem {
  background: rgba(7,14,26,.72) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 18px;
  margin: 0 0 14px;
  padding-top: 16px;
  padding-bottom: 14px;
}
.upload-form .uploadItem .block-tabs {
  gap: 4px;
  padding: 0 12px;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.08);
  overflow-x: auto;
}
.upload-form .uploadItem .block-tabs .nav-link {
  border-radius: 10px 10px 0 0;
  padding: 10px 12px;
  font-size: .92rem;
}
.upload-form .uploadItem .block-tabs .nav-link.active {
  color: #7dd3fc !important;
  box-shadow: inset 0 -2px 0 #38bdf8;
}
.upload-form .codes-textarea { padding: 14px; }
.upload-form .codes-textarea .form-control {
  background: #07111d !important;
  color: #e7f3ff !important;
  border: 1px solid rgba(125,211,252,.22) !important;
  border-radius: 14px !important;
  padding: 14px 52px 14px 14px;
  font: 600 .95rem/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  min-height: 92px;
}
.upload-form .codes-textarea .btn { color: #7dd3fc; background: rgba(8,18,32,.72); border-radius: 10px; }
.upload-form .sea-meter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}
.upload-form .sea-meter-track {
  height: 26px;
  border-radius: 999px;
  overflow: hidden;
  background: #0b1626;
  box-shadow: inset 0 0 0 1px rgba(125,211,252,.22);
}
.upload-form .sea-meter-fill {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #7dd3fc 0%, #0284c7 42%, #1d4ed8 100%);
  transition: width .2s linear;
}
.upload-form .sea-meter-fill i {
  position: absolute;
  left: 0;
  width: 220%;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 9c8-7 16 7 24 0s16-7 24 0 16 7 24 0 16-7 24 0 16 7 24 0v9H0z'/%3E%3C/svg%3E");
  background-size: 90px 18px;
  animation: sway 1.8s linear infinite;
  opacity: .42;
}
.upload-form .sea-meter-fill i:first-child { top: -2px; }
.upload-form .sea-meter-fill i:last-child {
  bottom: -6px;
  top: auto;
  opacity: .28;
  animation-duration: 2.6s;
  animation-direction: reverse;
}
.upload-form .sea-meter-meta { display: grid; justify-items: end; min-width: 72px; line-height: 1.15; }
.upload-form .sea-meter-meta b { color: #fff; font-size: 1rem; }
.upload-form .sea-meter-meta span, .upload-form .sea-meter-error { color: #b7c6d8; font-size: .82rem; }
.upload-form .sea-meter-error {
  background: rgba(127,29,29,.35);
  color: #fecaca;
  border-radius: 12px;
  padding: 10px 12px;
}
.upload-form .btn-primary,
.upload-form .btn-outline-light,
.upload-form .btn-outline-danger {
  border-radius: 12px;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 750;
}
.upload-form .text-end { margin-top: 8px; }
.upload-form textarea.form-control { background: #07111d; color: #e7f3ff; }
.upload-form .copy-note { margin: 0 0 12px; color: #c5d2e2; line-height: 1.6; }

.auth-shell { width: min(920px, calc(100% - 32px)); margin: 28px auto 10px; }
.auth-card {
  margin: 0 auto;
  width: min(460px, 100%);
  padding: 32px 28px 26px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(420px 160px at 50% 0%, rgba(56,189,248,.14), transparent 70%),
    #101826;
  box-shadow: 0 28px 80px rgba(0,0,0,.38);
}
.auth-card-wide { width: min(760px, 100%); }
.auth-brand { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-family: Outfit, "Plus Jakarta Sans", sans-serif; font-weight: 800; text-decoration: none; margin-bottom: 18px; }
.auth-brand img { width: 32px; height: 32px; }
.auth-card h1 { margin: 0 0 18px; font-size: 1.8rem; letter-spacing: -.04em; }
.auth-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; border-radius: 14px; text-decoration: none;
  background: #fff; color: #1f2937 !important; font-weight: 800;
}
.auth-google:hover { background: #f3f4f6; color: #111827 !important; }
.auth-or { margin: 14px 0 4px; text-align: center; color: #8ea0b8; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.auth-label { display: block; margin: 12px 0 6px; color: #d5deea; font-size: .86rem; font-weight: 700; }
.auth-card .form-control, .auth-card .form-select { min-height: 48px; border-radius: 12px; }
.auth-row { display: flex; justify-content: flex-end; margin: 10px 0 4px; }
.auth-row a, .auth-switch a { color: #93c5fd; font-weight: 700; text-decoration: none; }
.auth-captcha { margin: 16px 0; }
.auth-note { margin: 0; color: #fde68a; }
.auth-submit { width: 100%; min-height: 48px; border-radius: 14px; font-weight: 800; margin-top: 16px; }
.auth-switch { margin: 16px 0 0; text-align: center; color: #c5d2e2; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
@media (max-width: 720px) { .auth-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .wave, .bubbles span, .sea-meter-fill i { animation: none; }
}

.block,
.login,
.card,
.premiumPlan,
.premiumTable,
.premiumTable .col,
.premiumTable .col:first-child,
.advantages,
.advantages-item,
.tabs,
.tabs .nav-link,
.tabs .nav-link.active,
.tab-buttons .nav-link.active,
.slide-button {
  background: #101826 !important;
  color: #e7eef8 !important;
  border-color: rgba(255,255,255,.08) !important;
}
.advantages { background: transparent !important; }
.counters .number { color: #f4f7fb !important; }

.bay-price-wrap,
.bay-earn { width: min(980px, calc(100% - 32px)); margin: 28px auto 12px; }
.bay-kicker { margin: 0 0 8px; color: #7dd3fc; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.bay-price-wrap h1,
.bay-earn h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); color: #fff; letter-spacing: -.045em; }
.bay-price-lead,
.bay-earn-lead { max-width: 640px; margin: 10px 0 0; color: #c5d2e2; line-height: 1.6; }
.bay-dur { display: inline-flex; gap: 4px; margin-top: 18px; padding: 4px; border-radius: 999px; background: rgba(8,16,28,.72); border: 1px solid rgba(125,211,252,.22); }
.bay-dur button { border: 0; background: transparent; color: #d5deea; font: inherit; font-weight: 750; height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer; }
.bay-dur button.is-on { background: linear-gradient(180deg, #38bdf8, #2563eb); color: #fff; }
.bay-plan {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  margin-top: 16px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(125,211,252,.22);
  background:
    radial-gradient(480px 180px at 8% 0%, rgba(56,189,248,.2), transparent 62%),
    linear-gradient(180deg, rgba(14,28,48,.2), transparent 30%),
    #101826;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.bay-plan[hidden] { display: none !important; }
.bay-plan-copy, .bay-plan-pay { padding: 28px; }
.bay-plan-pay { background: rgba(4,10,20,.38); border-left: 1px solid rgba(255,255,255,.06); }
.bay-badge { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(56,189,248,.16); color: #7dd3fc; font-size: .78rem; font-weight: 800; }
.bay-amt { display: flex; align-items: flex-end; gap: 8px; color: #fff; }
.bay-amt b { font-family: Outfit, "Plus Jakarta Sans", sans-serif; font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.05em; line-height: .85; }
.bay-amt small { margin-bottom: 8px; font-size: 1rem; font-weight: 700; color: #9fb0c6; }
.bay-total { margin: 8px 0 0; color: #c5d2e2; }
.bay-plan ul { margin: 16px 0 0; padding: 0; list-style: none; }
.bay-plan li { position: relative; padding: 7px 0 7px 18px; color: #d5deea; }
.bay-plan li:before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 0 4px rgba(56,189,248,.12); }
.bay-plan-pay h2 { margin: 0 0 8px; color: #fff; font-size: 1.4rem; }
.bay-pay { display: flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 8px; border-radius: 14px; background: linear-gradient(180deg, #38bdf8, #2563eb); color: #fff !important; font-weight: 800; text-decoration: none; }
.bay-pay:hover { filter: brightness(1.08); color: #fff !important; }
.bay-pay-empty { margin: 8px 0 0; color: #b7c6d8; }
.bay-key { margin-top: 18px; padding: 18px 20px; border-radius: 22px; border: 1px solid rgba(125,211,252,.18); background: rgba(16,24,38,.9); }
.bay-key label { display: block; margin-bottom: 8px; color: #fff; font-weight: 800; }
.bay-key > div, .bay-key form > div, .bay-key > form > div { display: flex; gap: 8px; }
.bay-key .form-control { flex: 1; min-height: 46px; }
.bay-key .btn { min-height: 46px; padding: 0 16px; }
.bay-earn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.bay-earn-grid article, .bay-earn-rules {
  padding: 18px 18px 8px;
  border-radius: 22px;
  border: 1px solid rgba(125,211,252,.16);
  background:
    radial-gradient(220px 80px at 0% 0%, rgba(56,189,248,.14), transparent 70%),
    #101826;
}
.bay-earn-grid b { color: #7dd3fc; font-family: Outfit, sans-serif; letter-spacing: .08em; }
.bay-earn-grid h2, .bay-earn-rules h2 { margin: 6px 0; color: #fff; font-size: 1.25rem; }
.bay-earn-rules { margin-top: 12px; }
.bay-earn-rules ul { margin: 0 0 10px; padding-left: 18px; color: #d5deea; }
.upload-form .bay-modes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0;
  padding: 12px;
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(125,211,252,.16);
}
.upload-form .bay-modes .nav-link {
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #d5deea !important;
  font-weight: 750;
  padding: 8px 14px;
}
.upload-form .bay-modes .nav-link.active,
.upload-form .bay-modes .nav-link:hover {
  background: linear-gradient(180deg, #38bdf8, #2563eb) !important;
  color: #fff !important;
}
@media (max-width: 800px) {
  .bay-plan, .bay-earn-grid { grid-template-columns: 1fr; }
  .bay-plan-pay { border-left: 0; border-top: 1px solid rgba(255,255,255,.06); }
  .bay-key > div { flex-direction: column; }
}

/* Share-box fields: light text was invisible on the stock light textarea. */
textarea.form-control,
textarea.copy-source,
.codes-input .form-control,
.codes-textarea .form-control {
  background: #07111d !important;
  background-color: #07111d !important;
  color: #e7f3ff !important;
  border: 1px solid rgba(231, 243, 255, 0.45) !important;
}

.bay-gate { width: min(640px, calc(100% - 32px)); margin: 28px auto 48px; }
.bay-gate-card {
  background: rgba(16, 24, 38, .94);
  border: 1px solid rgba(147, 197, 253, .22);
  border-radius: 24px;
  padding: 36px 28px 32px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}
.bay-gate-card h1 { margin: 0 0 8px; font-size: clamp(1.35rem, 2.4vw, 1.9rem); word-break: break-word; }
.bay-gate-size { margin: 0 0 14px; color: #93c5fd; font-weight: 750; }
.bay-gate-note { margin: 0 auto 18px; max-width: 46ch; color: #d5dce8; line-height: 1.65; }
.bay-gate-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0; margin: 0 0 22px; }
.bay-gate-points li {
  border: 1px solid rgba(125, 211, 252, .28);
  border-radius: 999px;
  padding: 6px 12px;
  color: #d5e4f4;
  font-size: .85rem;
  background: rgba(7, 17, 29, .55);
}
.bay-dl { padding-bottom: 12px; }
.bay-passage {
  width: min(720px, 100%);
  margin: 8px auto 28px;
  text-align: center;
  background: rgba(16, 24, 38, .92);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  padding: 28px 22px 26px;
}
.bay-passage h2 { margin: 0 0 8px; font-size: 1.45rem; }
.bay-passage p { margin: 0 auto 16px; max-width: 46ch; color: #d5dce8; }
.bay-passage input[type=submit] {
  min-width: 220px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  font-weight: 750;
  background: transparent;
  color: #e7f3ff;
  box-shadow: inset 0 0 0 1.5px rgba(147, 197, 253, .55);
}
.bay-passage input[type=submit]:hover { background: rgba(59, 130, 246, .16); color: #fff; }
.bay-packs, .bay-plans { width: min(1080px, calc(100% - 8px)); margin: 0 auto 28px; }
.bay-plans { width: min(1080px, calc(100% - 32px)); margin: 12px auto 48px; }
.bay-packs h2, .bay-plans h1 { text-align: center; margin: 0 0 8px; }
.bay-packs .bay-kicker, .bay-plans .bay-kicker { text-align: center; }
.bay-lead, .bay-plans-lead { text-align: center; color: #d5dce8; margin: 0 auto 18px; max-width: 52ch; }
.bay-plans-facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  padding: 0; margin: 0 0 22px;
}
.bay-plans-facts li {
  background: rgba(16, 24, 38, .92);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  padding: 7px 12px;
  color: #d5e4f4;
  font-size: .86rem;
}
.bay-plans-facts b { color: #f4f7fb; font-weight: 750; }
.bay-pack-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bay-pack {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  background:
    linear-gradient(180deg, rgba(16, 24, 38, .96), rgba(8, 18, 32, .96) 70%),
    radial-gradient(120% 40% at 50% 100%, rgba(59, 130, 246, .18), transparent 60%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  padding: 26px 16px 18px;
  text-align: center;
  overflow: hidden;
}
.bay-pack.is-best { border-color: rgba(96, 165, 250, .75); box-shadow: 0 0 0 1px rgba(96, 165, 250, .28), 0 16px 40px rgba(0, 0, 0, .25); }
.bay-badge {
  position: absolute; top: 12px; right: 12px;
  background: #3b82f6; color: #fff; border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; padding: 4px 8px;
}
.bay-days { color: #93c5fd; font-weight: 750; letter-spacing: .04em; margin-bottom: 6px; }
.bay-amt, .bay-amt b { color: #f4f7fb; font-size: 2rem; font-weight: 780; letter-spacing: -.03em; line-height: 1.1; }
.bay-save { min-height: 1.4em; margin: 8px 0 14px; color: #86efac; font-size: .85rem; font-weight: 750; }
.bay-pack .btn {
  width: 100%; border: 0; border-radius: 12px; font-weight: 750; height: 44px;
  background: #3b82f6; color: #fff;
}
.bay-pack .btn:hover { background: #2563eb; color: #fff; }
.bay-pays { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.bay-pay {
  display: flex; align-items: center; justify-content: center;
  min-height: 42px; border-radius: 12px; text-decoration: none;
  background: #3b82f6; color: #fff !important; font-weight: 750;
}
.bay-pay:hover { background: #2563eb; color: #fff !important; }
.bay-pay-empty { color: #c5ceda; font-size: .82rem; margin: 8px 0 0; }
.bay-key {
  margin: 28px auto 0; width: min(560px, 100%);
  background: rgba(16, 24, 38, .92);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px; padding: 18px;
}
.bay-key label { display: block; font-weight: 750; margin-bottom: 8px; color: #f4f7fb; }
.bay-key p { margin: 0; color: #d5dce8; }
.bay-key div { display: flex; gap: 8px; }
.bay-key .form-control {
  background: #07111d !important; color: #e7f3ff !important;
  border: 1px solid rgba(125, 211, 252, .28) !important;
}
.bay-key .btn { border: 0; border-radius: 12px; background: #3b82f6; color: #fff; font-weight: 750; white-space: nowrap; }
#modal-pay { z-index: 2010; }
#modal-pay .modal-content { background: #101826 !important; color: #f4f7fb; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; }
#modal-pay .modal-header { border-bottom-color: rgba(255,255,255,.08); }
#modal-pay .modal-title { color: #f4f7fb !important; }
#modal-pay .btn-close { filter: invert(1); }
#modal-pay .paysys img { height: 48px !important; background: #fff; border-radius: 10px; padding: 6px; }
@media (max-width: 980px) { .bay-pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .bay-pack-grid { grid-template-columns: 1fr; }
  .bay-key div { flex-direction: column; }
}
