/* =====================================================================
   WorldHosts — современные блоки главной, «хлебные крошки», CTA в подвале.
   Палитра: фиолетовый #6c54c7 / #7c5ce7, тёмный #1c1c25 / #2b2160, жёлтый #FFEB3B
   ===================================================================== */

/* ---------- Общие элементы ---------- */
.wh-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 7px 14px; border-radius: 30px; color: #6c54c7; background: rgba(108, 84, 199, .1); }
.wh-pill--light { color: #f1ecff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.wh-pill--light i { color: #FFEB3B; }
.wh-hbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 14px; font-size: 15px; font-weight: 700; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.wh-hbtn--yellow { background: #FFEB3B; color: #1c1c25 !important; box-shadow: 0 10px 28px rgba(255, 235, 59, .35); }
.wh-hbtn--yellow:hover { transform: translateY(-2px); background: #ffe100; }
.wh-hbtn--purple { background: linear-gradient(135deg, #7c5ce7, #6c54c7); color: #fff !important; box-shadow: 0 10px 26px rgba(108, 84, 199, .35); }
.wh-hbtn--purple:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(108, 84, 199, .45); }
.wh-hbtn--glass { color: #fff !important; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.wh-hbtn--glass:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.wh-hbtn--ghost { color: #1c1c25 !important; background: #fff; border: 1px solid #e2dcfb; }
.wh-hbtn--ghost:hover { border-color: #6c54c7; color: #6c54c7 !important; }
.wh-sec { padding: 90px 0; }
.wh-sec__head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.wh-sec__title { font-size: 36px; font-weight: 800; line-height: 1.2; color: #1c1c25; margin: 16px 0 12px; }
.wh-sec__title span { color: #6c54c7; }
.wh-sec__sub { font-size: 16px; line-height: 1.6; color: #64748b; margin: 0; }

/* ---------- Шапка главной ---------- */
.wh-home-hero { position: relative; z-index: 2; max-width: 920px; margin: 0 auto; padding: 40px 0 70px; text-align: center; color: #fff; }
.wh-home-hero__title { font-size: 64px !important; font-weight: 800; line-height: 1.05; letter-spacing: -1px; margin: 22px 0 18px; color: #fff; text-transform: none; text-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.wh-home-hero__title span { background: linear-gradient(90deg, #FFEB3B, #ffb86b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wh-home-hero__sub { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .85); max-width: 700px; margin: 0 auto 30px; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.wh-home-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 30px; }
.wh-home-hero__games { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 34px; }
.wh-home-hero__games a { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 30px; color: #fff !important; text-decoration: none !important; background: rgba(20, 14, 50, .45); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); transition: background .15s ease, border-color .15s ease; }
.wh-home-hero__games a:hover { background: rgba(108, 84, 199, .75); border-color: #a48cff; }
.wh-home-hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 760px; margin: 0 auto; border-radius: 20px; overflow: hidden; background: rgba(20, 14, 50, .5); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); }
.wh-home-hero__stats div { padding: 18px 10px; border-right: 1px solid rgba(255, 255, 255, .1); }
.wh-home-hero__stats div:last-child { border-right: 0; }
.wh-home-hero__stats b { display: block; font-size: 24px; font-weight: 800; color: #FFEB3B; line-height: 1.1; }
.wh-home-hero__stats span { font-size: 12.5px; color: rgba(255, 255, 255, .75); }

/* ---------- О хостинге ---------- */
.wh-about { background: linear-gradient(180deg, #f7f6fd 0%, #fff 100%); }
.wh-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 60px; align-items: center; }
.wh-about__title { font-size: 38px; font-weight: 800; line-height: 1.15; color: #1c1c25; margin: 18px 0 20px; }
.wh-about__title span { color: #6c54c7; }
.wh-about__text p { font-size: 15.5px; line-height: 1.75; color: #475569; margin: 0 0 14px; }
.wh-about__text a { color: #6c54c7; font-weight: 600; }
.wh-about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.wh-about__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wh-mini { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid #ece8ff; box-shadow: 0 6px 20px rgba(28, 28, 37, .05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.wh-mini:hover { transform: translateY(-3px); border-color: #cfc5f7; box-shadow: 0 14px 32px rgba(108, 84, 199, .14); }
.wh-mini__icon { flex: 0 0 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; background: linear-gradient(135deg, #7c5ce7, #6c54c7); box-shadow: 0 6px 16px rgba(108, 84, 199, .3); }
.wh-mini h3 { font-size: 15px; font-weight: 700; color: #1c1c25; margin: 2px 0 5px; }
.wh-mini p { font-size: 13px; line-height: 1.5; color: #64748b; margin: 0; }

/* ---------- 3 шага ---------- */
.wh-steps { padding: 0 0 20px; }
.wh-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wh-step { position: relative; padding: 28px; border-radius: 22px; color: #fff; overflow: hidden; background: linear-gradient(150deg, #1c1c25 0%, #2b2160 100%); box-shadow: 0 16px 40px rgba(28, 28, 37, .18); }
.wh-step:after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 92, 231, .45), transparent 70%); }
.wh-step__icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #1c1c25; background: #FFEB3B; margin-bottom: 18px; }
.wh-step h3 { font-size: 18px; font-weight: 800; color: #fff; margin: 0 0 8px; }
.wh-step p { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .72); margin: 0; }

/* ---------- Карточки игр ---------- */
.wh-games { background: #fff; }
.wh-games__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.wh-gcard { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid #ece8ff; box-shadow: 0 6px 24px rgba(28, 28, 37, .06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.wh-gcard:hover { transform: translateY(-5px); border-color: #cfc5f7; box-shadow: 0 20px 44px rgba(108, 84, 199, .18); }
.wh-gcard__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #1c1c25; }
.wh-gcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.wh-gcard:hover .wh-gcard__media img { transform: scale(1.06); }
.wh-gcard__media:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(18, 14, 38, .75)); }
.wh-gcard__ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; color: #fff; letter-spacing: 2px; background: linear-gradient(135deg, #3b2a7a, #1c1c25); }
.wh-gcard__price { position: absolute; z-index: 1; left: 16px; bottom: 14px; font-size: 13px; font-weight: 600; color: #fff; }
.wh-gcard__price b { font-size: 22px; font-weight: 800; color: #FFEB3B; }
.wh-gcard__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 22px 22px; }
.wh-gcard__title { font-size: 19px; font-weight: 800; margin: 0; line-height: 1.25; }
.wh-gcard__title a { color: #1c1c25 !important; text-decoration: none !important; }
.wh-gcard__sub { font-size: 12.5px; color: #94a3b8; margin: 4px 0 14px; }
.wh-gcard__list { list-style: none; padding: 0; margin: 0 0 18px; flex: 1 1 auto; }
.wh-gcard__list li { position: relative; padding: 4px 0 4px 24px; font-size: 13.5px; line-height: 1.45; color: #475569; }
.wh-gcard__list li:before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 5px; font-size: 8px; display: flex; align-items: center; justify-content: center; color: #6c54c7; background: rgba(108, 84, 199, .12); }
.wh-gcard__list li b { color: #1c1c25; font-weight: 700; border: 0; }
.wh-gcard__btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 700; text-decoration: none !important; color: #6c54c7 !important; background: rgba(108, 84, 199, .09); transition: background .15s ease, color .15s ease; }
.wh-gcard:hover .wh-gcard__btn { background: linear-gradient(135deg, #7c5ce7, #6c54c7); color: #fff !important; }

/* ---------- Полезное ---------- */
.wh-useful { background: linear-gradient(180deg, #fff 0%, #f7f6fd 100%); }
.wh-useful__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.wh-ucard { display: flex; flex-direction: column; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid #ece8ff; box-shadow: 0 6px 22px rgba(28, 28, 37, .05); text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.wh-ucard:hover { transform: translateY(-4px); border-color: #cfc5f7; box-shadow: 0 18px 40px rgba(108, 84, 199, .15); }
.wh-ucard__icon { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 18px; color: #6c54c7; background: rgba(108, 84, 199, .1); transition: background .2s ease, color .2s ease; }
.wh-ucard:hover .wh-ucard__icon { color: #fff; background: linear-gradient(135deg, #7c5ce7, #6c54c7); }
.wh-ucard h3 { font-size: 17px; font-weight: 800; color: #1c1c25; margin: 0 0 8px; }
.wh-ucard p { font-size: 14px; line-height: 1.6; color: #64748b; margin: 0 0 18px; flex: 1 1 auto; }
.wh-ucard__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #6c54c7; }
.wh-ucard__more i { transition: transform .15s ease; }
.wh-ucard:hover .wh-ucard__more i { transform: translateX(4px); }

/* ---------- CTA над подвалом (все страницы) ---------- */
.wh-cta-sec { padding: 70px 0 60px; background: #2b2647; }
.wh-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 50px; border-radius: 28px; overflow: hidden; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(255, 235, 59, .22), transparent 40%), radial-gradient(circle at 0% 100%, rgba(124, 92, 231, .6), transparent 50%), linear-gradient(135deg, #3a2a8a 0%, #6c54c7 100%); box-shadow: 0 24px 60px rgba(16, 10, 50, .4); }
.wh-cta__title { font-size: 30px; font-weight: 800; line-height: 1.2; color: #fff; margin: 0 0 8px; }
.wh-cta__text { font-size: 16px; color: rgba(255, 255, 255, .82); margin: 0; }
.wh-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* ---------- «Хлебные крошки» (все внутренние страницы) ---------- */
.wh-crumbs { display: flex; justify-content: center; margin-top: 14px; }
.wh-crumbs ol { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 7px 8px; border-radius: 30px; background: rgba(20, 14, 50, .45); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.wh-crumbs li { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .95); }
.wh-crumbs li + li:before { content: "\f054"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 9px; color: rgba(255, 255, 255, .45); margin: 0 6px 0 2px; }
.wh-crumbs a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; color: rgba(255, 255, 255, .78) !important; text-decoration: none !important; transition: background .15s ease, color .15s ease; }
.wh-crumbs a:hover { background: rgba(255, 255, 255, .12); color: #fff !important; }
.wh-crumbs a i { color: #FFEB3B; }
.wh-crumbs .is-current { padding: 4px 12px; border-radius: 20px; color: #1c1c25; background: #FFEB3B; }

/* ---------- Адаптив ---------- */
@media (max-width: 1199px) {
  .wh-about__grid { gap: 36px; }
  .wh-useful__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .wh-sec { padding: 64px 0; }
  .wh-home-hero__title { font-size: 46px !important; }
  .wh-about__grid { grid-template-columns: 1fr; }
  .wh-games__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wh-steps__grid { grid-template-columns: 1fr; }
  .wh-cta { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
}
@media (max-width: 575px) {
  .wh-home-hero { padding: 20px 0 50px; }
  .wh-home-hero__title { font-size: 34px !important; }
  .wh-home-hero__sub { font-size: 15.5px; }
  .wh-home-hero__stats { grid-template-columns: 1fr 1fr; }
  .wh-home-hero__stats div:nth-child(2) { border-right: 0; }
  .wh-home-hero__stats div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .wh-home-hero__games { display: none; }
  .wh-sec__title, .wh-about__title { font-size: 27px; }
  .wh-about__cards, .wh-games__grid, .wh-useful__grid { grid-template-columns: 1fr; }
  .wh-cta__title { font-size: 23px; }
}

/* ---------- Шире контейнер на главной (как на страницах тарифов) ---------- */
@media (min-width: 1300px) {
  .wh-sec > .container,
  .wh-steps > .container,
  .wh-cta-sec > .container,
  .wh-benefits-section > .container,
  body:has(.wh-home-hero) #main-body > .container { width: min(1320px, 92vw) !important; max-width: none; }
  .wh-games__grid { gap: 26px; }
}

/* ---------- Шапка страницы игры в верхнем блоке сайта ---------- */
#coodiv-header.subpages-header:has(.wh-ghero) { height: auto !important; max-height: none !important; min-height: 0 !important; }
.wh-ghero-wrap { margin: 0 auto !important; padding-top: 175px; padding-bottom: 120px; }
.wh-ghero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: center; text-align: left; color: #fff; }
.wh-ghero .wh-crumbs { justify-content: flex-start; margin: 0 0 18px; }
.wh-ghero__title { font-size: 44px !important; font-weight: 800; line-height: 1.12; letter-spacing: -.5px; color: #fff; margin: 0 0 14px; text-transform: none !important; text-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.wh-ghero__lead { font-size: 19px; font-weight: 600; line-height: 1.45; color: rgba(255, 255, 255, .92); margin: 0 0 8px; }
.wh-ghero__lead strong { color: #FFEB3B; }
.wh-ghero__text { font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .75); margin: 0 0 22px; max-width: 680px; }
.wh-ghero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wh-ghero__chips span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 8px 13px; border-radius: 30px; color: #fff; background: rgba(20, 14, 50, .45); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.wh-ghero__chips i { color: #FFEB3B; }
.wh-ghero__card { border-radius: 24px; overflow: hidden; background: rgba(20, 14, 50, .55); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(12px); box-shadow: 0 24px 60px rgba(10, 6, 30, .45); }
.wh-ghero__art { height: 150px; background-size: cover; background-position: center; position: relative; }
.wh-ghero__art:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 14, 50, .9)); }
.wh-ghero__buy { padding: 4px 24px 24px; text-align: center; }
.wh-ghero__buy b { display: block; font-size: 44px; font-weight: 800; line-height: 1.05; color: #fff; }
.wh-ghero__from, .wh-ghero__per { display: block; font-size: 13px; color: rgba(255, 255, 255, .7); }
.wh-ghero__from { margin-top: 12px; }
.wh-ghero__per { margin-bottom: 18px; }
.wh-ghero__buy .wh-hbtn { width: 100%; }
.subpages-header:has(.wh-ghero) .mouse-helper { display: none; }

/* ---------- Меню «Купить»: компактное, в три колонки ---------- */
@media (min-width: 992px) {
  #coodiv-navbar-header li[menuItemName="Store"] > .dropdown-menu {
    display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 8px; width: 640px; padding: 14px; left: 50%; transform: translateX(-50%); margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; background: linear-gradient(160deg, #1c1c25 0%, #2b2160 100%); box-shadow: 0 24px 60px rgba(10, 6, 30, .5);
  }
  #coodiv-navbar-header li[menuItemName="Store"].open > .dropdown-menu { display: grid; }
  #coodiv-navbar-header li[menuItemName="Store"] > .dropdown-menu:before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; transform: translateX(-50%) rotate(45deg); background: #1c1c25; border-left: 1px solid rgba(255, 255, 255, .12); border-top: 1px solid rgba(255, 255, 255, .12); }
  #coodiv-navbar-header li[menuItemName="Store"] > .dropdown-menu > li > a {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px !important; border-radius: 12px; font-size: 14px !important; font-weight: 600; color: rgba(255, 255, 255, .88) !important; background: transparent; white-space: nowrap; text-transform: none !important; transition: background .15s ease, color .15s ease;
  }
  #coodiv-navbar-header li[menuItemName="Store"] > .dropdown-menu > li > a:before { content: "\f11b"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 12px; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #FFEB3B; background: rgba(255, 255, 255, .08); }
  #coodiv-navbar-header li[menuItemName="Store"] > .dropdown-menu > li > a:hover { background: rgba(124, 92, 231, .35); color: #fff !important; }
  #coodiv-navbar-header li[menuItemName="Store"] > .dropdown-menu > li > a[href*="veb-khosting"]:before { content: "\f0ac"; }
}

@media (max-width: 991px) {
  .wh-ghero { grid-template-columns: 1fr; gap: 26px; }
  .wh-ghero__title { font-size: 32px !important; }
  .wh-ghero__card { max-width: 420px; }
}
@media (max-width: 575px) {
  .wh-ghero-wrap { padding-top: 120px; padding-bottom: 80px; }
  .wh-ghero__title { font-size: 26px !important; }
  .wh-ghero__lead { font-size: 16px; }
}

/* ---------- Подвал ---------- */
.wh-footer { padding: 64px 0 28px; color: rgba(255, 255, 255, .72); background: radial-gradient(circle at 0% 0%, rgba(124, 92, 231, .22), transparent 40%), #1f1b38; }
.wh-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.wh-footer__logo img { height: 46px; width: auto; margin-bottom: 18px; }
.wh-footer__brand p { font-size: 14px; line-height: 1.7; margin: 0 0 18px; max-width: 400px; color: rgba(255, 255, 255, .68); }
.wh-footer__contacts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.wh-footer__contacts a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 600; color: #fff !important; text-decoration: none !important; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); transition: background .15s ease, border-color .15s ease; }
.wh-footer__contacts a:hover { background: rgba(124, 92, 231, .35); border-color: #8b70f0; }
.wh-footer__contacts i { color: #FFEB3B; }
.wh-footer__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.wh-footer__badges span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255, 255, 255, .6); padding: 5px 10px; border-radius: 20px; border: 1px dashed rgba(255, 255, 255, .15); }
.wh-footer__badges i { color: #a48cff; }
.wh-footer__col h5 { font-size: 14px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #fff; margin: 6px 0 18px; }
.wh-footer__col ul { list-style: none; margin: 0; padding: 0; }
.wh-footer__col li { margin-bottom: 10px; }
.wh-footer__col a { font-size: 14.5px; color: rgba(255, 255, 255, .68) !important; text-decoration: none !important; transition: color .15s ease, padding .15s ease; }
.wh-footer__col a:hover { color: #FFEB3B !important; padding-left: 4px; }
.wh-footer__all { font-weight: 700; color: #a48cff !important; }
.wh-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .5); }
.wh-footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.wh-footer__links a { color: rgba(255, 255, 255, .6) !important; text-decoration: none !important; }
.wh-footer__links a:hover { color: #fff !important; }
.wh-cta-sec { background: linear-gradient(180deg, #2d2d44 0%, #2d2d44 50%, #1f1b38 50%); padding: 50px 0 0; }
.wh-footer { padding-top: 56px; }
@media (min-width: 1300px) { .wh-footer > .container { width: min(1320px, 92vw) !important; max-width: none; } }
@media (max-width: 991px) { .wh-footer__grid { grid-template-columns: 1fr 1fr; } .wh-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 575px) { .wh-footer__grid { grid-template-columns: 1fr; gap: 28px; } .wh-footer__bottom { flex-direction: column; align-items: flex-start; } }

/* ---------- Навигация и выпадающие меню всегда поверх содержимого шапки ---------- */
#coodiv-navbar-header { z-index: 1030 !important; }
#coodiv-navbar-header .dropdown-menu { z-index: 1040; }
.wh-home-hero, .wh-ghero { z-index: 1; }

/* =====================================================================
   Вход и регистрация
   ===================================================================== */
body.fullpage { background: #f6f4fd; }
.wh-auth.custom-login-page { min-height: 100vh; background: #f6f4fd; }
.wh-auth .wh-auth-side { width: 44%; max-width: 640px; min-width: 420px; padding: 36px 48px; color: #fff; justify-content: space-between;
  background: linear-gradient(160deg, rgba(18, 12, 46, .88) 0%, rgba(43, 33, 96, .82) 55%, rgba(108, 84, 199, .7) 100%), url("../img/header/worldhosts-final.png") center / cover no-repeat, #1c1c25 !important; }
.wh-auth-side__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wh-auth-side__logo img { height: 44px; width: auto; }
.wh-auth-side__mail { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .85) !important; padding: 8px 14px; border-radius: 30px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); text-decoration: none !important; }
.wh-auth-side__mail i { color: #FFEB3B; }
.wh-auth-side__mid { max-width: 480px; }
.wh-auth-side__title { font-size: 40px; font-weight: 800; line-height: 1.12; color: #fff; margin: 20px 0 14px; }
.wh-auth-side__sub { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .8); margin: 0 0 26px; }
.wh-auth-side__list { list-style: none; padding: 0; margin: 0 0 28px; }
.wh-auth-side__list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 14.5px; color: rgba(255, 255, 255, .9); }
.wh-auth-side__list i { flex: 0 0 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #1c1c25; background: #FFEB3B; }
.wh-auth-side__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); }
.wh-auth-side__stats div { padding: 14px 10px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .1); }
.wh-auth-side__stats div:last-child { border-right: 0; }
.wh-auth-side__stats b { display: block; font-size: 22px; font-weight: 800; color: #FFEB3B; }
.wh-auth-side__stats span { font-size: 12px; color: rgba(255, 255, 255, .7); }
.wh-auth-side__foot { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.wh-auth-side__foot a { color: rgba(255, 255, 255, .75) !important; margin-left: 16px; text-decoration: none !important; }
.wh-auth-side__foot a:hover { color: #fff !important; }

.wh-auth .login-right-side-custom { min-height: 100vh; display: flex; flex-direction: column; padding: 30px 48px 40px calc(min(44%, 640px) + 48px) !important; background: #f6f4fd !important; }
@media (max-width: 954px) { .wh-auth .login-right-side-custom { padding-left: 468px !important; } }
.wh-auth .login-head { font-size: 14px; color: #64748b; }
.wh-auth .login-head a { display: inline-flex; margin-left: 6px; padding: 8px 16px; border-radius: 30px; font-weight: 700; color: #6c54c7 !important; background: #fff; border: 1px solid #e2dcfb; text-decoration: none !important; transition: all .15s ease; }
.wh-auth .login-head a:hover { background: #6c54c7; color: #fff !important; border-color: #6c54c7; }
.wh-auth .login-wrapper { flex: 1 1 auto; align-items: center; padding-top: 20px; height: auto; }
.wh-auth .login-wrapper .login-form-container { max-width: 460px; padding: 40px; border-radius: 26px; background: #fff; border: 1px solid #ece8ff; box-shadow: 0 24px 60px rgba(28, 28, 37, .08); }
.wh-auth--register .login-wrapper .login-form-container { max-width: 760px; }
.wh-auth .login-wrapper .login-form-container .login-title { font-size: 28px !important; font-weight: 800; text-transform: none !important; text-align: left; color: #1c1c25; margin: 0 0 6px; letter-spacing: 0; }
.wh-auth__lead, .wh-auth .register-subtitle { font-size: 14.5px; color: #64748b; margin: 0 0 26px; text-align: left; }
.wh-auth__label { display: block; font-size: 13px; font-weight: 700; color: #334155; margin: 0 0 7px; }
.wh-auth .form-group { margin-bottom: 18px; }
.wh-auth input.form-control, .wh-auth select.form-control, .wh-auth .login-form input.form-control {
  height: 50px !important; margin-top: 0 !important; padding: 0 16px !important; border-radius: 14px !important; border: 1px solid #e2dcfb !important; background: #faf9ff !important; font-size: 15px; color: #1c1c25; box-shadow: none !important; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.wh-auth input.form-control:focus, .wh-auth select.form-control:focus { border-color: #7c5ce7 !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(124, 92, 231, .15) !important; outline: none; }
.wh-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 22px; font-size: 14px; }
.wh-auth__check { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; color: #475569; cursor: pointer; }
.wh-auth__check input { width: 18px; height: 18px; accent-color: #6c54c7; margin: 0; }
.wh-auth__forgot { font-weight: 700; color: #6c54c7 !important; }
.wh-auth .wh-auth__submit, .wh-auth .register-submit-wrap .btn-primary, .wh-auth #frmCheckout button[type="submit"] {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; padding: 0 20px !important; border: 0 !important; border-radius: 14px !important; font-size: 16px !important; font-weight: 700 !important; color: #fff !important; text-transform: none; background: linear-gradient(135deg, #7c5ce7, #6c54c7) !important; box-shadow: 0 12px 28px rgba(108, 84, 199, .35); transition: transform .15s ease, box-shadow .15s ease; }
.wh-auth .wh-auth__submit:hover, .wh-auth #frmCheckout button[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(108, 84, 199, .45); }
.wh-auth__alt { text-align: center; font-size: 14px; color: #64748b; margin: 20px 0 0; }
.wh-auth__alt a { font-weight: 700; color: #6c54c7 !important; }
.wh-auth .sub-heading { margin: 26px 0 16px; border: 0; text-align: left; }
.wh-auth .sub-heading span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 30px; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #6c54c7; background: rgba(108, 84, 199, .1); }
.wh-auth .sub-heading:before, .wh-auth .sub-heading:after { display: none; }
.wh-auth .marketing-email-optin { padding: 18px 20px; border-radius: 16px; background: #f6f4fd; border: 1px solid #ece8ff; }
.wh-auth .tospanel { border-radius: 16px; overflow: hidden; border: 1px solid #fde2e2; box-shadow: none; }
.wh-auth .tospanel .panel-heading { background: #fff4f4; border: 0; }
.wh-auth .register-submit-wrap { margin-top: 10px; }
.wh-auth .password-strength-meter .progress { height: 6px; border-radius: 6px; background: #ece8ff; }

@media (max-width: 991px) {
  .wh-auth.custom-login-page { flex-direction: column; }
  .wh-auth .wh-auth-side { position: relative !important; width: 100%; max-width: none; min-width: 0; height: auto; padding: 24px; }
  .wh-auth-side__mid { margin: 24px 0; }
  .wh-auth-side__title { font-size: 28px; }
  .wh-auth-side__list, .wh-auth-side__stats, .wh-auth-side__foot { display: none; }
  .wh-auth .login-right-side-custom { padding: 24px 16px 40px !important; min-height: 0; }
  .wh-auth .login-wrapper .login-form-container { padding: 26px 20px; }
}
.wh-auth input.field:not([type="checkbox"]):not([type="radio"]) { width: 100% !important; height: 50px !important; padding: 0 16px !important; border-radius: 14px !important; border: 1px solid #e2dcfb !important; background: #faf9ff !important; font-size: 15px; box-shadow: none !important; }
.wh-auth input.field:focus { border-color: #7c5ce7 !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(124, 92, 231, .15) !important; outline: none; }
.wh-auth .generate-password { height: 44px; padding: 0 16px !important; border-radius: 12px !important; font-weight: 700; color: #6c54c7 !important; background: rgba(108, 84, 199, .08) !important; border: 1px solid #e2dcfb !important; }
.wh-auth .generate-password:hover { background: #6c54c7 !important; color: #fff !important; }
.wh-auth .password-strength-meter { padding-top: 6px; }
.wh-auth .register-submit-wrap { display: block !important; text-align: initial; }
.wh-auth .register-submit-wrap .btn { width: 100% !important; max-width: none !important; margin: 0 !important; }

/* =====================================================================
   Общий стиль разделов сайта и личного кабинета (компоненты WHMCS)
   ===================================================================== */

/* ---- Заголовок внутренних страниц на фоне шапки ---- */
.main-header-sub-pages-informations div.header-lined h1 { font-size: 40px !important; font-weight: 800 !important; text-transform: none !important; letter-spacing: -.3px !important; text-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.main-header-sub-pages-informations div.header-lined h1 small { font-size: 16px !important; color: rgba(255, 255, 255, .75) !important; text-transform: none !important; }

/* ---- Белый блок с содержимым ---- */
#main-body .col-xs-12.main-content, #main-body .col-md-9.main-content { border-radius: 24px; padding: 34px; box-shadow: 0 20px 50px rgba(28, 28, 37, .08); }

/* ---- Кнопки ---- */
#main-body .btn { border-radius: 12px; font-weight: 600; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease; }
#main-body .btn:not(.btn-xs):not(.btn-sm):not(.btn-lg) { padding: 9px 18px; }
#main-body .btn-lg { padding: 13px 26px; border-radius: 14px; font-size: 16px; }
#main-body .btn-sm { padding: 6px 12px; border-radius: 10px; }
#main-body .btn-xs { border-radius: 8px; }
#main-body .btn-primary { color: #fff !important; border-color: transparent !important; background: linear-gradient(135deg, #7c5ce7, #6c54c7) !important; box-shadow: 0 8px 20px rgba(108, 84, 199, .28); }
#main-body .btn-primary:hover, #main-body .btn-primary:focus { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(108, 84, 199, .4); }
#main-body .btn-default { color: #334155 !important; background: #fff !important; border: 1px solid #e2dcfb !important; }
#main-body .btn-default:hover, #main-body .btn-default:focus { color: #6c54c7 !important; border-color: #6c54c7 !important; }
#main-body .btn-success { color: #fff !important; border-color: transparent !important; background: linear-gradient(135deg, #22c55e, #10b981) !important; box-shadow: 0 8px 20px rgba(16, 185, 129, .25); }
#main-body .btn-danger { color: #fff !important; border-color: transparent !important; background: linear-gradient(135deg, #f87171, #ef4444) !important; }
#main-body .btn-warning { color: #1c1c25 !important; border-color: transparent !important; background: #FFEB3B !important; }
#main-body .btn-info { color: #fff !important; border-color: transparent !important; background: linear-gradient(135deg, #38bdf8, #0ea5e9) !important; }
#main-body .btn-link { color: #6c54c7 !important; font-weight: 600; }

/* ---- Поля форм ---- */
#main-body .form-control { border-radius: 12px !important; border: 1px solid #e2dcfb !important; background-color: #faf9ff !important; box-shadow: none !important; color: #1c1c25; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
#main-body input.form-control, #main-body select.form-control { height: 46px; padding: 0 14px; }
#main-body textarea.form-control { padding: 12px 14px; }
#main-body .input-lg.form-control { height: 54px; font-size: 16px; }
#main-body .input-sm.form-control { height: 36px; }
#main-body .form-control:focus { border-color: #7c5ce7 !important; background-color: #fff !important; box-shadow: 0 0 0 4px rgba(124, 92, 231, .15) !important; }
#main-body .control-label, #main-body .form-group > label { font-weight: 700; color: #334155; }
#main-body .input-group-addon { border-radius: 12px; border-color: #e2dcfb; background: #f6f4fd; color: #6c54c7; }
#main-body .input-group .form-control:first-child { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
#main-body .input-group .form-control:last-child { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
#main-body .input-group-btn .btn { height: 46px; }
#main-body .help-block, #main-body .field-help-text { color: #94a3b8; font-size: 13px; }

/* ---- Панели и блоки ---- */
#main-body .main-content .panel:not(.panel-sidebar):not(.coodiv-panel-client-area-home) { border-radius: 20px; border: 1px solid #ece8ff; box-shadow: 0 6px 24px rgba(28, 28, 37, .05); overflow: hidden; }
#main-body .main-content .panel:not(.panel-sidebar):not(.coodiv-panel-client-area-home) > .panel-heading { padding: 16px 22px; background: #f7f6fd !important; border-bottom: 1px solid #ece8ff; color: #1c1c25; }
#main-body .main-content .panel:not(.panel-sidebar):not(.coodiv-panel-client-area-home) .panel-title { font-size: 16px; font-weight: 800; color: #1c1c25; }
#main-body .main-content .panel:not(.panel-sidebar):not(.coodiv-panel-client-area-home) > .panel-body { padding: 22px; }
#main-body .main-content .panel:not(.panel-sidebar):not(.coodiv-panel-client-area-home) > .panel-footer { padding: 14px 22px; background: #fff; border-top: 1px solid #f0edfa; }
#main-body .well { border-radius: 16px; border: 1px solid #ece8ff; background: #f7f6fd; box-shadow: none; }

/* ---- Таблицы ---- */
#main-body .main-content .table { border-collapse: separate; border-spacing: 0; }
#main-body .main-content .table > thead > tr > th { padding: 14px 16px; border-bottom: 1px solid #ece8ff !important; border-top: 0 !important; background: #f6f4fd; color: #64748b; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
#main-body .main-content .table > thead > tr > th:first-child { border-top-left-radius: 14px; }
#main-body .main-content .table > thead > tr > th:last-child { border-top-right-radius: 14px; }
#main-body .main-content .table > tbody > tr > td { padding: 14px 16px; border-top: 1px solid #f0edfa !important; vertical-align: middle; color: #334155; }
#main-body .main-content .table-striped > tbody > tr:nth-of-type(odd) { background: #fcfbff; }
#main-body .main-content .table > tbody > tr:hover > td { background: #f7f5ff; }
#main-body .main-content .table-responsive { border: 0; border-radius: 16px; }
#main-body .dataTables_wrapper .dataTables_filter input, #main-body .dataTables_wrapper .dataTables_length select { height: 40px; border-radius: 12px; border: 1px solid #e2dcfb; background: #faf9ff; padding: 0 12px; }
#main-body .dataTables_wrapper .dataTables_info { color: #94a3b8; font-size: 13px; }

/* ---- Пагинация ---- */
#main-body .pagination > li > a, #main-body .pagination > li > span { margin: 0 3px; border-radius: 10px !important; border: 1px solid #e2dcfb; color: #6c54c7; font-weight: 600; }
#main-body .pagination > .active > a, #main-body .pagination > .active > span { background: linear-gradient(135deg, #7c5ce7, #6c54c7); border-color: transparent; color: #fff; }
#main-body .pagination > li > a:hover { background: #f6f4fd; }

/* ---- Метки и статусы ---- */
#main-body .label { display: inline-block; padding: 5px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 700; letter-spacing: .3px; }
#main-body .label-default { background: #eef0f4; color: #475569; }
#main-body .label-primary { background: rgba(108, 84, 199, .12); color: #6c54c7; }
#main-body .label-success, #main-body .label.status-active, #main-body .label.status-paid, #main-body .label.status-open, #main-body .label.status-completed { background: #dcfce7; color: #15803d; }
#main-body .label-warning, #main-body .label.status-pending, #main-body .label.status-unpaid, #main-body .label.status-customer-reply, #main-body .label.status-answered { background: #fef3c7; color: #b45309; }
#main-body .label-danger, #main-body .label.status-cancelled, #main-body .label.status-terminated, #main-body .label.status-suspended, #main-body .label.status-overdue, #main-body .label.status-fraud { background: #fee2e2; color: #b91c1c; }
#main-body .label-info, #main-body .label.status-closed, #main-body .label.status-refunded { background: #e0f2fe; color: #0369a1; }

/* ---- Уведомления ---- */
#main-body .alert { border-radius: 14px; border: 0; border-left: 4px solid; padding: 14px 18px; font-size: 14.5px; }
#main-body .alert-success { background: #ecfdf5; border-color: #10b981; color: #065f46; }
#main-body .alert-info { background: #f3f0ff; border-color: #7c5ce7; color: #3b2a7a; }
#main-body .alert-warning { background: #fffbeb; border-color: #f59e0b; color: #92400e; }
#main-body .alert-danger { background: #fef2f2; border-color: #ef4444; color: #991b1b; }
#main-body .alert a { font-weight: 700; color: inherit; text-decoration: underline; }

/* ---- Вкладки ---- */
#main-body .main-content .nav-tabs { border: 0; display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 16px; background: #f6f4fd; margin-bottom: 20px; }
#main-body .main-content .nav-tabs > li { float: none; margin: 0; }
#main-body .main-content .nav-tabs > li > a { margin: 0; border: 0 !important; border-radius: 12px; padding: 9px 16px; font-weight: 700; color: #64748b; }
#main-body .main-content .nav-tabs > li > a:hover { background: #fff; color: #6c54c7; }
#main-body .main-content .nav-tabs > li.active > a, #main-body .main-content .nav-tabs > li.active > a:hover, #main-body .main-content .nav-tabs > li.active > a:focus { background: #fff !important; color: #6c54c7 !important; box-shadow: 0 4px 14px rgba(28, 28, 37, .08); }

/* ---- Списки (вне боковой панели) ---- */
#main-body .main-content .list-group { border-radius: 16px; overflow: hidden; border: 1px solid #ece8ff; }
#main-body .main-content .list-group-item { border: 0; border-bottom: 1px solid #f0edfa; padding: 14px 18px; }
#main-body .main-content .list-group-item:last-child { border-bottom: 0; }
#main-body .main-content a.list-group-item:hover { background: #f7f5ff; color: #6c54c7; }

/* ---- Модальные окна ---- */
.modal-content { border-radius: 22px !important; border: 0 !important; box-shadow: 0 30px 80px rgba(16, 10, 50, .35) !important; overflow: hidden; }
.modal-header { padding: 20px 24px !important; border-bottom: 1px solid #f0edfa !important; }
.modal-title { font-weight: 800 !important; color: #1c1c25; }
.modal-body { padding: 22px 24px !important; }
.modal-footer { padding: 16px 24px !important; border-top: 1px solid #f0edfa !important; background: #faf9ff; }

/* ---- Главная личного кабинета: плитки ---- */
.box-intr-holder-client-home { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 24px !important; }
.box-intr-holder-client-home:before, .box-intr-holder-client-home:after { display: none !important; }
.box-intr-holder-client-home .box-intr { width: auto !important; float: none !important; padding: 0 !important; }
.box-intr-holder-client-home .box-intr a { position: relative; display: block; height: 100%; padding: 22px 22px 20px !important; border-radius: 20px; background: #fff !important; border: 1px solid #ece8ff !important; box-shadow: 0 6px 24px rgba(28, 28, 37, .06); text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; overflow: hidden; }
.box-intr-holder-client-home .box-intr a:hover { transform: translateY(-4px); border-color: #cfc5f7 !important; box-shadow: 0 18px 40px rgba(108, 84, 199, .16); }
.box-intr-holder-client-home .box-intr .icon { width: 46px; height: 46px; border-radius: 14px; display: flex !important; align-items: center; justify-content: center; margin: 0 0 14px !important; font-size: 20px; color: #fff !important; background: linear-gradient(135deg, #7c5ce7, #6c54c7) !important; box-shadow: 0 8px 18px rgba(108, 84, 199, .3); position: static !important; }
.box-intr-holder-client-home .box-intr .icon i { color: #fff !important; }
.box-intr-holder-client-home .box-intr .stat { font-size: 34px !important; font-weight: 800 !important; line-height: 1 !important; color: #1c1c25 !important; margin: 0 0 6px !important; }
.box-intr-holder-client-home .box-intr .title { font-size: 14px !important; font-weight: 600 !important; color: #64748b !important; text-transform: none !important; }
.box-intr-holder-client-home .box-intr:nth-child(4) a .icon { background: linear-gradient(135deg, #FFEB3B, #f5b400) !important; }
.box-intr-holder-client-home .box-intr:nth-child(4) a .icon i { color: #1c1c25 !important; }
.home-kb-search { position: relative; }
.home-kb-search .form-control { padding-left: 52px !important; height: 56px !important; border-radius: 16px !important; }
.home-kb-search .fa-search { position: absolute; left: 34px; top: 50%; transform: translateY(-50%); color: #6c54c7; font-size: 18px; }
.client-home-panels .panel { margin-bottom: 20px; }

@media (max-width: 991px) {
  .box-intr-holder-client-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #main-body .col-xs-12.main-content, #main-body .col-md-9.main-content { padding: 22px 16px; }
  .main-header-sub-pages-informations div.header-lined h1 { font-size: 28px !important; }
}
.box-intr-holder-client-home .box-intr .icon { margin: 0 auto 14px !important; }
.box-intr-holder-client-home .box-intr .icon i { position: static !important; font-size: 19px !important; width: auto !important; height: auto !important; line-height: 1 !important; opacity: 1 !important; transform: none !important; }
.box-intr-holder-client-home .box-intr .icon:before, .box-intr-holder-client-home .box-intr .icon:after { display: none !important; }

/* ---- Личный кабинет: страница услуги, профиль ---- */
.pd-status-card, .pd-status-card--active { background: radial-gradient(circle at 100% 0%, rgba(255, 235, 59, .22), transparent 45%), linear-gradient(150deg, #2b2160 0%, #6c54c7 100%) !important; border-radius: 22px !important; box-shadow: 0 18px 40px rgba(108, 84, 199, .3); }
.pd-status-card--suspended { background: linear-gradient(150deg, #7c2d12 0%, #ea580c 100%) !important; }
.pd-status-card--terminated, .pd-status-card--cancelled { background: linear-gradient(150deg, #334155 0%, #64748b 100%) !important; }
#main-body .marketing-email-optin { padding: 18px 20px; border-radius: 16px; background: #f6f4fd; border: 1px solid #ece8ff; }
#main-body .marketing-email-optin h4 { font-weight: 800; color: #1c1c25; }
#main-body .intl-tel-input { width: 100%; }
#main-body .checkbox label, #main-body label.checkbox-inline { font-weight: 500; }
#main-body input[type="checkbox"], #main-body input[type="radio"] { accent-color: #6c54c7; }

/* ---- Шире контейнер на всех внутренних страницах (страницы тарифов — 1440) ---- */
@media (min-width: 1300px) {
  body:not(:has(.wh-game)):not(:has(.wh-home-hero)) #main-body > .container,
  body:not(:has(.wh-game)):not(:has(.wh-home-hero)) .main-header-sub-pages-informations.container { width: min(1320px, 92vw) !important; max-width: none; }
}

/* ---- Партнёрская программа (активация) ---- */
.wh-aff__hero { padding: 40px; border-radius: 24px; color: #fff; background: radial-gradient(circle at 100% 0%, rgba(255, 235, 59, .25), transparent 45%), linear-gradient(150deg, #1c1c25 0%, #2b2160 55%, #6c54c7 100%); box-shadow: 0 20px 50px rgba(28, 28, 37, .2); }
#main-body .wh-aff__title { font-size: 30px; font-weight: 800; color: #fff; margin: 16px 0 10px; }
.wh-aff__lead { font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .8); margin: 0 0 22px; max-width: 720px; }
.wh-aff__hero button { border: 0; cursor: pointer; }
.wh-aff__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.wh-aff__item { display: flex; gap: 14px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid #ece8ff; box-shadow: 0 6px 20px rgba(28, 28, 37, .05); }
.wh-aff__item span { flex: 0 0 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #7c5ce7, #6c54c7); }
.wh-aff__item p { margin: 0; font-size: 14px; line-height: 1.55; color: #475569; }
@media (max-width: 767px) { .wh-aff__grid { grid-template-columns: 1fr; } .wh-aff__hero { padding: 26px 20px; } }

/* ---- Личный кабинет: список счетов ---- */
.wh-invlist__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.wh-invlist__stat { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: #f7f6fd; border: 1px solid #ece8ff; }
.wh-invlist__stat.is-alert { background: #fffbeb; border-color: #fde68a; }
.wh-invlist__stat b { display: block; font-size: 24px; font-weight: 800; color: #1c1c25; line-height: 1.1; }
.wh-invlist__stat small { font-size: 13px; color: #64748b; }
.wh-invlist__ico { flex: 0 0 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 17px; color: #fff; background: linear-gradient(135deg, #7c5ce7, #6c54c7); }
.wh-invlist__ico--ok { background: linear-gradient(135deg, #22c55e, #10b981); }
.wh-invlist__ico--due { background: linear-gradient(135deg, #FFEB3B, #f5b400); color: #1c1c25; }
.wh-invrow { display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 10px; border-radius: 18px; background: #fff; border: 1px solid #ece8ff; box-shadow: 0 4px 16px rgba(28, 28, 37, .04); text-decoration: none !important; color: #334155 !important; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.wh-invrow:hover { transform: translateY(-2px); border-color: #cfc5f7; box-shadow: 0 14px 30px rgba(108, 84, 199, .14); }
.wh-invrow__ico { flex: 0 0 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #6c54c7; background: rgba(108, 84, 199, .1); }
.wh-invrow--paid .wh-invrow__ico { color: #10b981; background: #dcfce7; }
.wh-invrow--unpaid .wh-invrow__ico, .wh-invrow--overdue .wh-invrow__ico { color: #b45309; background: #fef3c7; }
.wh-invrow__main { flex: 1 1 auto; min-width: 0; }
.wh-invrow__main b { display: block; font-size: 15.5px; font-weight: 800; color: #1c1c25; }
.wh-invrow__main small { font-size: 13px; color: #94a3b8; }
.wh-invrow__main small i { color: #a48cff; margin-right: 3px; }
.wh-invrow__sep { margin: 0 4px; }
.wh-invrow__status { padding: 5px 11px; border-radius: 20px; font-size: 12px; font-weight: 700; background: #eef0f4; color: #475569; white-space: nowrap; }
.wh-invrow__status--paid { background: #dcfce7; color: #15803d; }
.wh-invrow__status--unpaid, .wh-invrow__status--overdue, .wh-invrow__status--payment-pending { background: #fef3c7; color: #b45309; }
.wh-invrow__status--cancelled, .wh-invrow__status--collections { background: #fee2e2; color: #b91c1c; }
.wh-invrow__status--refunded { background: #e0f2fe; color: #0369a1; }
.wh-invrow__total { min-width: 110px; text-align: right; font-size: 18px; font-weight: 800; color: #1c1c25; white-space: nowrap; }
.wh-invrow__go { color: #c5bdf0; }
.wh-invrow__pay { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: #1c1c25; background: #FFEB3B; white-space: nowrap; }
.wh-invlist__empty { text-align: center; padding: 40px 20px; border-radius: 18px; border: 1px dashed #e2dcfb; color: #94a3b8; }
.wh-invlist__empty .wh-invlist__ico { margin: 0 auto 12px; width: 52px; height: 52px; }
@media (max-width: 767px) {
  .wh-invlist__stats { grid-template-columns: 1fr; }
  .wh-invrow { flex-wrap: wrap; }
  .wh-invrow__main { flex-basis: calc(100% - 60px); }
  .wh-invrow__total { min-width: 0; text-align: left; margin-left: 58px; }
}

/* ---- Личный кабинет: управление услугой (clientareaproductdetails.tpl) ---- */
.pd-top-section { gap: 20px !important; }
.pd-status-card { min-height: 240px !important; padding: 30px !important; }
.pd-status-card__product { font-size: 26px !important; font-weight: 800 !important; color: #fff !important; }
.pd-status-card__group { color: rgba(255, 255, 255, .7) !important; text-transform: uppercase; letter-spacing: .8px; font-size: 12px !important; }
.pd-status-badge { display: inline-flex !important; align-items: center; gap: 6px; padding: 6px 12px !important; border-radius: 30px !important; font-size: 12px !important; font-weight: 800 !important; letter-spacing: .5px; text-transform: uppercase; background: rgba(255, 255, 255, .14) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .25); }
.pd-status-badge--active:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); }
.pd-status-card__actions .btn { border-radius: 12px !important; font-weight: 700 !important; }
#main-body .pd-status-card__actions .btn-success, #main-body .pd-status-card__actions .btn-primary, #main-body .pd-status-card__actions .btn-info { background: #FFEB3B !important; color: #1c1c25 !important; box-shadow: 0 8px 20px rgba(255, 235, 59, .3) !important; }
.pd-billing-card { border-radius: 22px !important; border: 1px solid #ece8ff !important; box-shadow: 0 10px 30px rgba(28, 28, 37, .06) !important; padding: 24px !important; }
.pd-billing-card__title { font-size: 16px !important; font-weight: 800 !important; color: #1c1c25 !important; }
.pd-billing-card__title i { color: #6c54c7 !important; }
.pd-billing-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; }
.pd-billing-item { display: flex !important; flex-direction: column; gap: 4px; padding: 12px 14px !important; border-radius: 14px !important; background: #f7f6fd !important; border: 0 !important; }
.pd-billing-item__label { font-size: 11px !important; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #94a3b8 !important; }
.pd-billing-item__value { font-size: 15px !important; font-weight: 700 !important; color: #1c1c25 !important; }
.pd-billing-item__value--highlight { color: #6c54c7 !important; font-size: 18px !important; }
.pd-billing-item--warning { background: #fef2f2 !important; }
.pd-billing-card .btn { width: 100%; margin-top: 12px; }
.pd-btn-tabs { display: inline-flex !important; flex-wrap: wrap; gap: 6px !important; padding: 6px !important; margin: 24px 0 16px !important; border-radius: 16px !important; background: #f6f4fd !important; border: 0 !important; }
.pd-btn-tab { border: 0 !important; border-radius: 12px !important; padding: 10px 16px !important; font-weight: 700 !important; color: #64748b !important; background: transparent !important; box-shadow: none !important; }
.pd-btn-tab:hover { background: #fff !important; color: #6c54c7 !important; }
.pd-btn-tab.active, .pd-btn-tab.active:hover { background: #fff !important; color: #6c54c7 !important; box-shadow: 0 4px 14px rgba(28, 28, 37, .08) !important; }
.pd-btn-tab.active i { color: #6c54c7 !important; }
.pd-tab-content { border-radius: 22px !important; border: 1px solid #ece8ff !important; box-shadow: 0 10px 30px rgba(28, 28, 37, .05) !important; padding: 24px !important; background: #fff !important; }
.pd-info-grid { display: grid; gap: 10px; }
.pd-info-row { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px !important; border-radius: 14px !important; background: #f7f6fd !important; border: 0 !important; }
.pd-info-row__label { font-weight: 600 !important; color: #64748b !important; }
.pd-info-row__label i { color: #6c54c7 !important; }
.pd-info-row__value { font-weight: 700 !important; color: #1c1c25 !important; }
.pd-info-row__value code, .pd-tab-content code { padding: 4px 9px; border-radius: 8px; background: #fff; border: 1px solid #e2dcfb; color: #6c54c7; font-size: 13px; }
#main-body .pd-tab-content .btn-success, #main-body .pd-module-area .btn-success, #main-body .pd-tab-content a.btn-primary, #main-body .pd-module-area .btn-primary {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px !important; border-radius: 14px !important; font-size: 16px !important; font-weight: 700 !important;
  color: #1c1c25 !important; background: #FFEB3B !important; box-shadow: 0 10px 26px rgba(255, 235, 59, .35) !important; }
.pd-actions-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-addon-card, .pd-download-card, .pd-usage-item { border-radius: 18px !important; border: 1px solid #ece8ff !important; box-shadow: 0 6px 20px rgba(28, 28, 37, .05) !important; }
.pd-alert-unpaid { border-radius: 16px !important; }
@media (max-width: 767px) { .pd-billing-grid { grid-template-columns: 1fr; } }

/* ---- Единый вид карточек кабинета и разделов ---- */
.service-card, .ticket-card, .dept-card, .ann-card, .kb-article-item, .kb-cat-card, .ticket-info-card, .invoice-card {
  border-radius: 18px !important; border: 1px solid #ece8ff !important; background: #fff !important; box-shadow: 0 4px 16px rgba(28, 28, 37, .04) !important; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important; }
.service-card:hover, .ticket-card:hover, .dept-card:hover, .ann-card:hover, .kb-article-item:hover, .kb-cat-card:hover, .invoice-card:hover {
  transform: translateY(-2px) !important; border-color: #cfc5f7 !important; box-shadow: 0 14px 30px rgba(108, 84, 199, .14) !important; }
.service-card::before, .ticket-card::before, .invoice-card::before { width: 4px !important; border-radius: 18px 0 0 18px !important; }
.service-card .label, .ticket-card .label { border-radius: 20px !important; }
.services-cards-container, .ticket-cards-wrap, .dept-cards-wrap { gap: 12px !important; }
.tr-msg { border-radius: 18px !important; border: 1px solid #ece8ff !important; box-shadow: 0 4px 16px rgba(28, 28, 37, .04) !important; overflow: hidden; }
.kb-search-box { border-radius: 16px !important; border: 1px solid #e2dcfb !important; box-shadow: 0 6px 20px rgba(28, 28, 37, .05) !important; }
.kb-search-box__btn { border-radius: 12px !important; background: linear-gradient(135deg, #7c5ce7, #6c54c7) !important; }

/* ---- Главная кабинета: тёмные блоки в той же палитре, поиск, боковая панель ---- */
.client-home-panels .panel.coodiv-panel-client-area-home[menuitemname] { border-radius: 22px !important; border: 0 !important; background: radial-gradient(circle at 100% 0%, rgba(124, 92, 231, .35), transparent 50%), linear-gradient(150deg, #1c1c25 0%, #2b2160 100%) !important; box-shadow: 0 16px 40px rgba(28, 28, 37, .18) !important; }
.client-home-panels .panel.coodiv-panel-client-area-home[menuitemname] > .panel-heading .btn { border-radius: 10px !important; }
.home-kb-search { margin: 0 0 22px; }
.home-kb-search .fa-search { position: absolute !important; left: 34px !important; top: 50% !important; transform: translateY(-50%) !important; margin: 0 !important; z-index: 2; }
#main-body .panel-sidebar .btn-success, #main-body .panel-sidebar .btn-primary { background: linear-gradient(135deg, #7c5ce7, #6c54c7) !important; border: 0 !important; color: #fff !important; border-radius: 12px !important; }

/* ---- Корзина и оформление заказа (orderform standard_cart / nuhost) ---- */
#main-body .btn-checkout, #main-body #btnCompleteOrder, #main-body #btnCompleteProductConfig, #main-body #order-standard_cart .btn-success.btn-lg {
  border: 0 !important; border-radius: 14px !important; font-weight: 800 !important; color: #1c1c25 !important; background: #FFEB3B !important; box-shadow: 0 10px 26px rgba(255, 235, 59, .35) !important; }
#main-body .btn-checkout:hover, #main-body #btnCompleteOrder:hover, #main-body #btnCompleteProductConfig:hover { background: #ffe100 !important; transform: translateY(-2px); }
#main-body .btn-checkout.disabled { opacity: .55; box-shadow: none !important; }
#main-body .order-summary, #main-body #orderSummary { border-radius: 22px !important; overflow: hidden; box-shadow: 0 16px 40px rgba(28, 28, 37, .18) !important; }
#main-body #order-standard_cart .sub-heading { margin: 26px 0 16px; border: 0; text-align: left; height: auto; }
#main-body #order-standard_cart .sub-heading span, #main-body #order-standard_cart .sub-heading .primary-bg-color { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px !important; border-radius: 30px; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #6c54c7 !important; background: rgba(108, 84, 199, .1) !important; position: static; }
#main-body #order-standard_cart .prepend-icon .field-icon { color: #a48cff; }
#main-body #order-standard_cart .prepend-icon .field { padding-left: 40px !important; }
#main-body #order-standard_cart .account { border-radius: 14px; border: 1px solid #ece8ff; }
#main-body #order-standard_cart .account.active { border-color: #6c54c7; background: #f7f5ff; }
#main-body #order-standard_cart .view-cart-items-header { border-radius: 14px 14px 0 0; background: linear-gradient(135deg, #7c5ce7, #6c54c7) !important; }
#main-body #order-standard_cart .view-cart-items { border-radius: 0 0 14px 14px; border-color: #ece8ff !important; }
#main-body #order-standard_cart .promo-code, #main-body #order-standard_cart .view-cart-tabs .nav-tabs { border-radius: 16px; }
#main-body .product-info, #main-body #order-standard_cart .product-info { border-radius: 18px !important; background: #f7f6fd !important; border: 1px solid #ece8ff !important; }
#main-body #order-standard_cart .panel-addon { border-radius: 16px; border-color: #ece8ff; }
#main-body #order-standard_cart .panel-addon-selected { border-color: #6c54c7; }
#main-body input[type="file"].form-control { height: auto; padding: 8px !important; }
#main-body input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 10px; font-weight: 700; color: #6c54c7; background: rgba(108, 84, 199, .12); cursor: pointer; }
#main-body input[type="file"]::file-selector-button:hover { background: #6c54c7; color: #fff; }
#main-body .md-editor .btn-toolbar .btn, #main-body .markdown-editor .editor-toolbar a { border-radius: 8px !important; }

/* ---- Смена тарифа (upgrade.tpl) ---- */
.wh-upg-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 22px 24px; margin-bottom: 22px; border-radius: 20px; color: #fff; background: radial-gradient(circle at 100% 0%, rgba(255, 235, 59, .2), transparent 45%), linear-gradient(150deg, #2b2160, #6c54c7); }
.wh-upg-head b { display: block; font-size: 22px; font-weight: 800; margin-top: 8px; }
.wh-upg-head small { opacity: .7; }
.wh-upg-head p { margin: 0; color: rgba(255, 255, 255, .8); }
.wh-upg-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #FFEB3B; }
.wh-upg-grid { display: flex; flex-wrap: wrap; gap: 18px; }
.wh-upg-card { flex: 1 1 calc(33.333% - 12px); min-width: 260px; display: flex; flex-direction: column; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid #e9e6f7; box-shadow: 0 6px 22px rgba(28, 28, 37, .05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.wh-upg-card:hover { transform: translateY(-3px); border-color: #c9bff3; box-shadow: 0 16px 36px rgba(108, 84, 199, .15); }
.wh-upg-card__name { font-size: 17px; font-weight: 800; color: #1c1c25; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #f0edfa; }
.wh-upg-card__desc { flex: 1 1 auto; font-size: 13.5px; line-height: 1.75; color: #475569; margin-bottom: 16px; }
.wh-upg-card__desc i { width: 18px; color: #a48cff; }
.wh-upg-card__desc strong { color: #1c1c25; }
.wh-upg-card__desc hr { margin: 8px 0; border-color: #f0edfa; }
.wh-upg-card__price { font-size: 22px; font-weight: 800; color: #6c54c7; margin-bottom: 10px; }
.wh-upg-card__form .form-control { margin-bottom: 10px; }
.wh-upg-card__btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: 0; border-radius: 14px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #7c5ce7, #6c54c7); box-shadow: 0 8px 20px rgba(108, 84, 199, .3); cursor: pointer; transition: transform .15s ease; }
.wh-upg-card__btn:hover { transform: translateY(-2px); }

/* ---- Каталог игр на /cart.php (внутри белого блока) ---- */
.main-content .wh-games { padding: 6px 0 10px; background: transparent; }
.main-content .wh-games > .container { width: auto !important; max-width: none; padding: 0; }
.main-content .wh-games .wh-sec__head { margin-bottom: 30px; }

/* ===================== Исправления после прохода по страницам ===================== */
/* Невидимая подсказка «Скрольте вниз» из старой темы */
.mouse-helper { display: none !important; }

/* Фон под контентом: ровный светлый вместо серо-тёмного градиента старой темы */
section#main-body { background: #f6f5fb !important; }
.wh-cta-sec { background: linear-gradient(180deg, #f6f5fb 0%, #f6f5fb 50%, #1f1b38 50%); }

/* Телефон с кодом страны: текст номера не должен заезжать на код */
#main-body .intl-tel-input.allow-dropdown input.form-control,
#main-body .intl-tel-input.allow-dropdown input[type=tel] { padding-left: 56px !important; }
#main-body .intl-tel-input.separate-dial-code.iti-sdc-2 input.form-control { padding-left: 84px !important; }
#main-body .intl-tel-input.separate-dial-code.iti-sdc-3 input.form-control { padding-left: 92px !important; }
#main-body .intl-tel-input.separate-dial-code.iti-sdc-4 input.form-control { padding-left: 100px !important; }
#main-body .intl-tel-input.separate-dial-code.iti-sdc-5 input.form-control { padding-left: 108px !important; }
#main-body .intl-tel-input .selected-flag { padding-left: 12px; border-radius: 12px 0 0 12px; }
#main-body .intl-tel-input .selected-dial-code { color: #334155; font-weight: 600; }

/* Заголовки разделов внутри форм */
#main-body .main-content form h3 { margin: 26px 0 14px; font-size: 18px; font-weight: 800; color: #1c1c25; }
#main-body .main-content form h4 { font-size: 16px; font-weight: 800; color: #1c1c25; }

/* Чекбоксы и радио — в цвет сайта */
#main-body input[type=checkbox], #main-body input[type=radio] { accent-color: #6c54c7; width: 17px; height: 17px; margin-top: 2px; vertical-align: -3px; cursor: pointer; }

/* Настройки почты: плитки вместо списка через <br> */
#main-body .form-group > .controls.checkbox { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin: 0; padding: 0; }
#main-body .form-group > .controls.checkbox > br { display: none; }
#main-body .form-group > .controls.checkbox > label { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 14px 12px 14px; min-height: 0; border-radius: 12px; border: 1px solid #ece8ff; background: #faf9ff; font-weight: 500; font-size: 14px; line-height: 1.45; color: #334155; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
#main-body .form-group > .controls.checkbox > label:hover { border-color: #c9bff3; background: #fff; }
#main-body .form-group > .controls.checkbox > label input[type=checkbox] { position: static; flex: 0 0 auto; margin: 1px 0 0; }

/* Подписка на рассылку */
#main-body .marketing-email-optin { margin: 24px 0; padding: 20px 22px; border-radius: 16px; border: 1px solid #ece8ff; background: linear-gradient(150deg, #f6f4ff, #fffbe6); }
#main-body .marketing-email-optin h4 { margin: 0 0 6px; }
#main-body .marketing-email-optin p { color: #64748b; font-size: 14px; margin: 0 0 12px; }

/* Переключатель Да/Нет (bootstrap-switch: стили плагина в теме не подключены) */
.bootstrap-switch { display: inline-block; position: relative; overflow: hidden; vertical-align: middle; direction: ltr; text-align: left; cursor: pointer; border-radius: 30px; border: 1px solid #e2dcfb; background: #fff; line-height: 8px; z-index: 0; user-select: none; transition: border-color .15s ease, box-shadow .15s ease; }
.bootstrap-switch .bootstrap-switch-container { display: inline-block; top: 0; border-radius: 30px; transform: translate3d(0, 0, 0); }
.bootstrap-switch .bootstrap-switch-handle-on, .bootstrap-switch .bootstrap-switch-handle-off, .bootstrap-switch .bootstrap-switch-label { box-sizing: border-box; display: table-cell; vertical-align: middle; cursor: pointer; padding: 7px 14px; font-size: 13px; font-weight: 700; line-height: 20px; white-space: nowrap; }
.bootstrap-switch .bootstrap-switch-handle-on, .bootstrap-switch .bootstrap-switch-handle-off { text-align: center; z-index: 1; }
.bootstrap-switch .bootstrap-switch-handle-on { border-radius: 30px 0 0 30px; color: #fff; background: linear-gradient(135deg, #22c55e, #10b981); }
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info { background: linear-gradient(135deg, #7c5ce7, #6c54c7); }
.bootstrap-switch .bootstrap-switch-handle-off { border-radius: 0 30px 30px 0; color: #64748b; background: #eef0f5; }
.bootstrap-switch .bootstrap-switch-label { width: 22px; color: transparent; background: #fff; border-radius: 30px; box-shadow: 0 1px 4px rgba(28, 28, 37, .18); }
.bootstrap-switch input[type=checkbox], .bootstrap-switch input[type=radio] { position: absolute !important; top: 0; left: 0; margin: 0; z-index: -1; opacity: 0; visibility: hidden; }
.bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container { transition: margin-left .3s ease; }
.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on, .bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off, .bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label { padding: 5px 12px; font-size: 12px; line-height: 18px; }
.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on, .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off, .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label { padding: 2px 8px; font-size: 11px; line-height: 16px; }
.bootstrap-switch.bootstrap-switch-focused { border-color: #7c5ce7; box-shadow: 0 0 0 4px rgba(124, 92, 231, .15); }
.bootstrap-switch.bootstrap-switch-disabled, .bootstrap-switch.bootstrap-switch-readonly { opacity: .5; cursor: default !important; }

/* Мелкие подписи в карточках тарифов — чуть контрастнее */
.wh-game .wh-plan__label, .wh-game .wh-spec2 span, .wh-game .wh-plan__per { color: #7b8496 !important; }
.wh-game .wh-kicker { width: fit-content; }
#main-body .main-content .form-group.text-center .btn + .btn, #main-body .main-content p.text-center .btn + .btn { margin-left: 8px; }
.wh-cta-sec { background: linear-gradient(180deg, #f6f5fb 0%, #f6f5fb calc(50% + 25px), #1f1b38 calc(50% + 25px)); }
/* Кнопка модуля (панель управления) — по одной линии с блоком «Имя сервера» */
#main-body .pd-module-area { padding: 16px 0 0; }
/* Корзина: пустая строка «Итого» повторяющихся платежей (например, у бесплатного тарифа) */
.recurring-totals:not(:has(.recurring-charges > span[id^="recurring"]:not([style*="none"]))) { display: none !important; }
/* Отделы поддержки: карточки шире, описание не сжимается в столбик */
#main-body .dept-cards-wrap { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
#main-body .dept-cards-wrap .dept-card { width: auto !important; max-width: none !important; margin: 0 !important; }
/* Обычные заголовки в контенте без своих классов — жирные, как во всём дизайне (цвет не трогаем: он наследуется от блока) */
#main-body .main-content :is(h1, h2, h3, h4):not([class]) { font-weight: 700; letter-spacing: -.2px; }
/* Таблицы DataTables (письма, домены, предложения и т.п.) — в общем стиле */
#main-body .dataTables_wrapper .dataTables_info { background: #f6f4fd !important; color: #64748b !important; border-radius: 14px 14px 0 0; padding: 14px 18px !important; font-size: 13px; font-weight: 600; }
#main-body .dataTables_wrapper .dataTables_filter { top: 6px; right: 10px; }
#main-body .dataTables_wrapper .dataTables_filter input { height: 36px; border-radius: 10px !important; background: #fff !important; }
#main-body .dataTables_wrapper .dataTables_length { background: #faf9ff !important; color: #64748b !important; border-radius: 0 0 14px 14px; border-top: 1px solid #f0edfa; }
#main-body .dataTables_wrapper .dataTables_length select { height: 32px; border-radius: 8px !important; }
#main-body .dataTables_wrapper .listtable { border: 1px solid #ece8ff; border-radius: 14px; overflow: hidden; }
#main-body .dataTables_wrapper .listtable .table > thead > tr > th { border-radius: 0 !important; }
#main-body .dataTables_wrapper .btn-info { color: #6c54c7 !important; background: #f1edff !important; border: 1px solid #e2dcfb !important; box-shadow: none; }
#main-body .dataTables_wrapper .btn-info:hover { color: #fff !important; background: linear-gradient(135deg, #7c5ce7, #6c54c7) !important; border-color: transparent !important; }
#main-body .dataTables_wrapper .pagination > li > a { border-radius: 8px !important; margin: 0 2px; border-color: #e2dcfb; color: #6c54c7; }
#main-body .dataTables_wrapper .pagination > .active > a { color: #fff; background: #6c54c7; border-color: #6c54c7; }

/* ---------- Генератор пароля (includes/generate-password.tpl) ---------- */
#modalGeneratePassword .modal-dialog { max-width: 480px; width: calc(100% - 24px); margin: 70px auto; }
#modalGeneratePassword .modal-content { background: #fff; }
.wh-gpw__head { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 56px 22px 24px; color: #fff; background: radial-gradient(circle at 100% 0%, rgba(255, 235, 59, .2), transparent 45%), linear-gradient(140deg, #1c1c25 0%, #2b2160 100%); }
.wh-gpw__ico { flex: 0 0 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; color: #1c1c25; background: #FFEB3B; box-shadow: 0 8px 20px rgba(255, 235, 59, .3); }
.wh-gpw .wh-gpw__title { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.25; color: #fff !important; text-transform: none; }
.wh-gpw__head p { margin: 3px 0 0; font-size: 13px; color: rgba(255, 255, 255, .65); }
.wh-gpw__close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 10px; color: #fff; background: rgba(255, 255, 255, .12); cursor: pointer; transition: background .15s ease; }
.wh-gpw__close:hover { background: rgba(255, 255, 255, .24); }
.wh-gpw__body { padding: 22px 24px 8px; }
.wh-gpw__err { margin: 0 0 14px !important; padding: 10px 14px !important; border-radius: 12px !important; font-size: 13.5px; }
.wh-gpw .wh-gpw__label { display: block; margin: 0 0 8px; padding: 0; text-align: left; font-size: 13px; font-weight: 700; color: #334155; }
.wh-gpw__out { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 15px; background: #f6f3ff; border: 2px solid #e2dcfb; transition: border-color .15s ease; }
.wh-gpw__out:focus-within { border-color: #6c54c7; }
.wh-gpw .wh-gpw__out input.form-control { flex: 1; min-width: 0; height: 46px; padding: 0 12px; border: 0 !important; background: transparent !important; box-shadow: none !important; font-family: "JetBrains Mono", Menlo, Consolas, monospace; font-size: 17px; font-weight: 700; letter-spacing: .5px; color: #1c1c25; cursor: text; }
.wh-gpw__iconbtn { flex: 0 0 42px; height: 42px; border: 0; border-radius: 11px; font-size: 15px; color: #6c54c7; background: #fff; box-shadow: 0 2px 6px rgba(108, 84, 199, .12); cursor: pointer; transition: all .15s ease; }
.wh-gpw__iconbtn:hover { color: #fff; background: #6c54c7; }
.wh-gpw__strength { position: relative; height: 6px; margin: 12px 0 4px; border-radius: 6px; background: #eef0f5; }
.wh-gpw__strength:before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 40%; border-radius: 6px; background: linear-gradient(90deg, #facc15, #f59e0b); transition: width .25s ease, background .25s ease; }
.wh-gpw__strength[data-level="2"]:before { width: 70%; background: linear-gradient(90deg, #4ade80, #22c55e); }
.wh-gpw__strength[data-level="3"]:before { width: 100%; background: linear-gradient(90deg, #22c55e, #10b981); }
.wh-gpw__strength span { position: absolute; right: 0; top: 10px; font-size: 12px; font-weight: 700; color: #15803d; }
.wh-gpw__strength[data-level="1"] span { color: #b45309; }
.wh-gpw__len { margin-top: 30px; }
.wh-gpw__lenrow { display: flex; align-items: center; gap: 14px; }
.wh-gpw__range { flex: 1; height: 6px; margin: 0; -webkit-appearance: none; appearance: none; border-radius: 6px; background: #e2dcfb; outline: 0; cursor: pointer; }
.wh-gpw__range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; border: 4px solid #fff; background: #6c54c7; box-shadow: 0 2px 8px rgba(108, 84, 199, .45); }
.wh-gpw__range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; border: 4px solid #fff; background: #6c54c7; box-shadow: 0 2px 8px rgba(108, 84, 199, .45); }
.wh-gpw .wh-gpw__num.form-control { flex: 0 0 76px; width: 76px; height: 42px; padding: 0 8px; border-radius: 11px; text-align: center; font-size: 16px; font-weight: 800; color: #1c1c25; }
.wh-gpw__presets { display: flex; gap: 8px; margin-top: 12px; }
.wh-gpw__presets button { flex: 1; padding: 8px 0; border: 1px solid #e2dcfb; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: #475569; background: #fff; cursor: pointer; transition: all .15s ease; }
.wh-gpw__presets button:hover { border-color: #6c54c7; color: #6c54c7; }
.wh-gpw__presets button.is-on { color: #fff; border-color: transparent; background: linear-gradient(135deg, #7c5ce7, #6c54c7); }
.wh-gpw__foot { display: flex; gap: 10px; padding: 18px 24px 22px; }
.wh-gpw__btn { flex: 1.6; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; border: 0; border-radius: 14px; font-size: 15px; font-weight: 800; color: #1c1c25; background: #FFEB3B; box-shadow: 0 10px 22px rgba(255, 235, 59, .32); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.wh-gpw__btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(255, 235, 59, .45); }
.wh-gpw__btn--ghost { flex: 1; color: #6c54c7; background: #f1edff; box-shadow: none; }
.wh-gpw__btn--ghost:hover { box-shadow: none; background: #e6dfff; }
@media (max-width: 480px) {
  .wh-gpw__foot { flex-direction: column-reverse; }
  .wh-gpw .wh-gpw__out input.form-control { font-size: 15px; }
}

/* Верхняя строка шапки у гостя (Discord, Регистрация, Корзина, Вход): на узком экране переносим, а не вылезаем за край */
@media (max-width: 480px) {
  ul.top-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 0; max-width: 100%; white-space: normal; }
}

/* ===== Шапка страницы игры с фоном из игры (hero_bg в includes/wh_game_pages.php) ===== */
#coodiv-header.moon-edition.wh-ghead-bg {
  background-color: #0c0a16 !important;
  background-image:
    linear-gradient(90deg, rgba(9, 8, 18, .92) 0%, rgba(9, 8, 18, .72) 45%, rgba(9, 8, 18, .55) 100%),
    linear-gradient(180deg, rgba(9, 8, 18, .55) 0%, rgba(9, 8, 18, .15) 40%, rgba(9, 8, 18, .85) 100%),
    var(--wh-ghead-bg) !important;
  background-size: cover, cover, cover !important;
  background-position: center, center, center 28% !important;
  background-repeat: no-repeat !important;
}
#coodiv-header.wh-ghead-bg .bg-img-header-new-moon,
#coodiv-header.wh-ghead-bg #particles-bg { display: none !important; }
#coodiv-header.wh-ghead-bg .wh-ghero__card { background: rgba(14, 12, 26, .62); }
#coodiv-header.wh-ghead-bg .wh-ghero__art { display: none; }
#coodiv-header.wh-ghead-bg .wh-ghero__chips span { background: rgba(9, 8, 18, .5); }
/* Низ шапки: вместо белой волны картинка растворяется в цвет страницы, карточка тарифов заезжает на переход */
#coodiv-header.wh-ghead-bg .bg_overlay_header::after {
  display: block !important; height: 260px; bottom: 0; right: 0; left: 0; width: 100%;
  background: linear-gradient(180deg,
    rgba(246, 245, 251, 0) 0%,
    rgba(70, 56, 130, .22) 30%,
    rgba(178, 170, 222, .62) 62%,
    rgba(232, 229, 246, .92) 84%,
    #f6f5fb 100%) !important;
}
#coodiv-header.wh-ghead-bg .wh-ghero-wrap { padding-bottom: 150px !important; }
#coodiv-header.wh-ghead-bg + #main-body {
  position: relative; z-index: 2; margin-top: -130px; padding-top: 0;
  background: linear-gradient(180deg, transparent 0, transparent 130px, #f6f5fb 130px) !important;
}
#coodiv-header.wh-ghead-bg + #main-body .main-content { box-shadow: 0 -10px 40px rgba(12, 10, 30, .18), 0 20px 50px rgba(40, 30, 90, .08); }
@media (max-width: 767px) {
  #coodiv-header.moon-edition.wh-ghead-bg { background-position: center, center, 60% 20% !important; }
}

/* ===== Главная: «вселенная игр» в шапке (header.tpl, .wh-uni) ===== */
#coodiv-header.moon-edition.wh-uni-on { background: #0b0916 !important; }
#coodiv-header.wh-uni-on .bg-img-header-new-moon,
#coodiv-header.wh-uni-on #particles-bg,
#coodiv-header.wh-uni-on .header-shapes { display: none !important; }
#coodiv-header.wh-uni-on .bg_overlay_header::after { display: none !important; }
.wh-uni { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.wh-uni__wall {
  position: absolute; left: 50%; top: 50%; width: 175%; display: flex; flex-direction: column; gap: 18px;
  transform: translate(-50%, -52%) perspective(1600px) rotateX(16deg) rotateZ(-9deg);
  transform-origin: center;
}
.wh-uni__row { overflow: visible; }
.wh-uni__track { display: flex; gap: 18px; width: max-content; will-change: transform; animation: whUniLeft 140s linear infinite; }
.wh-uni__row--1 .wh-uni__track { animation-name: whUniRight; animation-duration: 170s; }
.wh-uni__row--2 .wh-uni__track { animation-duration: 155s; }
.wh-uni__row--3 .wh-uni__track { animation-name: whUniRight; animation-duration: 185s; }
.wh-uni__row--1 { margin-left: -180px; }
.wh-uni__row--3 { margin-left: -90px; }
@keyframes whUniLeft { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
@keyframes whUniRight { from { transform: translateX(-33.3333%); } to { transform: translateX(0); } }
.wh-uni__tile {
  position: relative; flex: 0 0 auto; width: 340px; height: 194px; margin: 0; border-radius: 18px; overflow: hidden;
  background: #1b1630; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.wh-uni__tile img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.15); }
.wh-uni__tile figcaption {
  position: absolute; left: 12px; bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .3px; color: #fff;
  padding: 4px 10px; border-radius: 20px; background: rgba(11, 9, 22, .6); border: 1px solid rgba(255, 255, 255, .14);
}
/* затемнение: центр под текстом темнее, по краям видно игры; снизу уходит в цвет блока преимуществ */
.wh-uni::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 9, 22, .6) 0%, rgba(40, 24, 110, .14) 30%, rgba(40, 24, 110, .08) 62%, #0f1225 100%),
    radial-gradient(ellipse 52% 50% at 50% 50%, rgba(11, 9, 22, .9) 0%, rgba(11, 9, 22, .74) 55%, rgba(11, 9, 22, .38) 100%);
}
@media (max-width: 767px) {
  .wh-uni__wall { width: 260%; gap: 12px; transform: translate(-50%, -50%) perspective(1000px) rotateX(12deg) rotateZ(-9deg); }
  .wh-uni__track { gap: 12px; }
  .wh-uni__tile { width: 210px; height: 120px; border-radius: 14px; }
  .wh-uni__tile figcaption { font-size: 10.5px; padding: 3px 8px; }
  .wh-uni::after {
    background:
      linear-gradient(180deg, rgba(11, 9, 22, .55) 0%, rgba(40, 24, 110, .12) 35%, #0f1225 100%),
      radial-gradient(ellipse 90% 55% at 50% 48%, rgba(11, 9, 22, .9) 0%, rgba(11, 9, 22, .72) 60%, rgba(11, 9, 22, .45) 100%);
  }
}
@media (prefers-reduced-motion: reduce) { .wh-uni__track { animation: none !important; } }
/* стык с блоком преимуществ: верх блока плавно выходит из цвета низа шапки */
#coodiv-header.wh-uni-on + .wh-benefits-section { box-shadow: inset 0 180px 140px -40px #0f1225; }

/* ===== Главная: «Почему стоит выбрать» в стиле игрового интерфейса (includes/wh-home-benefits.tpl) ===== */
.wh-bx {
  position: relative; overflow: hidden; padding: 70px 0 170px; color: #fff;
  background:
    radial-gradient(700px 420px at 12% 30%, rgba(124, 92, 231, .22), transparent 70%),
    radial-gradient(640px 420px at 92% 60%, rgba(56, 189, 248, .12), transparent 70%),
    linear-gradient(180deg, #0f1225 0%, #120f2b 60%, #0f1225 100%);
}
/* сетка «как в игровом интерфейсе» */
.wh-bx::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 100%);
}
/* низ уходит в светлый фон следующего блока «О хостинге» */
.wh-bx::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; pointer-events: none;
  background: linear-gradient(180deg, rgba(247, 246, 253, 0) 0%, rgba(120, 104, 200, .2) 35%, rgba(214, 208, 244, .75) 72%, #f7f6fd 100%); }
.wh-bx .container { position: relative; z-index: 1; }

.wh-bx__head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.wh-bx__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #c9bbff; padding: 7px 14px; border-radius: 30px; background: rgba(124, 92, 231, .16); border: 1px solid rgba(167, 139, 250, .3); }
.wh-bx__title { font-size: 44px !important; line-height: 1.1; font-weight: 800; letter-spacing: -.5px; margin: 16px 0 0; color: #fff; text-transform: none !important; }
.wh-bx__title span { background: linear-gradient(90deg, #ffe14d, #ffb84d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wh-bx__lead p { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .7); margin: 0 0 18px; }

.wh-bx__grid {
  display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr);
  grid-template-areas: "perf perf ping" "ddos games games" "panel panel support";
}
.wh-bx__card {
  --c: 139, 108, 255;
  position: relative; overflow: hidden; border-radius: 24px; padding: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .02) 100%), #15122c;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.wh-bx__card::before { /* цветное свечение в углу */
  content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--c), .32), transparent 70%); transition: opacity .25s ease; opacity: .8;
}
.wh-bx__card::after { /* «уголки прицела» */
  content: ""; position: absolute; inset: 10px; border-radius: 16px; pointer-events: none; opacity: 0; transition: opacity .25s ease;
  background:
    linear-gradient(rgb(var(--c)), rgb(var(--c))) left top / 18px 2px no-repeat, linear-gradient(rgb(var(--c)), rgb(var(--c))) left top / 2px 18px no-repeat,
    linear-gradient(rgb(var(--c)), rgb(var(--c))) right bottom / 18px 2px no-repeat, linear-gradient(rgb(var(--c)), rgb(var(--c))) right bottom / 2px 18px no-repeat;
}
.wh-bx__card:hover { transform: translateY(-4px); border-color: rgba(var(--c), .45); box-shadow: 0 26px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(var(--c), .15), 0 0 40px rgba(var(--c), .12); }
.wh-bx__card:hover::after { opacity: .9; }
.wh-bx__card > * { position: relative; }
.wh-bx__card h3 { font-size: 20px !important; font-weight: 800; color: #fff; margin: 6px 0 8px; text-transform: none !important; letter-spacing: -.2px; }
.wh-bx__card p { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .66); margin: 0 0 14px; }

.wh-bx__card--perf { grid-area: perf; --c: 139, 108, 255; }
.wh-bx__card--ping { grid-area: ping; --c: 255, 216, 77; }
.wh-bx__card--ddos { grid-area: ddos; --c: 52, 211, 153; }
.wh-bx__card--games { grid-area: games; --c: 255, 93, 143; }
.wh-bx__card--panel { grid-area: panel; --c: 56, 189, 248; }
.wh-bx__card--support { grid-area: support; --c: 255, 159, 67; }

.wh-bx__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.wh-bx__ico { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px;
  color: rgb(var(--c)); background: rgba(var(--c), .14); border: 1px solid rgba(var(--c), .3); box-shadow: 0 0 24px rgba(var(--c), .18); }
.wh-bx__tag { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.wh-bx__big { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -1.5px; color: #fff; margin: 4px 0 6px; text-shadow: 0 0 30px rgba(var(--c), .35); }
.wh-bx__big small { font-size: 20px; font-weight: 700; letter-spacing: 0; margin-left: 6px; color: rgb(var(--c)); }
.wh-bx__chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 30px;
  color: rgb(var(--c)); background: rgba(var(--c), .12); border: 1px solid rgba(var(--c), .28); }
.wh-bx__link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: rgb(var(--c)) !important; text-decoration: none !important; }
.wh-bx__link i { transition: transform .2s ease; }
.wh-bx__link:hover i { transform: translateX(4px); }

/* производительность */
.wh-bx__perf { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: center; }
.wh-bx__stats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.wh-bx__stats li { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.wh-bx__stats span { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.wh-bx__stats span i { color: rgb(var(--c)); margin-right: 5px; }
.wh-bx__stats b { font-size: 13.5px; color: #fff; text-align: right; }
.wh-bx__bar { grid-column: 1 / -1; display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.wh-bx__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 6px;
  background: linear-gradient(90deg, rgb(var(--c)), #c4b5fd); box-shadow: 0 0 12px rgba(var(--c), .6); animation: whBxFill 1.6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes whBxFill { from { width: 0; } }

/* пинг: индикатор сигнала */
.wh-bx__signal { display: inline-flex; align-items: flex-end; gap: 4px; height: 22px; }
.wh-bx__signal i { width: 6px; border-radius: 2px; background: rgb(var(--c)); box-shadow: 0 0 8px rgba(var(--c), .6); animation: whBxSig 1.8s ease-in-out infinite; }
.wh-bx__signal i:nth-child(1) { height: 25%; } .wh-bx__signal i:nth-child(2) { height: 50%; animation-delay: .15s; }
.wh-bx__signal i:nth-child(3) { height: 75%; animation-delay: .3s; } .wh-bx__signal i:nth-child(4) { height: 100%; animation-delay: .45s; }
@keyframes whBxSig { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* DDoS: щит с волнами */
.wh-bx__shield { position: relative; width: 84px; height: 84px; margin: 4px 0 16px; display: flex; align-items: center; justify-content: center; }
.wh-bx__shield i { position: relative; z-index: 1; font-size: 34px; color: rgb(var(--c)); filter: drop-shadow(0 0 14px rgba(var(--c), .7)); }
.wh-bx__shield span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(var(--c), .55); animation: whBxWave 2.7s ease-out infinite; }
.wh-bx__shield span:nth-child(2) { animation-delay: .9s; } .wh-bx__shield span:nth-child(3) { animation-delay: 1.8s; }
@keyframes whBxWave { 0% { transform: scale(.45); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

/* игры: две ленты превью */
.wh-bx__card--games { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: center; padding-right: 0; }
.wh-bx__gtext, .wh-bx__ptext { min-width: 0; }
.wh-bx__reel { min-width: 0; overflow: hidden; padding: 30px 0; display: flex; flex-direction: column; gap: 10px; transform: rotate(-6deg); margin: -40px 0 -40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 85%, transparent); }
.wh-bx__reeltrack { display: flex; gap: 10px; width: max-content; animation: whUniLeft2 60s linear infinite; }
.wh-bx__reelrow--1 .wh-bx__reeltrack { animation-name: whUniRight2; animation-duration: 70s; }
@keyframes whUniLeft2 { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes whUniRight2 { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.wh-bx__gt { position: relative; flex: 0 0 auto; width: 168px; height: 96px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
.wh-bx__gt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wh-bx__gt b { position: absolute; left: 8px; bottom: 7px; font-size: 10.5px; font-weight: 700; color: #fff; padding: 2px 8px; border-radius: 20px; background: rgba(11, 9, 22, .65); }

/* панель: макет окна */
.wh-bx__card--panel { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.wh-bx__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wh-bx__chips span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 30px; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.wh-bx__chips span i { color: rgb(var(--c)); }
.wh-bx__mock { border-radius: 18px; overflow: hidden; background: #0c0a1d; border: 1px solid rgba(var(--c), .25); box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 40px rgba(var(--c), .1); }
.wh-bx__mockbar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.wh-bx__mockbar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; } .wh-bx__mockbar i:nth-child(2) { background: #febc2e; } .wh-bx__mockbar i:nth-child(3) { background: #28c840; }
.wh-bx__mockbar span { margin-left: 8px; font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .45); }
.wh-bx__mockbody { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.wh-bx__srv { display: flex; align-items: center; gap: 10px; }
.wh-bx__srv b { display: block; font-size: 14px; color: #fff; } .wh-bx__srv small { font-size: 12px; color: #6ee7b7; }
.wh-bx__dot { width: 10px; height: 10px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18), 0 0 12px #34d399; animation: whBxSig 2s ease-in-out infinite; }
.wh-bx__btns { display: flex; gap: 6px; flex-wrap: wrap; }
.wh-bx__btns span { font-size: 11.5px; font-weight: 700; padding: 6px 10px; border-radius: 9px; color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.wh-bx__btns span.is-go { color: #0c0a1d; background: rgb(var(--c)); border-color: transparent; }
.wh-bx__console { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.7; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .35); color: rgba(255, 255, 255, .75); }
.wh-bx__console em { font-style: normal; color: rgb(var(--c)); margin-right: 4px; }
.wh-bx__console .is-ok { color: #6ee7b7; }
.wh-bx__caret { display: inline-block; width: 7px; height: 13px; margin-left: 4px; vertical-align: -2px; background: rgb(var(--c)); animation: whBxCaret 1s steps(1) infinite; }
@keyframes whBxCaret { 50% { opacity: 0; } }

/* поддержка */
.wh-bx__live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: #6ee7b7; padding: 5px 11px; border-radius: 30px; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .28); }
.wh-bx__live i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; animation: whBxSig 1.6s ease-in-out infinite; }

@media (max-width: 1199px) {
  .wh-bx__title { font-size: 38px !important; }
  .wh-bx__perf, .wh-bx__card--panel { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
  .wh-bx__head { grid-template-columns: 1fr; gap: 18px; }
  .wh-bx__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "perf perf" "ping ddos" "games games" "panel panel" "support support"; }
}
@media (max-width: 767px) {
  .wh-bx { padding: 50px 0 130px; }
  .wh-bx__title { font-size: 30px !important; }
  .wh-bx__grid { grid-template-columns: 1fr; grid-template-areas: "perf" "ping" "ddos" "games" "panel" "support"; gap: 14px; }
  .wh-bx__card { padding: 22px; border-radius: 20px; }
  .wh-bx__big { font-size: 44px; }
  .wh-bx__card--games { grid-template-columns: 1fr; padding-right: 22px; }
  .wh-bx__reel { margin: 0 -22px -10px; transform: rotate(-4deg); }
  .wh-bx__gt { width: 140px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .wh-bx__reeltrack, .wh-bx__shield span, .wh-bx__signal i, .wh-bx__caret, .wh-bx__dot, .wh-bx__live i { animation: none !important; }
}

/* ===== Шапка веб-хостинга: нарисованная сцена «сайты, код, панель» (includes/wh-web-scene.tpl) ===== */
#coodiv-header.moon-edition.wh-ghead-bg.wh-ghead-scene { background: #0b0916 !important; }
.wh-web { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.wh-web__wall {
  position: absolute; left: 50%; top: 50%; width: 175%; display: flex; flex-direction: column; gap: 18px;
  transform: translate(-50%, -52%) perspective(1600px) rotateX(16deg) rotateZ(-9deg);
}
.wh-web__track { display: flex; gap: 18px; width: max-content; will-change: transform; animation: whUniLeft 150s linear infinite; }
.wh-web__row--1 .wh-web__track { animation-name: whUniRight; animation-duration: 175s; }
.wh-web__row--2 .wh-web__track { animation-duration: 160s; }
.wh-web__row--3 .wh-web__track { animation-name: whUniRight; animation-duration: 190s; }
.wh-web__row--1 { margin-left: -160px; } .wh-web__row--3 { margin-left: -260px; }
.wh-web__t {
  position: relative; flex: 0 0 auto; width: 330px; height: 190px; border-radius: 16px; overflow: hidden;
  background: #17142f; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  font-family: inherit; color: #fff;
}
.wh-web__bar { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; background: rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.wh-web__bar > i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; } .wh-web__bar > i:nth-child(2) { background: #febc2e; } .wh-web__bar > i:nth-child(3) { background: #28c840; }
.wh-web__bar span { margin-left: 8px; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .6); padding: 3px 10px; border-radius: 20px; background: rgba(0, 0, 0, .25); }
.wh-web__bar span i { color: #34d399; font-size: 9px; margin-right: 3px; }
/* браузеры с макетами сайтов */
.wh-web__page { padding: 12px; height: calc(100% - 30px); }
.wh-web__br--shop .wh-web__page { background: linear-gradient(160deg, #241a52, #1a1638); }
.wh-web__hero { height: 62px; border-radius: 10px; padding: 12px; background: linear-gradient(120deg, #7c5ce7, #c04fd8); display: flex; flex-direction: column; gap: 6px; }
.wh-web__hero b { display: block; height: 8px; width: 60%; border-radius: 4px; background: rgba(255, 255, 255, .85); } .wh-web__hero b + b { width: 40%; opacity: .6; }
.wh-web__hero em, .wh-web__page--land em { display: block; width: 54px; height: 14px; border-radius: 7px; background: #ffe14d; margin-top: 2px; }
.wh-web__prod { display: flex; gap: 8px; margin-top: 10px; }
.wh-web__prod span { flex: 1; height: 58px; border-radius: 8px; background: linear-gradient(180deg, #ff9f43 0 60%, rgba(255, 255, 255, .1) 60%); }
.wh-web__prod span:nth-child(2) { background: linear-gradient(180deg, #38bdf8 0 60%, rgba(255, 255, 255, .1) 60%); }
.wh-web__prod span:nth-child(3) { background: linear-gradient(180deg, #34d399 0 60%, rgba(255, 255, 255, .1) 60%); }
.wh-web__br--blog .wh-web__page { background: #f4f1ff; display: flex; flex-direction: column; gap: 10px; }
.wh-web__post { display: flex; gap: 10px; }
.wh-web__post > span { flex: 0 0 90px; height: 60px; border-radius: 8px; background: linear-gradient(135deg, #ffb84d, #ff5d8f); }
.wh-web__post + .wh-web__post > span { background: linear-gradient(135deg, #38bdf8, #7c5ce7); }
.wh-web__post div { flex: 1; display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.wh-web__post b { height: 7px; border-radius: 4px; background: #3b2f7a; width: 90%; } .wh-web__post b + b { background: #c9c1ea; width: 100%; } .wh-web__post b + b + b { width: 70%; }
.wh-web__page--land { background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, .35), transparent 55%), #0f1c3a; display: flex; flex-direction: column; align-items: center; gap: 7px; padding-top: 18px; }
.wh-web__page--land > b { height: 10px; width: 62%; border-radius: 5px; background: #fff; } .wh-web__page--land > b + b { width: 42%; height: 7px; opacity: .5; }
.wh-web__feat { display: flex; gap: 8px; width: 100%; margin-top: 10px; }
.wh-web__feat span { flex: 1; height: 42px; border-radius: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(56, 189, 248, .35); }
.wh-web__br--forum .wh-web__page { background: #1b1838; }
.wh-web__list { display: flex; flex-direction: column; gap: 8px; }
.wh-web__list div { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, .05); }
.wh-web__list span { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #34d399, #38bdf8); flex: 0 0 auto; }
.wh-web__list div:nth-child(2) span { background: linear-gradient(135deg, #ff5d8f, #ffb84d); } .wh-web__list div:nth-child(3) span { background: linear-gradient(135deg, #7c5ce7, #c04fd8); }
.wh-web__list b { height: 7px; flex: 1; border-radius: 4px; background: rgba(255, 255, 255, .25); }
/* код и терминал */
.wh-web__t pre { margin: 0; padding: 12px 14px; border: 0; background: transparent; color: #d7d3f0; font: 12px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; overflow: hidden; }
.wh-web__code { background: #120f26; }
.wh-web__t .n { display: inline-block; width: 18px; color: rgba(255, 255, 255, .25); }
.wh-web__t .k { color: #c084fc; } .wh-web__t .v { color: #7dd3fc; } .wh-web__t .f { color: #ffe14d; } .wh-web__t .q { color: #86efac; }
.wh-web__term { background: #0a0a14; }
.wh-web__t .pr { color: #38bdf8; } .wh-web__t .ok { color: #6ee7b7; }
.wh-web__t .cr { display: inline-block; width: 7px; height: 13px; vertical-align: -2px; background: #38bdf8; animation: whBxCaret 1s steps(1) infinite; }
/* панель ISPmanager */
.wh-web__pbody { display: flex; height: calc(100% - 30px); }
.wh-web__pbody ul { list-style: none; margin: 0; padding: 10px 8px; display: flex; flex-direction: column; gap: 8px; background: rgba(0, 0, 0, .2); }
.wh-web__pbody li { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: rgba(255, 255, 255, .5); }
.wh-web__pbody li.on { color: #fff; background: #7c5ce7; }
.wh-web__rows { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.wh-web__rows div { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, .05); }
.wh-web__rows i { color: #a78bfa; }
.wh-web__rows u { margin-left: auto; text-decoration: none; font-size: 10.5px; color: #6ee7b7; padding: 2px 8px; border-radius: 10px; background: rgba(52, 211, 153, .14); }
/* статусы */
.wh-web__stat { --c: 124, 92, 231; display: flex; align-items: center; gap: 16px; padding: 0 24px;
  background: radial-gradient(circle at 15% 50%, rgba(var(--c), .35), transparent 60%), #17142f; border-color: rgba(var(--c), .35); }
.wh-web__ico { width: 64px; height: 64px; flex: 0 0 auto; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 28px;
  color: rgb(var(--c)); background: rgba(var(--c), .16); border: 1px solid rgba(var(--c), .4); box-shadow: 0 0 30px rgba(var(--c), .3); }
.wh-web__stat b { display: block; font-size: 21px; font-weight: 800; color: #fff; }
.wh-web__stat small { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 2px; }
.wh-web__stat--ssl { --c: 52, 211, 153; } .wh-web__stat--php { --c: 167, 139, 250; } .wh-web__stat--db { --c: 56, 189, 248; }
.wh-web__stat--nvme { --c: 255, 159, 67; } .wh-web__stat--bak { --c: 255, 216, 77; } .wh-web__stat--mail { --c: 255, 93, 143; } .wh-web__stat--up { --c: 52, 211, 153; }
/* затемнение под текстом, как у игровых шапок */
.wh-web::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9, 8, 18, .86) 0%, rgba(9, 8, 18, .6) 45%, rgba(9, 8, 18, .3) 100%),
              linear-gradient(180deg, rgba(9, 8, 18, .5) 0%, rgba(9, 8, 18, .05) 40%, rgba(9, 8, 18, .7) 100%); }
@media (max-width: 767px) {
  .wh-web__wall { width: 300%; gap: 12px; transform: translate(-50%, -50%) perspective(1000px) rotateX(12deg) rotateZ(-9deg); }
  .wh-web::after { background: linear-gradient(180deg, rgba(9, 8, 18, .72) 0%, rgba(9, 8, 18, .8) 50%, rgba(9, 8, 18, .86) 100%); }
  .wh-web__track { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .wh-web__track, .wh-web__t .cr { animation: none !important; } }

/* «Лёгкое управление»: плитки функций вместо макета панели */
.wh-bx__feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wh-bx__feats > div { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .2s ease, background .2s ease; }
.wh-bx__feats > div:hover { border-color: rgba(var(--c), .4); background: rgba(var(--c), .07); }
.wh-bx__feats span { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; margin-bottom: 10px;
  color: rgb(var(--c)); background: rgba(var(--c), .14); border: 1px solid rgba(var(--c), .28); }
.wh-bx__feats b { display: block; font-size: 14.5px; font-weight: 800; color: #fff; margin-bottom: 3px; }
.wh-bx__feats small { display: block; font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .58); }

/* Низ блока: рваный лист бумаги с пробоинами от пуль вместо плавного градиента */
.wh-bx { padding-bottom: 160px; }
.wh-bx::after { display: none; }
.wh-bx__tear { position: absolute; left: 0; right: 0; bottom: -1px; height: 150px; z-index: 2; pointer-events: none; }
.wh-bx__edge { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 -6px 12px rgba(0, 0, 0, .5)); }
.wh-bx__fiber { fill: #fff; }
.wh-bx__paper { fill: #f7f6fd; }
.wh-bx__hole { position: absolute; width: 92px; height: 92px; overflow: visible; }
.wh-bx__hole--1 { left: 7%; bottom: 4px; transform: rotate(20deg); }
.wh-bx__hole--2 { left: 33%; bottom: 14px; transform: rotate(-40deg) scale(.78); }
.wh-bx__hole--3 { left: 63%; bottom: 0; transform: rotate(75deg) scale(.92); }
.wh-bx__hole--4 { left: 88%; bottom: 12px; transform: rotate(140deg) scale(.68); }
@media (max-width: 991px) {
  .wh-bx__feats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .wh-bx { padding-bottom: 120px; }
  .wh-bx__tear { height: 110px; }
  .wh-bx__hole { width: 60px; height: 60px; }
  .wh-bx__hole--1 { left: 8%; bottom: 6px; } .wh-bx__hole--2 { left: 44%; bottom: 14px; } .wh-bx__hole--3 { left: 78%; bottom: 4px; }
  .wh-bx__hole--4 { display: none; }
}
@media (max-width: 480px) { .wh-bx__feats { gap: 8px; } .wh-bx__feats > div { padding: 12px; } .wh-bx__feats span { width: 32px; height: 32px; font-size: 13px; margin-bottom: 8px; } .wh-bx__feats b { font-size: 13.5px; } .wh-bx__feats small { font-size: 11.5px; } }
