/* Shared visual cleanup for the public MoradoSolution site.
   Keep the existing page layouts and content; make navigation, surfaces,
   media and the footer feel like one deliberate system. */

:root {
  --surface: #101014;
  --surface-strong: #17171d;
  --border: rgba(226, 222, 242, 0.13);
  --border-strong: rgba(226, 222, 242, 0.23);
  --brand-blue: #9a7af5;
  --brand-blue-soft: rgba(154, 122, 245, 0.16);
}

html { scroll-padding-top: calc(var(--header-h, 4.25rem) + 1.25rem); }
body { background: #08080b; }

/* A quiet, stable nav bar with clear active and hover states. */
.site-header {
  background: rgba(8, 8, 11, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}
.header-inner { gap: clamp(1rem, 2.4vw, 2.5rem); }
.brand { flex: 0 0 auto; }
.header-nav { min-width: 0; }
.nav-list { gap: clamp(0.8rem, 1.55vw, 1.45rem); }
.nav-link {
  min-height: 40px;
  padding-inline: 0.1rem;
  color: #b8b7c0;
  font-size: 0.79rem;
}
.nav-link.is-active { color: #fff; }
.nav-link.is-active::after { height: 2px; background: #b39aff; }
.header-actions { gap: clamp(0.7rem, 1.45vw, 1.35rem); }
.header-actions .btn-primary,
.mobile-menu-footer .btn-primary {
  background: #b69aff;
  border-color: #b69aff;
  color: #171020;
  font-weight: 650;
}
.header-actions .btn-primary:hover,
.mobile-menu-footer .btn-primary:hover { background: #c8b4ff; border-color: #c8b4ff; }
.mobile-menu {
  background: rgba(11, 10, 15, 0.98);
  border-left-color: rgba(206, 190, 255, 0.2);
}
.mobile-nav > ul > li { border-color: rgba(255, 255, 255, 0.09); }
.mobile-nav > ul > li > a { min-height: 48px; display: flex; align-items: center; }
.mobile-nav > ul > li > a[aria-current="page"] { color: #cdbbff; }

/* Common card rhythm: restrained edges, consistent radii, no jumpy hover. */
.game-card,
.plan-card,
.feature-card,
.service-card,
.pricing-card,
.svc-card,
.vps-plan-card,
.vps-feature-card,
.vps-os-card,
.vps-loc-card,
.infra-spec-card,
.dp-step,
.dp-layer,
.dp-cap-item,
.mc-plan-card,
.mc-feature-card,
.mc-network-card,
.mc-why-card,
.gh-feature-card,
.gh-infra-card,
.gh-why-card,
.gh-step,
.gh-plan-card,
.vm-plan,
.vm-quick-plan,
.bm-plan,
.gh-game-card-active,
.dp-tech-card,
.dp-cap-card,
.mh-plan {
  border-color: rgba(226, 222, 242, 0.15);
  border-radius: 14px;
  background-color: #111115;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}
.game-card:hover,
.plan-card:hover,
.feature-card:hover,
.service-card:hover,
.pricing-card:hover,
.svc-card:hover,
.vps-plan-card:hover,
.vps-feature-card:hover,
.vps-os-card:hover,
.vps-loc-card:hover,
.infra-spec-card:hover,
.dp-step:hover,
.dp-layer:hover,
.dp-cap-item:hover,
.mc-plan-card:hover,
.mc-feature-card:hover,
.mc-network-card:hover,
.mc-why-card:hover,
.gh-feature-card:hover,
.gh-infra-card:hover,
.gh-why-card:hover,
.gh-step:hover,
.gh-plan-card:hover,
.vm-plan:hover,
.vm-quick-plan:hover,
.bm-plan:hover,
.gh-game-card-active:hover,
.dp-tech-card:hover,
.dp-cap-card:hover,
.mh-plan:hover {
  border-color: rgba(196, 175, 255, 0.44);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}
.gh-game-card-img,
.bm-hero-media,
.dp-hero-visual,
.infra-hero-photo { border-radius: 16px; overflow: hidden; }

/* Use the site's own uncommon rack, cabling and hardware photography as
   page-level atmosphere without loading external trackers or huge GIFs. */
.infra-hero,
.bm-hero,
.vm-hero,
.dp-hero,
.gh-hero {
  isolation: isolate;
}
.infra-hero-photo,
.infra-hero-photo img,
.bm-hero-media img,
.vm-hero-visual img,
.dp-hero-visual img {
  border-radius: 16px;
}
.infra-hero-photo img,
.bm-hero-media img,
.vm-hero-visual img,
.dp-hero-visual img,
.gh-hero-visual img {
  object-fit: cover;
  object-position: center;
}

/* The VPS hero gets a subdued, locally hosted rack photograph. It sits behind
   the copy and plan card, preserving the information as the focal point. */
.vm-hero {
  position: relative;
  isolation: isolate;
}
.vm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.96) 0%, rgba(8, 8, 10, 0.82) 47%, rgba(8, 8, 10, 0.62) 100%),
    linear-gradient(0deg, #08080a 0%, transparent 52%),
    url("../assets/vps/rare-datacenter.webp") center 45% / cover no-repeat;
  opacity: 0.9;
}
.vm-hero > .container { position: relative; z-index: 1; }

/* Game hosting landers share one compact two-column hero and real, muted
   footage. The separate poster keeps each game recognizable while video is
   still loading or the visitor has data saver enabled. */
.gh-hero-grid,
.mc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.gh-hero-copy,
.mc-hero-copy { min-width: 0; }
.gh-hero-title { max-width: 20ch; text-wrap: balance; }
.mc-hero-title { max-width: 17ch; text-wrap: balance; }
.gh-hero-visual,
.mc-hero-visual {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(220, 211, 255, 0.24);
  border-radius: 18px;
  background: #111015;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
}
.gh-hero-background,
.mc-hero-background {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  filter: brightness(0.78) saturate(0.88) contrast(1.06);
  transition: opacity 260ms ease;
}
.mc-hero-game-video {
  background: #100e15 var(--game-poster) center / cover no-repeat;
}
.mc-hero-game-video .mc-hero-background { z-index: 0; }
.mc-hero-game-video .mc-hero-visual-shade { background: linear-gradient(180deg, rgba(8,7,11,.06), rgba(8,7,11,.28)); }
.gh-hero-background.is-changing,
.mc-hero-background.is-changing { opacity: 0.08; }
.gh-hero-visual-shade,
.mc-hero-visual-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 11, 0.05) 10%, rgba(8, 7, 11, 0.06) 36%, rgba(8, 7, 11, 0.86) 100%);
  pointer-events: none;
}
.gh-hero-scene-label,
.mc-hero-scene-label {
  position: absolute;
  z-index: 2;
  inset: auto 1rem 1rem;
  width: fit-content;
  max-width: calc(100% - 2rem);
  padding: 0.42rem 0.72rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(9, 8, 13, 0.72);
  color: #f2edff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}
.gh-hero-visual { display: flex; align-items: flex-end; }
.gh-hero-game-logos {
  position: absolute;
  z-index: 2;
  inset: 1rem 1rem auto auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(9, 8, 13, 0.66);
  backdrop-filter: blur(10px);
}
.gh-hero-game-logos img { width: 36px; height: 18px; object-fit: contain; }
.gh-hero-game-logos span { color: #e5ddff; font-size: 0.64rem; font-weight: 600; white-space: nowrap; }
.gh-hero .gh-spec-strip { margin-top: clamp(1.5rem, 3vw, 2.25rem); }

/* Make the long Minecraft price list quick to scan and consistent in height. */
.mc-plans { padding-block: clamp(3.25rem, 6vw, 5rem); }
.mc-plans .mc-section-head { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.mc-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(.8rem, 1.35vw, 1.1rem);
  perspective: none;
}
.mc-plan-card {
  min-width: 0;
  padding: clamp(1.15rem, 1.55vw, 1.45rem);
  border: 1px solid rgba(226, 222, 242, .14);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.035), transparent 48%), #111115;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  transform: none;
}
.mc-plan-card:hover,
.mc-plan-card:focus-within { transform: translateY(-3px); }
.mc-plan-card.mc-plan-featured {
  border-color: rgba(182,154,255,.52);
  background: linear-gradient(145deg, rgba(154,122,245,.16), transparent 55%), #14121b;
  box-shadow: 0 14px 34px rgba(48,31,91,.18);
}
.mc-plan-num { color: #aaa5b5; }
.mc-plan-head { min-height: 96px; margin-bottom: .75rem; }
.mc-plan-name { font-size: 1.18rem; }
.mc-plan-tagline { color: #aaa9b3; font-size: .78rem; line-height: 1.5; }
.mc-plan-badge {
  border-color: rgba(205,187,255,.32);
  background: rgba(154,122,245,.18);
  color: #d7c8ff;
  font-size: .62rem;
}
.mc-plan-price { margin: .75rem 0 .85rem; padding-bottom: .85rem; }
.mc-plan-price .amt { font-size: clamp(1.8rem, 2.6vw, 2.1rem); }
.mc-plan-specs { margin-bottom: 1rem; }
.mc-plan-specs li { gap: .5rem; padding: .58rem 0; font-size: .76rem; line-height: 1.35; }
.mc-plan-specs span { color: #9795a0; font-size: .69rem; }
.mc-plan-specs strong {
  max-width: 58%;
  color: #e2e0e8;
  font-size: .73rem;
  line-height: 1.35;
  white-space: normal;
}
.mc-buy,
.mc-add-cart { min-height: 42px; border-radius: 10px; font-weight: 650; }
.mc-buy { display: flex; align-items: center; justify-content: center; background: #24232a; }
.mc-buy-featured { background: #c6b1ff; color: #171020; border-color: #c6b1ff; }
.mc-buy-featured:hover { background: #d7c8ff; border-color: #d7c8ff; }
.mc-add-cart { color: #c5c1ce; border-color: rgba(226,222,242,.16); }
.mc-add-cart:hover { border-color: rgba(205,187,255,.45); color: #fff; }
.mc-plan-grid > #plan-ultimate {
  grid-column: 2 / span 2;
  grid-row: auto;
  width: min(100%, 290px);
  justify-self: center;
}

@media (max-width: 1120px) {
  .mc-plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mc-plan-grid > #plan-ultimate { grid-column: 2; width: auto; justify-self: stretch; }
}
@media (max-width: 760px) {
  .mc-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mc-plan-head { min-height: 92px; }
  .mc-plan-grid > #plan-ultimate { grid-column: 1 / -1; width: min(100%, 420px); justify-self: center; }
}
@media (max-width: 520px) {
  .mc-plan-grid { grid-template-columns: minmax(0, 1fr); gap: .85rem; }
  .mc-plan-card { padding: 1.25rem; }
  .mc-plan-head { min-height: 0; }
  .mc-plan-grid > #plan-ultimate { grid-column: auto; width: auto; }
}

.mc-hero .mc-container { width: min(100% - 48px, 1200px); }
.mc-hero .mc-breadcrumbs { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.mc-hero .mc-hero-actions { margin-bottom: 0; }
.mc-hero.has-bg { padding: calc(var(--header-h, 4.25rem) + 1.25rem) 0 clamp(1.75rem, 3.5vw, 3rem); }
.mc-hero.has-bg::before {
  background:
    radial-gradient(ellipse at 78% 46%, rgba(152, 120, 240, 0.13), transparent 48%),
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(255,255,255,0.025) 47px, rgba(255,255,255,0.025) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(255,255,255,0.025) 47px, rgba(255,255,255,0.025) 48px);
}
.mc-hero.has-bg::after {
  background: linear-gradient(90deg, rgba(9, 9, 11, 0.86), rgba(9, 9, 11, 0.64) 60%, rgba(9, 9, 11, 0.84));
}

/* Live offer banner: a compact, neutral offer row instead of the oversized
   bright red block that was pushing both gaming heroes far below the nav. */
main .vh-offer-banner {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: center;
  justify-content: stretch;
  margin: var(--header-h, 4.25rem) 0 0;
  padding: 0.7rem clamp(1rem, 3vw, 2rem);
  border: 0;
  border-bottom: 1px solid rgba(198, 180, 255, 0.17);
  border-radius: 0;
  background: #101014;
  color: #e8e3f4;
  text-align: left;
  box-shadow: none;
}
main .vh-offer-banner.vob-clear { margin-top: 0; }
body.mh-page main:has(> .vh-offer-banner) { padding-top: 0; }
main > .vh-offer-banner + .gh-hero { padding-top: clamp(1.5rem, 3vw, 2.25rem); }
main > .vh-offer-banner + .mc-hero { padding-top: clamp(1.5rem, 3vw, 2.25rem); }
main .vh-offer-banner .vob-tag {
  color: #bba6ff;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
main .vh-offer-banner .vob-sep { display: none; }
main .vh-offer-banner .vob-row {
  display: flex;
  min-width: 0;
  gap: 0.4rem 0.55rem;
  justify-content: space-between;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background: #15151a;
}
main .vh-offer-banner .vob-code {
  flex: 0 0 auto;
  padding: 0.17rem 0.42rem;
  border-color: rgba(194, 173, 255, 0.42);
  background: rgba(154, 122, 245, 0.13);
  color: #d8caff;
  font-size: 0.67rem;
}
main .vh-offer-banner .vob-body {
  min-width: 0;
  color: #d1ced9;
  font-size: 0.72rem;
  line-height: 1.35;
}
main .vh-offer-banner .vob-copy {
  min-height: 32px;
  padding: 0.32rem 0.6rem;
  border-color: rgba(194, 173, 255, 0.25);
  background: transparent;
  color: #d8caff;
  font-size: 0.6rem;
}
main .vh-offer-banner .vob-copy:hover { background: #b69aff; color: #171020; }
body .mc-offer-new { color: #c8b4ff; }
body .mc-offer-badge {
  border: 1px solid rgba(194, 173, 255, 0.25);
  background: rgba(154, 122, 245, 0.14);
  color: #d9ccff;
  box-shadow: none;
}
body .mc-offer-chip { border-color: rgba(194, 173, 255, 0.24); }
body .mc-offer-chip .occ-code { color: #c8b4ff; }
body .mc-offer-chip .occ-disc { background: rgba(154, 122, 245, 0.14); border-left-color: rgba(194, 173, 255, 0.3); }
body .mc-offer-chip.copied .occ-disc { background: #b69aff; color: #171020; }
main .offers-strip { border-color: rgba(194, 173, 255, 0.18); background: #111115; }
main .offers-strip::before { background: linear-gradient(180deg, #b69aff, transparent); }
main .offers-strip-item .osi-code,
main .offers-strip-copy { color: #c8b4ff; }
main .offers-strip-item .osi-disc { background: rgba(154, 122, 245, 0.14); border-left-color: rgba(194, 173, 255, 0.3); }
main .offers-strip-item:hover { border-color: rgba(194, 173, 255, 0.42); }

@media (max-width: 1024px) {
  .gh-hero-grid,
  .mc-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr); gap: 2rem; }
  main .vh-offer-banner { grid-template-columns: auto repeat(2, minmax(0, 1fr)); }
  main .vh-offer-banner .vob-tag { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .gh-hero-grid,
  .mc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .gh-hero-visual,
  .mc-hero-visual { max-width: none; aspect-ratio: 16 / 9; }
  .gh-hero .gh-spec-strip { flex-wrap: nowrap; overflow-x: auto; }
  main .vh-offer-banner { grid-template-columns: minmax(0, 1fr); }
  main .vh-offer-banner .vob-tag { grid-column: auto; }
  main .vh-offer-banner .vob-row { justify-content: space-between; }
}
@media (max-width: 520px) {
  .mc-hero .mc-container { width: min(100% - 32px, 1200px); }
  .mc-hero-title,
  .gh-hero-title { font-size: clamp(2rem, 9vw, 2.7rem); }
  main .vh-offer-banner { padding-inline: 1rem; }
  main .vh-offer-banner .vob-row { flex-wrap: wrap; }
  main .vh-offer-banner .vob-body { flex: 1 1 7rem; }
  main .vh-offer-banner .vob-copy { flex: 1 1 auto; }
}

/* Footer: clearer separation, useful link groups and a calmer CTA panel. */
.footer {
  background:
    radial-gradient(ellipse 68% 28% at 50% 0%, rgba(153, 119, 244, 0.075), transparent 78%),
    #0c0c10;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .container { padding-top: clamp(2.5rem, 4.5vw, 4rem); }
.footer-cta {
  background:
    linear-gradient(115deg, rgba(154, 122, 245, 0.11), transparent 62%),
    #111116;
  border-color: rgba(193, 171, 255, 0.24);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 44px rgba(0, 0, 0, 0.18);
}
.footer-cta::before { display: none; }
.footer-cta-title { max-width: 28ch; }
.footer-col-heading { letter-spacing: 0.11em; }
.footer-col-panel { gap: 0.7rem; }
.footer-col a { line-height: 1.45; }
.footer-payments { border-color: rgba(255, 255, 255, 0.1); }
.footer .footer-bottom { padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-legal { gap: 0.8rem 1.35rem; }

@media (max-width: 1024px) {
  .header-inner { gap: 1rem; }
}
@media (max-width: 680px) {
  .footer-cta { padding: 1.35rem; }
  .footer-cta-title { max-width: 24ch; }
  .footer .footer-bottom { align-items: flex-start; }
  .footer-legal { gap: 0.65rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .game-card:hover,
  .plan-card:hover,
  .feature-card:hover,
  .service-card:hover,
  .pricing-card:hover,
  .svc-card:hover,
  .vps-plan-card:hover,
  .vps-feature-card:hover,
  .vps-os-card:hover,
  .vps-loc-card:hover,
  .infra-spec-card:hover,
  .dp-step:hover,
  .dp-layer:hover,
  .dp-cap-item:hover,
  .mc-plan-card:hover,
  .mc-feature-card:hover,
  .mc-network-card:hover,
  .mc-why-card:hover,
  .gh-feature-card:hover,
  .gh-infra-card:hover,
  .gh-why-card:hover,
  .gh-step:hover,
  .gh-plan-card:hover,
  .vm-plan:hover,
  .vm-quick-plan:hover,
  .bm-plan:hover,
  .gh-game-card-active:hover,
  .dp-tech-card:hover,
  .dp-cap-card:hover,
  .mh-plan:hover { transform: none; }
}
