/*
Theme Name: PortalPC Tech
Template: storefront
Version: 2.6.2
Description: PortalPC Tech storefront child theme.
*/

:root {
  --portal-navy: #0b1220;
  --portal-slate: #1e293b;
  --portal-blue: #2563eb;
  --portal-cyan: #06b6d4;
  --portal-orange: #f59e0b;
  --portal-bg: #f8fafc;
  --portal-white: #ffffff;
  --portal-border: #dbe5f0;
}

body {
  background:
    radial-gradient(circle at 8% 18%, rgba(37, 99, 235, 0.08), transparent 24rem),
    radial-gradient(circle at 92% 42%, rgba(6, 182, 212, 0.07), transparent 28rem),
    linear-gradient(180deg, #eef4fa 0%, #f8fafc 34%, #edf3f8 100%);
  background-attachment: fixed;
  color: var(--portal-slate);
  font-family: "Segoe UI Variable Text", "Aptos", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.site-header {
  background: var(--portal-navy);
  border-bottom: 3px solid var(--portal-cyan);
  color: var(--portal-white);
}

.site-header .col-full,
.main-navigation .col-full,
.site-content .col-full,
.site-footer .col-full {
  max-width: 1320px;
}

.site-header {
  padding-bottom: 1.6rem;
  padding-top: 1.6rem;
}

.site-header .site-branding {
  margin-bottom: 1.25rem;
}

.site-header .site-branding .site-title a,
.site-header .site-branding .site-description,
.site-header a,
.main-navigation ul li a,
.site-header-cart .cart-contents {
  color: var(--portal-white);
}

.site-header .site-branding .site-title a {
  font-family: "Segoe UI Variable Display", "Aptos Display", "Segoe UI", sans-serif;
  font-size: 2rem;
  font-weight: 780;
  letter-spacing: -0.045em;
}

.site-header .site-branding .site-description {
  color: #aebed3;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  padding-bottom: 0.8rem;
  padding-top: 0.8rem;
}

.main-navigation ul.menu > li.portal-mega-menu {
  position: static;
}

.main-navigation ul.menu > li.portal-mega-menu > ul.sub-menu {
  background: rgba(11, 18, 32, 0.98);
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
  display: none;
  gap: 0.75rem;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  left: 0;
  padding: 1.4rem;
  right: 0;
  width: 100%;
}

.main-navigation ul.menu > li.portal-mega-menu:hover > ul.sub-menu,
.main-navigation ul.menu > li.portal-mega-menu:focus-within > ul.sub-menu {
  display: grid;
}

.main-navigation .portal-mega-menu > .sub-menu > li {
  float: none;
  min-width: 0;
  width: auto;
}

.main-navigation .portal-mega-menu > .sub-menu > li > a {
  border-bottom: 1px solid rgba(103, 232, 249, 0.2);
  color: #67e8f9;
  font-size: 0.93rem;
  font-weight: 800;
  padding: 0.65rem 0.75rem;
}

.main-navigation .portal-mega-menu .sub-menu .sub-menu {
  background: transparent;
  box-shadow: none;
  display: block;
  float: none;
  left: auto;
  position: static;
  width: auto;
}

.main-navigation .portal-mega-menu .sub-menu .sub-menu li {
  float: none;
  width: auto;
}

.main-navigation .portal-mega-menu .sub-menu .sub-menu a {
  color: #cbd5e1;
  font-size: 0.83rem;
  line-height: 1.35;
  padding: 0.45rem 0.75rem;
  white-space: normal;
}

.main-navigation .portal-mega-menu .sub-menu .sub-menu a:hover {
  background: rgba(37, 99, 235, 0.18);
  color: var(--portal-white);
}

.main-navigation ul li a:hover,
.site-header a:hover {
  color: #67e8f9;
}

.site-search .widget_product_search form::before {
  color: var(--portal-blue);
}

.site-search .widget_product_search input[type="search"] {
  border: 1px solid transparent;
  border-radius: 10px;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.wc-block-components-button:not(.is-link) {
  background: var(--portal-orange);
  border: 0;
  border-radius: 8px;
  color: var(--portal-navy);
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

button:hover,
input[type="submit"]:hover,
.button:hover,
.wc-block-components-button:not(.is-link):hover {
  background: #fbbf24;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.25);
  color: var(--portal-navy);
  transform: translateY(-1px);
}

a {
  color: var(--portal-blue);
}

.site-content {
  padding-top: 0;
}

.home .content-area {
  float: none;
  margin: 0;
  width: 100%;
}

.home .site-main {
  margin-bottom: 0;
}

.home .hentry {
  margin: 0;
}

.home .entry-content {
  color: #334155;
  font-size: 1rem;
  line-height: 1.7;
}

.portal-hero {
  align-items: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(6, 182, 212, 0.28), transparent 32%),
    linear-gradient(135deg, #0b1220, #172554);
  border-radius: 20px;
  color: var(--portal-white);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  margin: 2.25rem 0 3.5rem;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem);
}

.portal-hero h1 {
  color: var(--portal-white);
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  font-family: "Segoe UI Variable Display", "Aptos Display", "Segoe UI", sans-serif;
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 1.02;
  margin: 0 0 1.25rem;
}

.portal-hero p {
  color: #cbd5e1;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
  max-width: 720px;
}

.portal-hero__badge {
  background: rgba(6, 182, 212, 0.14);
  border: 1px solid rgba(103, 232, 249, 0.4);
  border-radius: 999px;
  color: #a5f3fc;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  text-transform: uppercase;
}

.portal-hero__visual {
  color: #67e8f9;
  font-size: clamp(6rem, 14vw, 11rem);
  line-height: 1;
  text-align: center;
}

.portal-button {
  background: var(--portal-orange);
  border-radius: 9px;
  color: var(--portal-navy);
  display: inline-block;
  font-weight: 850;
  margin-top: 0.75rem;
  padding: 0.9rem 1.35rem;
}

.portal-button:hover {
  background: #fbbf24;
  color: var(--portal-navy);
}

.portal-section-title {
  color: var(--portal-navy);
  font-family: "Segoe UI Variable Display", "Aptos Display", "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 740;
  letter-spacing: -0.045em;
  margin: 3rem 0 1.25rem;
}

.portal-section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-top: 3.5rem;
}

.portal-section-heading .portal-section-title {
  margin: 0.25rem 0 1.25rem;
}

.portal-section-heading > a {
  font-weight: 750;
  margin-bottom: 1.35rem;
}

.portal-kicker {
  color: var(--portal-blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portal-kicker--deal {
  color: #b45309;
}

.portal-products {
  margin-top: 3.5rem;
}

.portal-products--deals {
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
  border: 1px solid #fed7aa;
  border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.portal-products ul.products li.product {
  background: var(--portal-white);
  border: 1px solid var(--portal-border);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  padding: 1rem 1rem 1.25rem;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.portal-products ul.products li.product:hover {
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.12);
  transform: translateY(-3px);
}

.portal-products ul.products li.product .onsale {
  background: var(--portal-orange);
  border: 0;
  color: var(--portal-navy);
  font-weight: 850;
}

.portal-products ul.products li.product .price {
  color: var(--portal-blue);
  font-weight: 800;
}

.portal-sponsor {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.9));
  border: 1px dashed #93b4d6;
  border-radius: 14px;
  color: #475569;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  overflow: hidden;
  padding: 1.25rem 1.5rem;
  position: relative;
}

.portal-sponsor--wide {
  margin: 2.25rem 0 1rem;
  min-height: 120px;
}

.portal-sponsor--card {
  align-items: flex-start;
  flex-direction: column;
  min-height: 180px;
}

.portal-sponsor__label {
  background: #e2e8f0;
  border-radius: 999px;
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.55rem;
  text-transform: uppercase;
}

.portal-sponsor div {
  flex: 1;
}

.portal-sponsor strong {
  color: var(--portal-navy);
  display: block;
  font-size: 1.05rem;
}

.portal-sponsor div span {
  color: #64748b;
  font-size: 0.88rem;
}

.portal-sponsor > a {
  font-size: 0.84rem;
  font-weight: 750;
}

.portal-sponsor--filled {
  border-style: solid;
  padding: 0;
}

.portal-sponsor--filled > a {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.portal-sponsor--filled img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.portal-sponsor--filled .portal-sponsor__label {
  left: 0.75rem;
  position: absolute;
  top: 0.75rem;
  z-index: 2;
}

.portal-sponsor-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 3.5rem;
}

.portal-categories,
.portal-benefits {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.portal-card,
.portal-benefit {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--portal-border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  color: var(--portal-slate);
  padding: 1.4rem;
}

.portal-card {
  min-height: 155px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.portal-card:hover {
  border-color: var(--portal-cyan);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.12);
  transform: translateY(-3px);
}

.portal-card strong,
.portal-benefit strong {
  color: var(--portal-navy);
  display: block;
  font-size: 1.05rem;
  margin: 0.65rem 0 0.35rem;
}

.portal-card span:last-child,
.portal-benefit span {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.55;
}

.storefront-breadcrumb {
  margin-bottom: 1.5rem;
}

.home .storefront-breadcrumb {
  display: none;
}

.home .site-content > .col-full {
  padding-bottom: 4rem;
}

.portal-card__icon {
  color: var(--portal-blue);
  font-size: 1.9rem;
}

.site-footer {
  background: var(--portal-navy);
  color: #cbd5e1;
}

.site-footer a {
  color: #67e8f9;
}

.portal-footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 1.25rem 0 2.5rem;
}

.portal-footer-grid > div,
.portal-footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.portal-footer-grid strong {
  color: var(--portal-white);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.portal-footer-grid span,
.portal-footer-grid a {
  font-size: 0.88rem;
}

.portal-legal {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--portal-border);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  margin-bottom: 3rem;
  padding: clamp(1.5rem, 5vw, 4rem);
}

.portal-legal__intro {
  border-left: 4px solid var(--portal-cyan);
  color: #334155;
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  padding-left: 1.25rem;
}

.portal-legal h2 {
  color: var(--portal-navy);
  font-family: "Segoe UI Variable Display", "Aptos Display", "Segoe UI", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 740;
  letter-spacing: -0.025em;
  margin: 2.25rem 0 0.75rem;
}

.portal-legal p,
.portal-legal li {
  color: #475569;
  line-height: 1.75;
}

.portal-legal li {
  margin-bottom: 0.45rem;
}

.portal-legal address {
  background: #f1f5f9;
  border-radius: 10px;
  font-style: normal;
  line-height: 1.7;
  padding: 1.25rem;
}

.portal-legal__form {
  background: #f8fafc;
  border: 1px solid var(--portal-border);
  border-radius: 12px;
  padding: 1.5rem;
}

.portal-cookie-table-wrap {
  overflow-x: auto;
}

.portal-legal table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

.portal-legal th,
.portal-legal td {
  border: 1px solid var(--portal-border);
  padding: 0.8rem;
  text-align: left;
  vertical-align: top;
}

.portal-legal th {
  background: var(--portal-navy);
  color: var(--portal-white);
}

.portal-cookie-open {
  overflow: hidden;
}

.portal-cookie-layer {
  align-items: flex-end;
  background: rgba(2, 6, 23, 0.66);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1.25rem;
  position: fixed;
  z-index: 99999;
}

.portal-cookie-layer[hidden],
.portal-cookie-preferences[hidden],
.portal-cookie-tab[hidden] {
  display: none !important;
}

.portal-cookie-dialog {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.4);
  color: #334155;
  max-height: calc(100vh - 2.5rem);
  max-width: 820px;
  overflow: auto;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  width: 100%;
}

.portal-cookie-dialog__header {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.portal-cookie-dialog__icon {
  align-items: center;
  background: var(--portal-navy);
  border-radius: 12px;
  color: #67e8f9;
  display: flex;
  font-size: 1.4rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.portal-cookie-dialog__eyebrow {
  color: var(--portal-blue);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portal-cookie-dialog h2 {
  color: var(--portal-navy);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  margin: 0.15rem 0 0;
}

.portal-cookie-dialog > p {
  line-height: 1.65;
  margin: 1.25rem 0;
}

.portal-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.portal-cookie-button {
  border: 2px solid var(--portal-blue);
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  min-height: 46px;
  padding: 0.65rem 1rem;
}

.portal-cookie-button--accept,
.portal-cookie-button--reject {
  flex: 1 1 220px;
}

.portal-cookie-button--accept {
  background: var(--portal-blue);
  color: var(--portal-white);
}

.portal-cookie-button--reject {
  background: var(--portal-white);
  color: var(--portal-blue);
}

.portal-cookie-button--settings {
  background: transparent;
  border-color: #94a3b8;
  color: #475569;
}

.portal-cookie-preferences {
  border-top: 1px solid #dbe5f0;
  margin-top: 1.25rem;
  padding-top: 0.75rem;
}

.portal-cookie-category {
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0;
  padding: 1rem 0;
}

.portal-cookie-category div {
  display: flex;
  flex-direction: column;
}

.portal-cookie-category strong {
  color: var(--portal-navy);
}

.portal-cookie-category div span {
  color: #64748b;
  font-size: 0.82rem;
}

.portal-cookie-required {
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.portal-cookie-category input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.portal-cookie-switch {
  background: #cbd5e1;
  border-radius: 999px;
  flex: 0 0 46px;
  height: 26px;
  position: relative;
}

.portal-cookie-switch::after {
  background: var(--portal-white);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.3);
  content: "";
  height: 20px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: transform 160ms ease;
  width: 20px;
}

.portal-cookie-category input:checked + .portal-cookie-switch {
  background: var(--portal-blue);
}

.portal-cookie-category input:checked + .portal-cookie-switch::after {
  transform: translateX(20px);
}

.portal-cookie-category input:focus-visible + .portal-cookie-switch {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 3px;
}

.portal-cookie-button--save {
  background: var(--portal-blue);
  color: var(--portal-white);
  margin-top: 1rem;
  width: 100%;
}

.portal-cookie-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.portal-cookie-links a {
  font-size: 0.78rem;
  font-weight: 700;
}

.portal-cookie-tab {
  background: var(--portal-navy);
  border: 1px solid #67e8f9;
  border-radius: 0 8px 8px 0;
  bottom: 1rem;
  color: var(--portal-white);
  font-size: 0.72rem;
  left: 0;
  padding: 0.55rem 0.75rem;
  position: fixed;
  z-index: 9998;
}

@media (max-width: 900px) {
  .portal-categories,
  .portal-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-navigation ul.menu > li.portal-mega-menu > ul.sub-menu {
    display: block;
    position: static;
  }

  .portal-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .portal-hero {
    grid-template-columns: 1fr;
  }

  .portal-hero__visual {
    display: none;
  }

  .portal-categories,
  .portal-benefits,
  .portal-sponsor-grid {
    grid-template-columns: 1fr;
  }

  .portal-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .portal-footer-grid {
    grid-template-columns: 1fr;
  }

  .portal-cookie-layer {
    padding: 0;
  }

  .portal-cookie-dialog {
    border-radius: 16px 16px 0 0;
    max-height: 94vh;
  }

  .portal-cookie-actions {
    flex-direction: column;
  }

  .portal-cookie-button--accept,
  .portal-cookie-button--reject {
    flex-basis: auto;
    width: 100%;
  }
}

/* PortalPC Tech 1.2 — cyber storefront */
body {
  background:
    radial-gradient(circle at 14% 10%, rgba(37, 99, 235, 0.2), transparent 28rem),
    radial-gradient(circle at 88% 28%, rgba(168, 85, 247, 0.14), transparent 30rem),
    radial-gradient(circle at 45% 78%, rgba(6, 182, 212, 0.1), transparent 32rem),
    #050914;
  color: #cbd5e1;
}

body::before {
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

body::after {
  animation: portal-site-glow 20s ease-in-out infinite alternate;
  background:
    radial-gradient(circle at 12% 20%, rgba(34, 211, 238, .2), transparent 30rem),
    radial-gradient(circle at 86% 35%, rgba(168, 85, 247, .18), transparent 34rem),
    radial-gradient(circle at 48% 88%, rgba(236, 72, 153, .12), transparent 32rem);
  content: "";
  filter: hue-rotate(-18deg) saturate(1.15);
  inset: -8%;
  opacity: .8;
  pointer-events: none;
  position: fixed;
  transform: scale(1);
  z-index: -2;
}

.site-header {
  animation: portal-rgb-border 10s linear infinite;
  background:
    radial-gradient(circle at 76% 0%, rgba(37, 99, 235, 0.22), transparent 24rem),
    rgba(5, 9, 20, 0.96);
  border-bottom: 1px solid rgba(34, 211, 238, 0.45);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.28);
}

.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a,
.portal-category-grid a,
.portal-ai__launcher,
.button,
button,
input[type="button"],
input[type="submit"] {
  animation: portal-rgb-border 10s linear infinite;
}

.site-content,
.site-main,
.hentry,
.entry-content {
  background: transparent;
}

.portal-hero {
  background:
    linear-gradient(115deg, rgba(6, 10, 25, 0.95), rgba(12, 30, 64, 0.92)),
    #07101f;
  border: 1px solid rgba(34, 211, 238, 0.32);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.44),
    inset 0 0 70px rgba(37, 99, 235, 0.08);
  position: relative;
}

.portal-hero::before {
  animation: portal-aura-shift 22s ease-in-out infinite alternate;
  background:
    linear-gradient(90deg, rgba(4, 8, 20, 0.94) 0%, rgba(4, 8, 20, 0.7) 42%, rgba(4, 8, 20, 0.12) 72%, rgba(4, 8, 20, 0.18) 100%),
    url("assets/images/portalpc-contained-hardline-pc-animated-v5.webp") right center / auto 100% no-repeat;
  content: "";
  filter: saturate(1.08);
  inset: -2%;
  opacity: 0.98;
  position: absolute;
  transform: scale(1.02);
  z-index: 0;
}

.portal-hero > * {
  position: relative;
  z-index: 2;
}

.portal-hero::after {
  background: linear-gradient(90deg, var(--portal-cyan), #8b5cf6, var(--portal-orange));
  bottom: 0;
  content: "";
  height: 3px;
  left: 8%;
  position: absolute;
  right: 8%;
  z-index: 3;
}

.portal-hero__visual {
  filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.65));
  opacity: 0.82;
}

@keyframes portal-aura-shift {
  0% {
    filter: hue-rotate(-16deg) saturate(1.08) brightness(.92);
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  45% {
    filter: hue-rotate(24deg) saturate(1.22) brightness(1);
    transform: scale(1.055) translate3d(-0.6%, -0.4%, 0);
  }
  100% {
    filter: hue-rotate(62deg) saturate(1.16) brightness(.96);
    transform: scale(1.035) translate3d(0.6%, 0.3%, 0);
  }
}

@keyframes portal-site-glow {
  0% {
    filter: hue-rotate(-18deg) saturate(1.1);
    opacity: .64;
    transform: scale(1);
  }
  100% {
    filter: hue-rotate(58deg) saturate(1.35);
    opacity: .92;
    transform: scale(1.08);
  }
}

@keyframes portal-rgb-border {
  0% {
    border-color: rgba(34, 211, 238, .62);
    box-shadow: 0 0 14px rgba(34, 211, 238, .12);
  }
  33% {
    border-color: rgba(168, 85, 247, .68);
    box-shadow: 0 0 18px rgba(168, 85, 247, .16);
  }
  66% {
    border-color: rgba(236, 72, 153, .64);
    box-shadow: 0 0 16px rgba(236, 72, 153, .14);
  }
  100% {
    border-color: rgba(34, 211, 238, .62);
    box-shadow: 0 0 14px rgba(34, 211, 238, .12);
  }
}

@keyframes portal-aura-color-only {
  0% { filter: hue-rotate(-18deg) saturate(1.08) brightness(.92); }
  50% { filter: hue-rotate(28deg) saturate(1.24) brightness(1); }
  100% { filter: hue-rotate(72deg) saturate(1.18) brightness(.96); }
}

@keyframes portal-site-color-only {
  0% { filter: hue-rotate(-20deg) saturate(1.1); opacity: .65; }
  50% { filter: hue-rotate(30deg) saturate(1.28); opacity: .84; }
  100% { filter: hue-rotate(78deg) saturate(1.4); opacity: .92; }
}

.portal-section-title,
.entry-title,
.page-title,
.woocommerce-products-header__title,
.woocommerce-loop-product__title,
.product_title,
.portal-card strong,
.portal-benefit strong {
  color: #f8fafc;
}

.portal-kicker {
  color: #67e8f9;
}

.portal-card,
.portal-benefit {
  backdrop-filter: blur(16px);
  background:
    linear-gradient(145deg, rgba(15, 29, 55, 0.92), rgba(8, 15, 31, 0.92));
  border-color: rgba(96, 165, 250, 0.22);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.035);
}

.portal-card:hover {
  background:
    linear-gradient(145deg, rgba(18, 43, 78, 0.96), rgba(9, 21, 43, 0.96));
  border-color: #22d3ee;
  box-shadow:
    0 18px 45px rgba(6, 182, 212, 0.16),
    0 0 0 1px rgba(34, 211, 238, 0.12);
}

.portal-card span:last-child,
.portal-benefit span,
.home .entry-content,
.portal-section-heading > a {
  color: #9fb0c7;
}

.portal-card__icon {
  color: #22d3ee;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.5));
}

.portal-products--deals {
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.13), transparent 24rem),
    linear-gradient(135deg, rgba(42, 24, 8, 0.9), rgba(18, 17, 30, 0.94));
  border-color: rgba(245, 158, 11, 0.42);
}

.portal-products ul.products li.product,
ul.products li.product {
  background:
    linear-gradient(150deg, rgba(17, 31, 56, 0.96), rgba(8, 15, 30, 0.97));
  border: 1px solid rgba(96, 165, 250, 0.2);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

.portal-products ul.products li.product:hover,
ul.products li.product:hover {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 20px 42px rgba(6, 182, 212, 0.14);
}

ul.products li.product img,
.single-product div.product .woocommerce-product-gallery {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(226, 232, 240, 0.96));
  border-radius: 10px;
  padding: 0.75rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  background: #0f2544;
  border-left-color: #22d3ee;
  color: #e2e8f0;
}

.woocommerce-tabs,
.woocommerce-cart-form,
.cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation,
.single-product div.product .summary {
  background: rgba(10, 20, 38, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 14px;
  color: #cbd5e1;
  padding: clamp(1rem, 3vw, 2rem);
}

table:not(.portal-legal table) th,
table:not(.portal-legal table) td {
  border-color: rgba(148, 163, 184, 0.18);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select,
.select2-container .select2-selection {
  background: #0c1628;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 8px;
  color: #e2e8f0;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.13);
}

input::placeholder,
textarea::placeholder,
.site-search .widget_product_search input[type="search"]::placeholder {
  color: #8293aa;
  opacity: 1;
}

.site-search .widget_product_search input[type="search"] {
  background: rgba(8, 17, 33, 0.94);
  border-color: rgba(96, 165, 250, 0.24);
  color: #e2e8f0;
}

.portal-sponsor {
  background:
    linear-gradient(135deg, rgba(14, 29, 53, 0.9), rgba(11, 19, 37, 0.92));
  border-color: rgba(103, 232, 249, 0.32);
  color: #9fb0c7;
}

.portal-sponsor strong {
  color: #f8fafc;
}

.portal-sponsor div span {
  color: #94a3b8;
}

.portal-legal {
  background:
    linear-gradient(145deg, rgba(15, 27, 50, 0.96), rgba(8, 15, 29, 0.97));
  border-color: rgba(96, 165, 250, 0.22);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.3);
}

.portal-legal h2,
.portal-legal strong {
  color: #f8fafc;
}

.portal-legal p,
.portal-legal li,
.portal-legal address {
  color: #b8c5d8;
}

.portal-legal address,
.portal-legal__form {
  background: rgba(5, 12, 25, 0.62);
  border-color: rgba(96, 165, 250, 0.2);
}

.portal-legal th {
  background: #07101f;
}

.portal-legal td {
  background: rgba(11, 22, 41, 0.8);
  border-color: rgba(96, 165, 250, 0.18);
  color: #b8c5d8;
}

.portal-cookie-dialog {
  background:
    linear-gradient(145deg, #101e35, #080f1e);
  border-color: rgba(103, 232, 249, 0.35);
  color: #cbd5e1;
}

.portal-cookie-dialog h2,
.portal-cookie-category strong {
  color: #f8fafc;
}

.portal-cookie-dialog > p,
.portal-cookie-category div span {
  color: #aebdd0;
}

.portal-cookie-category {
  border-color: rgba(148, 163, 184, 0.18);
}

.portal-cookie-button--reject {
  background: #0b1628;
  color: #93c5fd;
}

.portal-cookie-button--settings {
  color: #cbd5e1;
}

.storefront-breadcrumb,
.storefront-breadcrumb a,
.woocommerce-breadcrumb,
.woocommerce-breadcrumb a {
  color: #94a3b8;
}

.site-footer {
  background:
    radial-gradient(circle at 15% 0%, rgba(37, 99, 235, 0.13), transparent 24rem),
    #030711;
  border-top: 1px solid rgba(34, 211, 238, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  body::after {
    animation: portal-site-color-only 22s linear infinite;
    transform: none;
  }

  .portal-hero::before {
    animation: portal-aura-color-only 18s linear infinite;
    transform: none;
  }

  .site-header,
  .main-navigation ul.menu > li > a,
  .main-navigation ul.nav-menu > li > a,
  .portal-category-grid a,
  .portal-ai__launcher,
  .button,
  button,
  input[type="button"],
  input[type="submit"] {
    animation: portal-rgb-border 12s linear infinite;
  }
}

.site-header {
  overflow: visible;
  position: relative;
}

.portal-nav-feed {
  backdrop-filter: blur(5px);
  background: rgba(186, 230, 253, .14);
  border: 2px solid rgba(255,255,255,.48);
  border-radius: 999px;
  bottom: -112px;
  box-shadow:
    inset 0 0 0 2px rgba(103,232,249,.2),
    inset 0 0 9px rgba(224,242,254,.35),
    0 0 12px rgba(34,211,238,.28);
  height: 116px;
  pointer-events: none;
  position: absolute;
  width: 12px;
  z-index: 4;
}

.portal-nav-feed--pump {
  left: 39%;
}

.portal-nav-feed--fans {
  right: 10%;
}

.portal-nav-feed i {
  animation: portal-nav-water-drop 2.5s linear infinite, portal-fan-rgb 8s linear infinite;
  background: linear-gradient(to bottom, #e0f2fe, #67e8f9, #8b5cf6);
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(103,232,249,.8);
  height: 30%;
  inset-inline: 2px;
  position: absolute;
  top: 0;
}

.portal-nav-feed--fans i {
  animation-direction: reverse, normal;
}

@keyframes portal-nav-water-drop {
  from { transform: translateY(0); }
  to { transform: translateY(245%); }
}

@media (max-width: 760px) {
  .portal-nav-feed {
    display: none;
  }
}

/* Large ambient cooling loop in the open space around the homepage hero. */
.entry-content:has(> .portal-hero) {
  isolation: isolate;
  position: relative;
}

.portal-page-cooling {
  height: 800px;
  left: 50%;
  overflow: visible;
  pointer-events: none;
  position: absolute;
  top: -120px;
  transform: translateX(-50%);
  width: min(1700px, 112vw);
  z-index: 0;
}

.portal-page-cooling__loop {
  animation: portal-loop-rgb 12s linear infinite;
  border: 4px solid rgba(34, 211, 238, .36);
  border-bottom-color: rgba(236, 72, 153, .42);
  border-left-color: rgba(168, 85, 247, .42);
  border-radius: 120px 180px 150px 110px;
  box-shadow:
    inset 0 0 18px rgba(34, 211, 238, .12),
    0 0 24px rgba(168, 85, 247, .22);
  inset: 18px 22px 32px;
  position: absolute;
}

.portal-page-cooling__loop::before,
.portal-page-cooling__loop::after {
  animation: portal-coolant-orbit 7s ease-in-out infinite;
  background: #a5f3fc;
  border-radius: 50%;
  box-shadow: 0 0 12px 4px #22d3ee, 0 0 28px 8px rgba(168, 85, 247, .8);
  content: "";
  height: 9px;
  left: 3%;
  position: absolute;
  top: -6px;
  width: 9px;
}

.portal-page-cooling__loop::after {
  animation-delay: -3.5s;
  left: auto;
  right: 4%;
  top: auto;
  bottom: -6px;
}

.portal-page-cooling__reservoir {
  animation: portal-reservoir-glow 4s ease-in-out infinite, portal-fan-rgb 11s linear infinite;
  background:
    linear-gradient(to top, rgba(34, 211, 238, .72) 0 58%, rgba(168, 85, 247, .32) 59% 64%, rgba(8, 18, 38, .78) 65%);
  border: 2px solid rgba(103, 232, 249, .62);
  border-radius: 18px;
  box-shadow: inset 0 0 18px rgba(103, 232, 249, .32), 0 0 22px rgba(34, 211, 238, .3);
  height: 170px;
  overflow: hidden;
  position: absolute;
  right: 1.5%;
  top: 275px;
  width: 44px;
}

.portal-page-cooling__reservoir i {
  animation: portal-liquid-level 3.2s ease-in-out infinite;
  background: repeating-radial-gradient(ellipse at 50% 0, rgba(255,255,255,.62) 0 2px, transparent 3px 9px);
  bottom: 0;
  inset-inline: 0;
  position: absolute;
  top: 38%;
}

.portal-page-cooling__radiator {
  align-items: center;
  animation: portal-rgb-border 10s linear infinite;
  background: linear-gradient(180deg, rgba(15, 31, 56, .96), rgba(5, 12, 27, .96));
  border: 2px solid rgba(103, 232, 249, .55);
  border-radius: 18px;
  bottom: -10px;
  box-shadow: 0 0 28px rgba(34, 211, 238, .22);
  display: flex;
  gap: 14px;
  height: 92px;
  justify-content: center;
  left: 50%;
  padding: 10px 18px;
  position: absolute;
  transform: translateX(-50%);
  width: min(360px, 72vw);
}

.portal-page-cooling__fan {
  animation: portal-fan-spin 1.35s linear infinite, portal-fan-rgb 8s linear infinite;
  background:
    radial-gradient(circle, #07101f 0 18%, transparent 19%),
    repeating-conic-gradient(rgba(103, 232, 249, .9) 0 13deg, rgba(168, 85, 247, .2) 14deg 42deg);
  border: 2px solid rgba(103, 232, 249, .7);
  border-radius: 50%;
  box-shadow: inset 0 0 13px rgba(34, 211, 238, .55), 0 0 14px rgba(168, 85, 247, .4);
  display: block;
  height: 66px;
  width: 66px;
}

.portal-page-cooling__fan:nth-child(2) { animation-direction: reverse, normal; }

.portal-page-cooling__stream {
  animation: portal-flow-scan 2.6s ease-in-out infinite, portal-fan-rgb 9s linear infinite;
  background: linear-gradient(90deg, transparent, #67e8f9, #c084fc, #fb7185, transparent);
  border-radius: 999px;
  bottom: 91px;
  box-shadow: 0 0 18px rgba(34, 211, 238, .8);
  height: 4px;
  left: 36%;
  position: absolute;
  width: 28%;
}

@keyframes portal-loop-rgb {
  to { filter: hue-rotate(360deg) saturate(1.35); }
}

@keyframes portal-coolant-orbit {
  0% { transform: translateX(0) scale(.72); opacity: .35; }
  50% { transform: translateX(460px) scale(1.18); opacity: 1; }
  100% { transform: translateX(920px) scale(.72); opacity: .35; }
}

@keyframes portal-reservoir-glow {
  0%, 100% { opacity: .66; }
  50% { opacity: .95; }
}

@keyframes portal-liquid-level {
  0%, 100% { transform: translateY(7px); }
  50% { transform: translateY(-7px); }
}

@media (max-width: 1000px) {
  .portal-page-cooling {
    height: 720px;
    top: -86px;
    width: 106vw;
  }

  .portal-page-cooling__reservoir {
    right: .5%;
    transform: scale(.76);
  }
}

@media (max-width: 720px) {
  .portal-page-cooling {
    display: none;
  }
}

/* v1.8: precise animation aligned to the internal hardline loop in hero v3. */
.portal-page-cooling {
  display: none !important;
}

.portal-hero-fx__fan {
  height: clamp(13px, 1.55vw, 25px);
  opacity: .58;
  width: clamp(13px, 1.55vw, 25px);
}

.portal-hero-fx__fan--rear {
  left: 66.35%;
  top: 43.1%;
}

.portal-hero-fx__fan--top-one {
  left: 69.1%;
  top: 38.4%;
}

.portal-hero-fx__fan--top-two {
  animation-direction: reverse, normal;
  left: 72.15%;
  top: 38.4%;
}

.portal-hero-fx__fan--top-three {
  left: 75.2%;
  top: 38.4%;
}

.portal-hero-fx__cooler {
  height: clamp(15px, 1.8vw, 29px);
  left: 69.7%;
  opacity: .58;
  top: 44.2%;
  width: clamp(15px, 1.8vw, 29px);
}

.portal-hero-fx__pipe,
.portal-hero-fx__flow {
  display: none;
}

.portal-hero-fx__reservoir {
  animation: portal-reservoir-glow 3.6s ease-in-out infinite, portal-fan-rgb 12s linear infinite;
  background: linear-gradient(to top, rgba(34, 211, 238, .58) 0 62%, rgba(192, 132, 252, .35) 63% 68%, transparent 69%);
  border: 1px solid rgba(165, 243, 252, .55);
  border-radius: 5px;
  box-shadow: inset 0 0 7px rgba(103, 232, 249, .45), 0 0 8px rgba(168, 85, 247, .38);
  height: clamp(35px, 4.15vw, 67px);
  left: 77.25%;
  overflow: hidden;
  position: absolute;
  top: 44.3%;
  width: clamp(8px, .9vw, 15px);
}

.portal-hero-fx__reservoir i {
  animation: portal-liquid-level 2.8s ease-in-out infinite;
  background: repeating-radial-gradient(ellipse at 50% 0, rgba(255,255,255,.5) 0 1px, transparent 2px 5px);
  inset: 35% 0 0;
  position: absolute;
}

.portal-hero-fx__hardline {
  animation: portal-hardline-flow 2.5s ease-in-out infinite, portal-fan-rgb 10s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(165, 243, 252, .88), rgba(192, 132, 252, .82), transparent);
  border-radius: 999px;
  box-shadow: 0 0 6px rgba(34, 211, 238, .7);
  height: 2px;
  left: 69.4%;
  opacity: .62;
  position: absolute;
  top: 48.2%;
  width: 7.8%;
}

.portal-hero-fx__hardline--gpu {
  animation-delay: -1.25s, -4s;
  left: 68.5%;
  top: 52.8%;
  width: 9%;
}

@keyframes portal-hardline-flow {
  0%, 100% { background-position: -50px 0; opacity: .32; transform: scaleX(.72); }
  50% { background-position: 50px 0; opacity: .88; transform: scaleX(1); }
}

@media (max-width: 780px) {
  .portal-hero-fx__fan,
  .portal-hero-fx__cooler,
  .portal-hero-fx__reservoir,
  .portal-hero-fx__hardline {
    opacity: .3;
  }
}

/* Glass water-cooling chamber between navigation and homepage hero. */
.portal-cooling-deck {
  align-items: center;
  backdrop-filter: blur(18px) saturate(1.25);
  background:
    linear-gradient(105deg, rgba(5, 14, 31, .92), rgba(15, 32, 61, .78) 52%, rgba(30, 13, 48, .86)),
    linear-gradient(90deg, rgba(103, 232, 249, .07), rgba(192, 132, 252, .08));
  border: 1px solid rgba(125, 211, 252, .42);
  border-radius: 20px;
  box-shadow:
    inset 0 0 28px rgba(103, 232, 249, .09),
    0 18px 44px rgba(0, 0, 0, .32),
    0 0 24px rgba(168, 85, 247, .1);
  display: grid;
  gap: clamp(.7rem, 2vw, 1.5rem);
  grid-template-columns: minmax(150px, 1.1fr) minmax(70px, .45fr) minmax(52px, .35fr) minmax(210px, 1.2fr);
  margin: 2.2rem 0 -1rem;
  min-height: 126px;
  overflow: hidden;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  position: relative;
}

.portal-cooling-deck::before {
  background: linear-gradient(115deg, rgba(255,255,255,.16), transparent 18%, transparent 76%, rgba(255,255,255,.08));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.portal-cooling-deck__label {
  display: grid;
  gap: .25rem;
  position: relative;
  z-index: 2;
}

.portal-cooling-deck__label span {
  color: #67e8f9;
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .2em;
}

.portal-cooling-deck__label strong {
  color: #f8fafc;
  font-size: clamp(.8rem, 1.25vw, 1.05rem);
  letter-spacing: .08em;
}

.portal-cooling-deck__pump {
  align-items: center;
  background: radial-gradient(circle, rgba(30, 41, 72, .95), rgba(4, 10, 24, .96));
  border: 2px solid rgba(103, 232, 249, .6);
  border-radius: 16px;
  box-shadow: inset 0 0 16px rgba(34, 211, 238, .22), 0 0 18px rgba(34, 211, 238, .22);
  display: flex;
  height: 76px;
  justify-content: center;
  position: relative;
  width: 76px;
  z-index: 2;
}

.portal-cooling-deck__impeller {
  animation: portal-pump-spin 1.5s linear infinite, portal-fan-rgb 8s linear infinite;
  background:
    radial-gradient(circle, #061020 0 19%, transparent 20%),
    repeating-conic-gradient(rgba(103, 232, 249, .95) 0 16deg, rgba(192, 132, 252, .2) 17deg 48deg);
  border: 1px solid rgba(165, 243, 252, .65);
  border-radius: 50%;
  height: 48px;
  width: 48px;
}

.portal-cooling-deck__pump-label {
  bottom: 3px;
  color: #94a3b8;
  font-size: .48rem;
  letter-spacing: .14em;
  position: absolute;
}

.portal-cooling-deck__reservoir {
  background: rgba(6, 16, 34, .68);
  border: 2px solid rgba(186, 230, 253, .62);
  border-radius: 12px;
  box-shadow: inset 0 0 15px rgba(103, 232, 249, .18), 0 0 14px rgba(168, 85, 247, .17);
  height: 92px;
  overflow: hidden;
  position: relative;
  width: 48px;
  z-index: 2;
}

.portal-cooling-deck__liquid {
  animation: portal-deck-level 3.1s ease-in-out infinite, portal-fan-rgb 10s linear infinite;
  background:
    linear-gradient(to top, rgba(8, 145, 178, .9), rgba(34, 211, 238, .76) 55%, rgba(192, 132, 252, .72));
  border-top: 2px solid rgba(224, 242, 254, .86);
  bottom: 0;
  box-shadow: 0 -4px 13px rgba(103, 232, 249, .55);
  height: 68%;
  inset-inline: 0;
  position: absolute;
}

.portal-cooling-deck__reservoir i {
  animation: portal-deck-bubble 2.6s linear infinite;
  background: rgba(255,255,255,.74);
  border-radius: 50%;
  bottom: 5px;
  height: 5px;
  left: 9px;
  position: absolute;
  width: 5px;
  z-index: 3;
}

.portal-cooling-deck__reservoir i:nth-of-type(2) {
  animation-delay: -.9s;
  height: 3px;
  left: 26px;
  width: 3px;
}

.portal-cooling-deck__reservoir i:nth-of-type(3) {
  animation-delay: -1.7s;
  left: 34px;
}

.portal-cooling-deck__fans {
  align-items: center;
  display: flex;
  gap: clamp(.45rem, 1vw, .85rem);
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.portal-cooling-deck__fans span {
  animation: portal-fan-spin 1.2s linear infinite, portal-fan-rgb 7s linear infinite;
  background:
    radial-gradient(circle, #07101f 0 19%, transparent 20%),
    repeating-conic-gradient(rgba(103, 232, 249, .92) 0 13deg, rgba(168, 85, 247, .16) 14deg 43deg);
  border: 2px solid rgba(103, 232, 249, .62);
  border-radius: 50%;
  box-shadow: inset 0 0 10px rgba(34, 211, 238, .48), 0 0 13px rgba(168, 85, 247, .35);
  height: clamp(50px, 5.2vw, 72px);
  width: clamp(50px, 5.2vw, 72px);
}

.portal-cooling-deck__fans span:nth-child(2) {
  animation-direction: reverse, normal;
}

.portal-cooling-deck__tube {
  border: 3px solid rgba(165, 243, 252, .62);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  height: 28px;
  left: 21%;
  position: absolute;
  right: 7%;
  top: 12px;
}

.portal-cooling-deck__tube--bottom {
  border-bottom: 3px solid rgba(192, 132, 252, .62);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  bottom: 12px;
  top: auto;
}

.portal-cooling-deck__tube i {
  animation: portal-deck-flow 3.4s linear infinite;
  background: linear-gradient(90deg, transparent, #a5f3fc, #c084fc, transparent);
  border-radius: 999px;
  box-shadow: 0 0 9px rgba(103, 232, 249, .88);
  height: 3px;
  left: 0;
  position: absolute;
  top: -3px;
  width: 22%;
}

.portal-cooling-deck__tube--bottom i {
  animation-direction: reverse;
  bottom: -3px;
  top: auto;
}

@keyframes portal-pump-spin {
  to { transform: rotate(360deg); }
}

@keyframes portal-deck-level {
  0%, 100% { height: 54%; }
  50% { height: 78%; }
}

@keyframes portal-deck-bubble {
  0% { opacity: 0; transform: translateY(0) scale(.7); }
  20% { opacity: .85; }
  100% { opacity: 0; transform: translateY(-68px) scale(1.3); }
}

@keyframes portal-deck-flow {
  from { transform: translateX(0); }
  to { transform: translateX(355%); }
}

@media (max-width: 760px) {
  .portal-cooling-deck {
    grid-template-columns: 1fr auto auto;
    margin-top: 1.2rem;
    min-height: 106px;
  }

  .portal-cooling-deck__fans {
    display: none;
  }

  .portal-cooling-deck__tube {
    left: 5%;
    right: 5%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-cooling-deck__impeller,
  .portal-cooling-deck__fans span {
    animation-duration: 2.4s, 12s;
  }

  .portal-cooling-deck__liquid,
  .portal-cooling-deck__reservoir i,
  .portal-cooling-deck__tube i {
    animation-duration: 5s;
  }
}

/* Thick circulating glass tubes around every primary navigation tab. */
@property --portal-pipe-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  --portal-pipe-angle: 0deg;
  animation:
    portal-tab-water-flow 3.2s linear infinite,
    portal-rgb-border 10s linear infinite;
  background:
    linear-gradient(rgba(5, 12, 27, .96), rgba(9, 20, 40, .96)) padding-box,
    conic-gradient(
      from var(--portal-pipe-angle),
      #0891b2 0deg,
      #67e8f9 38deg,
      #e0f2fe 52deg,
      #22d3ee 76deg,
      #8b5cf6 145deg,
      #c084fc 205deg,
      #22d3ee 270deg,
      #0891b2 360deg
    ) border-box;
  border: 9px solid transparent !important;
  border-radius: 15px;
  box-shadow:
    inset 0 0 9px rgba(165, 243, 252, .22),
    inset 0 0 0 2px rgba(255, 255, 255, .4),
    0 0 0 2px rgba(224, 242, 254, .56),
    0 0 0 4px rgba(125, 211, 252, .12),
    0 0 16px rgba(34, 211, 238, .24);
  margin: 0 .2rem;
  min-height: 58px;
  position: relative;
}

.main-navigation ul.menu > li > a::before,
.main-navigation ul.nav-menu > li > a::before {
  background:
    linear-gradient(115deg, rgba(255,255,255,.72), transparent 18%, transparent 72%, rgba(255,255,255,.28));
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.62),
    inset 0 -1px 0 rgba(186,230,253,.34);
  content: "";
  inset: -6px;
  opacity: .62;
  pointer-events: none;
  position: absolute;
}

.main-navigation ul.menu > li > a::after,
.main-navigation ul.nav-menu > li > a::after {
  animation: portal-tab-bubble-run 2.4s ease-in-out infinite;
  background: rgba(255, 255, 255, .92);
  border-radius: 50%;
  box-shadow:
    0 0 6px 3px rgba(103, 232, 249, .8),
    0 0 12px 5px rgba(168, 85, 247, .35);
  content: "";
  height: 5px;
  left: 4px;
  position: absolute;
  top: -7px;
  width: 5px;
}

.main-navigation ul.menu > li:nth-child(2) > a::after,
.main-navigation ul.nav-menu > li:nth-child(2) > a::after {
  animation-delay: -.6s;
}

.main-navigation ul.menu > li:nth-child(3) > a::after,
.main-navigation ul.nav-menu > li:nth-child(3) > a::after {
  animation-delay: -1.2s;
}

.main-navigation ul.menu > li:nth-child(4) > a::after,
.main-navigation ul.nav-menu > li:nth-child(4) > a::after {
  animation-delay: -1.8s;
}

.portal-cooling-deck__tube {
  border-color: rgba(186, 230, 253, .34);
  border-width: 12px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, .48),
    inset 0 0 10px rgba(224, 242, 254, .45),
    0 0 0 2px rgba(125, 211, 252, .2),
    0 0 14px rgba(34, 211, 238, .32);
  height: 40px;
}

.portal-cooling-deck__tube--bottom {
  border-bottom-color: rgba(216, 180, 254, .38);
  border-bottom-width: 12px;
}

.portal-cooling-deck__tube i {
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(103,232,249,.96) 35%, rgba(8,145,178,.88) 68%, rgba(192,132,252,.9));
  border: 1px solid rgba(255,255,255,.72);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.72),
    0 0 8px rgba(103,232,249,.88);
  height: 7px;
  top: -10px;
  width: 22%;
}

.portal-cooling-deck__tube--bottom i {
  bottom: -10px;
}

.portal-cooling-deck__tube::before {
  border: 2px solid rgba(255,255,255,.42);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  content: "";
  inset: -10px -10px auto;
  height: 25px;
  pointer-events: none;
  position: absolute;
}

.portal-cooling-deck__tube--bottom::before {
  border: 2px solid rgba(255,255,255,.38);
  border-radius: 0 0 16px 16px;
  border-top: 0;
  bottom: -10px;
  top: auto;
}

.portal-cooling-deck__pump {
  border-width: 5px;
  box-shadow:
    inset 0 0 18px rgba(34, 211, 238, .35),
    0 0 22px rgba(34, 211, 238, .34),
    0 0 34px rgba(168, 85, 247, .15);
}

.portal-cooling-deck__fans span {
  border-width: 6px;
}

@keyframes portal-tab-water-flow {
  to { --portal-pipe-angle: 360deg; }
}

@keyframes portal-tab-bubble-run {
  0% { left: 4px; opacity: .2; transform: scale(.65); }
  45% { opacity: 1; transform: scale(1.18); }
  100% { left: calc(100% - 9px); opacity: .2; transform: scale(.65); }
}

@media (max-width: 768px) {
  .main-navigation ul.menu > li > a,
  .main-navigation ul.nav-menu > li > a {
    border-width: 6px !important;
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-navigation ul.menu > li > a,
  .main-navigation ul.nav-menu > li > a {
    animation-duration: 5s, 12s;
  }

  .main-navigation ul.menu > li > a::after,
  .main-navigation ul.nav-menu > li > a::after {
    animation-duration: 4s;
  }
}

.portal-ai {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 9997;
  font-family: inherit;
}

.portal-ai__launcher {
  display: flex;
  align-items: center;
  gap: .55rem;
  border: 1px solid rgba(103, 232, 249, .65);
  border-radius: 999px;
  padding: .7rem 1rem;
  color: #f8fafc;
  background: linear-gradient(115deg, #10294c, #40146b 48%, #083d56);
  background-size: 220% 220%;
  box-shadow: 0 0 28px rgba(34, 211, 238, .22), 0 12px 30px rgba(0, 0, 0, .4);
  animation: portal-ai-rgb 7s ease infinite;
}

.portal-ai__chip {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: .65rem;
  font-size: .72rem;
  font-weight: 900;
  color: #07101f;
  background: linear-gradient(135deg, #67e8f9, #c084fc, #fb7185);
}

.portal-ai__pulse {
  position: absolute;
  width: .58rem;
  height: .58rem;
  right: .2rem;
  top: .05rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74, 222, 128, .14), 0 0 16px #4ade80;
}

.portal-ai__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + .8rem);
  width: min(390px, calc(100vw - 2rem));
  max-height: min(660px, calc(100vh - 7rem));
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, .42);
  border-radius: 20px;
  color: #dbeafe;
  background:
    linear-gradient(rgba(6, 12, 27, .96), rgba(7, 14, 30, .98)) padding-box,
    linear-gradient(135deg, #22d3ee, #a855f7, #fb7185) border-box;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .55), 0 0 35px rgba(168, 85, 247, .16);
}

.portal-ai__header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  background: linear-gradient(100deg, rgba(8, 145, 178, .22), rgba(126, 34, 206, .25));
  border-bottom: 1px solid rgba(103, 232, 249, .2);
}

.portal-ai__header div { display: grid; line-height: 1.2; }
.portal-ai__header strong { color: #fff; letter-spacing: .14em; }
.portal-ai__header span { color: #9fb4cd; font-size: .78rem; }
.portal-ai__header button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font-size: 1.6rem;
}

.portal-ai__avatar {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid #67e8f9;
  border-radius: 12px;
  color: #67e8f9 !important;
  font-size: 1.65rem !important;
  box-shadow: inset 0 0 14px rgba(34, 211, 238, .18), 0 0 16px rgba(34, 211, 238, .15);
}

.portal-ai__messages {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-height: 220px;
  max-height: 330px;
  overflow-y: auto;
  padding: 1rem;
}

.portal-ai__message {
  max-width: 88%;
  padding: .72rem .85rem;
  border-radius: 14px 14px 14px 4px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #dbeafe;
  background: rgba(20, 38, 68, .94);
  border: 1px solid rgba(96, 165, 250, .2);
}

.portal-ai__message--user {
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
  background: linear-gradient(135deg, rgba(8, 145, 178, .58), rgba(126, 34, 206, .58));
  border-color: rgba(103, 232, 249, .34);
}

.portal-ai__message--thinking { color: #a5f3fc; animation: portal-ai-blink 1.15s ease-in-out infinite; }
.portal-ai__message--error { border-color: rgba(251, 113, 133, .5); color: #fecdd3; }

.portal-ai__quick {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  padding: 0 1rem .75rem;
}

.portal-ai__quick button {
  flex: 0 0 auto;
  padding: .45rem .6rem;
  border: 1px solid rgba(192, 132, 252, .3);
  border-radius: 999px;
  color: #d8b4fe;
  background: rgba(88, 28, 135, .18);
  font-size: .75rem;
}

.portal-ai__form {
  display: flex;
  gap: .55rem;
  padding: .8rem 1rem;
  border-top: 1px solid rgba(96, 165, 250, .16);
}

.portal-ai__form input {
  min-width: 0;
  flex: 1;
  margin: 0;
}

.portal-ai__form button {
  width: 2.8rem;
  border: 0;
  border-radius: 10px;
  color: #07101f;
  background: linear-gradient(135deg, #67e8f9, #c084fc);
}

.portal-ai__panel > small {
  display: block;
  padding: 0 1rem .8rem;
  color: #7890aa;
  font-size: .68rem;
}

@keyframes portal-ai-rgb {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes portal-ai-blink {
  50% { opacity: .52; }
}

@media (max-width: 520px) {
  .portal-ai {
    right: .7rem;
    bottom: .7rem;
  }
  .portal-ai__launcher > span:last-child { display: none; }
  .portal-ai__panel {
    position: fixed;
    left: .7rem;
    right: .7rem;
    bottom: 4.8rem;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-ai__launcher,
  .portal-ai__message--thinking {
    animation: none;
  }
}

/* Animated hardware overlay for the original PortalPC cyber-lab artwork. */
.portal-hero .portal-hero-fx {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.portal-hero-fx__fan {
  animation: portal-fan-spin 1.1s linear infinite, portal-fan-rgb 7s linear infinite;
  background:
    radial-gradient(circle, transparent 0 23%, rgba(5, 10, 22, .92) 24% 31%, transparent 32%),
    repeating-conic-gradient(from 0deg, rgba(103, 232, 249, .9) 0 11deg, rgba(168, 85, 247, .18) 12deg 39deg);
  border: 2px solid rgba(103, 232, 249, .7);
  border-radius: 50%;
  box-shadow: inset 0 0 12px rgba(103, 232, 249, .75), 0 0 13px rgba(34, 211, 238, .8);
  height: clamp(24px, 3.1vw, 48px);
  opacity: .8;
  position: absolute;
  width: clamp(24px, 3.1vw, 48px);
}

.portal-hero-fx__fan--rear { left: 66.7%; top: 40.5%; }
.portal-hero-fx__fan--top { left: 74.1%; top: 39.6%; animation-direction: reverse, normal; }
.portal-hero-fx__fan--front-one { left: 79.7%; top: 38.8%; }
.portal-hero-fx__fan--front-two { left: 79.7%; top: 48.7%; animation-direction: reverse, normal; }

.portal-hero-fx__cooler {
  animation: portal-cooler-pulse 2.2s ease-in-out infinite, portal-fan-rgb 7s linear infinite;
  background: radial-gradient(circle, rgba(5, 10, 22, .92) 0 34%, rgba(103, 232, 249, .8) 36% 43%, transparent 45%);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(34, 211, 238, .85);
  height: clamp(26px, 3.5vw, 52px);
  left: 70.7%;
  opacity: .86;
  position: absolute;
  top: 43.2%;
  width: clamp(26px, 3.5vw, 52px);
}

.portal-hero-fx__pipe {
  animation: portal-coolant-rush 2.4s ease-in-out infinite;
  border: 2px solid rgba(34, 211, 238, .7);
  border-left-color: transparent;
  border-radius: 50%;
  filter: drop-shadow(0 0 5px rgba(34, 211, 238, .9));
  height: clamp(22px, 2.6vw, 40px);
  left: 72.2%;
  position: absolute;
  top: 43%;
  transform: rotate(-18deg);
  width: clamp(48px, 5.5vw, 88px);
}

.portal-hero-fx__pipe--two {
  animation-delay: -1.2s;
  border-color: rgba(168, 85, 247, .7);
  border-right-color: transparent;
  filter: drop-shadow(0 0 5px rgba(168, 85, 247, .9));
  top: 47%;
  transform: rotate(10deg);
}

.portal-hero-fx__flow {
  animation: portal-flow-scan 2.1s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, .95), rgba(192, 132, 252, .9), transparent);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(34, 211, 238, .9);
  height: 3px;
  left: 69%;
  opacity: .85;
  position: absolute;
  top: 52.6%;
  width: 13%;
}

@keyframes portal-fan-spin {
  to { transform: rotate(360deg); }
}

@keyframes portal-fan-rgb {
  0% { filter: hue-rotate(0deg) saturate(1.2); }
  100% { filter: hue-rotate(360deg) saturate(1.35); }
}

@keyframes portal-cooler-pulse {
  0%, 100% { opacity: .68; transform: scale(.92); }
  50% { opacity: .96; transform: scale(1.08); }
}

@keyframes portal-coolant-rush {
  0%, 100% { opacity: .38; }
  50% { opacity: 1; }
}

@keyframes portal-flow-scan {
  0%, 100% { opacity: .35; transform: translateX(-12%) scaleX(.55); }
  50% { opacity: 1; transform: translateX(12%) scaleX(1); }
}

@media (max-width: 780px) {
  .portal-hero-fx__fan,
  .portal-hero-fx__cooler,
  .portal-hero-fx__pipe,
  .portal-hero-fx__flow {
    opacity: .42;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-hero-fx__fan {
    animation: portal-fan-spin 2.4s linear infinite, portal-fan-rgb 10s linear infinite;
  }

  .portal-hero-fx__cooler {
    animation: portal-cooler-pulse 3.4s ease-in-out infinite, portal-fan-rgb 10s linear infinite;
  }

  .portal-hero-fx__pipe,
  .portal-hero-fx__flow {
    animation-duration: 4s;
  }
}

/* v2.3 — immersive view from inside the PortalPC cooling loop. */
.home.portal-pc-immersive {
  background: #020611;
  color: #dbeafe;
  isolation: isolate;
}

.home.portal-pc-immersive::after {
  background:
    linear-gradient(rgba(1, 5, 15, .76), rgba(2, 6, 19, .87)),
    url("assets/images/portalpc-inside-pc-spinning-v8.png") center top / cover fixed;
  content: "";
  filter: saturate(1.12);
  inset: 0;
  opacity: .52;
  pointer-events: none;
  position: fixed;
  z-index: -3;
}

.home.portal-pc-immersive .site-header {
  backdrop-filter: blur(18px) saturate(1.35);
  background:
    linear-gradient(180deg, rgba(2, 7, 20, .9), rgba(4, 12, 29, .76)),
    linear-gradient(90deg, rgba(34, 211, 238, .05), rgba(192, 132, 252, .08));
  border-bottom: 10px solid transparent;
  border-image: linear-gradient(90deg, #0891b2, #a5f3fc, #8b5cf6, #ec4899, #22d3ee) 1;
  box-shadow:
    inset 0 -3px 0 rgba(255, 255, 255, .32),
    0 0 24px rgba(34, 211, 238, .34),
    0 20px 55px rgba(0, 0, 0, .46);
  position: relative;
  z-index: 20;
}

.home.portal-pc-immersive .site-header::after {
  animation: portal-header-coolant 4.6s linear infinite;
  background:
    linear-gradient(90deg, transparent 0 4%, #e0f2fe 8%, #67e8f9 13%, transparent 18% 100%);
  bottom: -8px;
  box-shadow: 0 0 11px rgba(103, 232, 249, .9);
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  width: 28%;
}

.home.portal-pc-immersive .portal-cooling-deck,
.home.portal-pc-immersive .portal-nav-feed,
.home.portal-pc-immersive .portal-page-cooling,
.home.portal-pc-immersive .portal-hero-fx {
  display: none !important;
}

.home.portal-pc-immersive .site-content {
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.home.portal-pc-immersive .entry-content {
  color: #dbeafe;
  isolation: isolate;
  padding-bottom: 4rem;
  position: relative;
}

.home.portal-pc-immersive .portal-hero {
  align-items: center;
  background: #030817;
  border: 1px solid rgba(186, 230, 253, .46);
  border-radius: 28px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, .08),
    inset 0 0 80px rgba(34, 211, 238, .08),
    0 36px 90px rgba(0, 0, 0, .64),
    0 0 36px rgba(139, 92, 246, .16);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 2rem 0 4.5rem;
  min-height: clamp(610px, 68vw, 800px);
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.8rem);
  position: relative;
}

.home.portal-pc-immersive .portal-hero::before {
  animation: portal-inside-pc-rgb 16s ease-in-out infinite alternate;
  background:
    linear-gradient(90deg, rgba(2, 6, 18, .96) 0%, rgba(3, 8, 23, .9) 28%, rgba(3, 8, 23, .5) 48%, rgba(2, 6, 18, .08) 72%),
    url("assets/images/portalpc-inside-pc-animated-v18.webp") center / cover no-repeat;
  filter: saturate(1.14) contrast(1.03);
  inset: 0;
  opacity: 1;
  transform: none;
  z-index: 0;
}

.home.portal-pc-immersive .portal-hero::after {
  animation: portal-hero-coolant-flow 5.4s linear infinite;
  background:
    linear-gradient(90deg, #0891b2, #67e8f9 12%, #e0f2fe 18%, #8b5cf6 37%, #ec4899 58%, #67e8f9 78%, #0891b2);
  background-size: 220% 100%;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  bottom: 13px;
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, .58),
    0 0 17px rgba(34, 211, 238, .72);
  height: 12px;
  left: 4%;
  right: 4%;
}

.home.portal-pc-immersive .portal-hero > div:first-child {
  backdrop-filter: blur(10px) saturate(1.25);
  background:
    linear-gradient(115deg, rgba(4, 10, 25, .84), rgba(5, 13, 31, .47));
  border: 1px solid rgba(103, 232, 249, .24);
  border-left: 4px solid #22d3ee;
  border-radius: 22px;
  box-shadow:
    inset 0 0 25px rgba(34, 211, 238, .06),
    0 22px 54px rgba(0, 0, 0, .38);
  max-width: 650px;
  padding: clamp(1.35rem, 3vw, 2.4rem);
}

.home.portal-pc-immersive .portal-hero h1 {
  font-size: clamp(2.45rem, 5.2vw, 5.1rem);
  max-width: 650px;
  text-shadow: 0 3px 24px rgba(0, 0, 0, .85);
}

.home.portal-pc-immersive .portal-hero p {
  color: #dbeafe;
  max-width: 590px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .9);
}

.home.portal-pc-immersive .portal-hero__badge {
  backdrop-filter: blur(8px);
  background: rgba(4, 18, 39, .7);
  border: 1px solid rgba(165, 243, 252, .6);
  box-shadow: inset 0 0 12px rgba(34, 211, 238, .16);
}

.home.portal-pc-immersive .portal-hero__visual {
  display: none;
}

.portal-immersion-hud {
  align-items: center;
  backdrop-filter: blur(15px);
  background: linear-gradient(105deg, rgba(4, 13, 31, .86), rgba(27, 12, 49, .76));
  border: 1px solid rgba(165, 243, 252, .5);
  border-radius: 15px;
  bottom: 44px;
  box-shadow: inset 0 0 16px rgba(103, 232, 249, .08), 0 12px 28px rgba(0, 0, 0, .36);
  display: flex;
  gap: 1.15rem;
  padding: .7rem 1rem;
  position: absolute !important;
  right: 3%;
  z-index: 4 !important;
}

.portal-immersion-hud__signal {
  color: #a5f3fc;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .14em;
}

.portal-immersion-hud__signal i {
  animation: portal-status-pulse 1.5s ease-in-out infinite;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 12px #4ade80;
  display: inline-block;
  height: 7px;
  margin-right: .35rem;
  width: 7px;
}

.portal-immersion-hud__metric {
  color: #94a3b8;
  font-size: .55rem;
  letter-spacing: .08em;
}

.portal-immersion-hud__metric strong {
  color: #f8fafc;
  font-size: .76rem;
  margin-right: .2rem;
}

.home.portal-pc-immersive .portal-section-title {
  color: #f8fafc;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .75);
}

.home.portal-pc-immersive .portal-kicker,
.home.portal-pc-immersive .portal-section-heading > a {
  color: #67e8f9;
}

.home.portal-pc-immersive .portal-categories,
.home.portal-pc-immersive .portal-benefits,
.home.portal-pc-immersive .portal-products,
.home.portal-pc-immersive .portal-sponsor-grid,
.home.portal-pc-immersive .portal-sponsor--wide {
  position: relative;
  z-index: 2;
}

.home.portal-pc-immersive .portal-card,
.home.portal-pc-immersive .portal-benefit,
.home.portal-pc-immersive .portal-products,
.home.portal-pc-immersive .portal-sponsor {
  backdrop-filter: blur(17px) saturate(1.28);
  background:
    linear-gradient(145deg, rgba(6, 16, 37, .88), rgba(22, 11, 44, .76));
  border: 1px solid rgba(103, 232, 249, .32);
  box-shadow:
    inset 0 0 24px rgba(34, 211, 238, .05),
    0 18px 45px rgba(0, 0, 0, .38);
  color: #cbd5e1;
}

.home.portal-pc-immersive .portal-card {
  border-bottom: 8px solid transparent;
  border-image: linear-gradient(90deg, #22d3ee, #8b5cf6, #ec4899) 1;
  min-height: 180px;
  overflow: hidden;
  position: relative;
}

.home.portal-pc-immersive .portal-card::before,
.home.portal-pc-immersive .portal-benefit::before {
  background: linear-gradient(90deg, rgba(255,255,255,.8), #67e8f9, #c084fc, transparent);
  box-shadow: 0 0 10px rgba(103, 232, 249, .7);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  top: 0;
  width: 38%;
}

.home.portal-pc-immersive .portal-card:hover {
  border-color: rgba(224, 242, 254, .72);
  box-shadow:
    inset 0 0 26px rgba(34, 211, 238, .14),
    0 18px 42px rgba(34, 211, 238, .18);
}

.home.portal-pc-immersive .portal-card strong,
.home.portal-pc-immersive .portal-benefit strong,
.home.portal-pc-immersive .portal-sponsor strong {
  color: #f8fafc;
}

.home.portal-pc-immersive .portal-card span:last-child,
.home.portal-pc-immersive .portal-benefit span,
.home.portal-pc-immersive .portal-sponsor div span {
  color: #aebed3;
}

.home.portal-pc-immersive .portal-card__icon {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(13, 34, 65, .95), rgba(39, 14, 65, .88));
  border: 1px solid rgba(103, 232, 249, .5);
  border-radius: 10px;
  box-shadow: inset 0 0 12px rgba(34, 211, 238, .18), 0 0 16px rgba(168, 85, 247, .2);
  color: #67e8f9;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.home.portal-pc-immersive .portal-benefit {
  overflow: hidden;
  position: relative;
}

.home.portal-pc-immersive .portal-products {
  border-radius: 24px;
  margin-top: 4rem;
  padding: clamp(1.25rem, 3vw, 2.4rem);
}

.home.portal-pc-immersive .portal-products--deals {
  border-color: rgba(236, 72, 153, .46);
}

.home.portal-pc-immersive .portal-products ul.products li.product {
  background: rgba(5, 13, 30, .9);
  border-color: rgba(103, 232, 249, .28);
  color: #cbd5e1;
}

.home.portal-pc-immersive .portal-products ul.products li.product h2,
.home.portal-pc-immersive .portal-products ul.products li.product .woocommerce-loop-product__title {
  color: #f8fafc;
}

.home.portal-pc-immersive .portal-sponsor {
  border-style: solid;
}

.portal-coolant-spine {
  background:
    linear-gradient(90deg, rgba(255,255,255,.46), transparent 23% 70%, rgba(255,255,255,.26)),
    linear-gradient(180deg, rgba(34,211,238,.4), rgba(139,92,246,.42), rgba(236,72,153,.4));
  border: 2px solid rgba(186, 230, 253, .52);
  border-radius: 999px;
  bottom: 1rem;
  box-shadow:
    inset 0 0 8px rgba(224, 242, 254, .54),
    0 0 15px rgba(34, 211, 238, .34);
  pointer-events: none;
  position: absolute;
  right: -28px;
  top: 520px;
  width: 16px;
  z-index: 1;
}

.portal-coolant-spine i {
  animation: portal-spine-flow 7s linear infinite;
  background: #e0f2fe;
  border-radius: 50%;
  box-shadow: 0 0 8px 3px rgba(103, 232, 249, .86), 0 0 16px rgba(192, 132, 252, .75);
  height: 7px;
  left: 2px;
  position: absolute;
  top: 0;
  width: 7px;
}

.portal-coolant-spine i:nth-child(2) {
  animation-delay: -2.3s;
}

.portal-coolant-spine i:nth-child(3) {
  animation-delay: -4.6s;
}

@keyframes portal-header-coolant {
  from { transform: translateX(-35%); }
  to { transform: translateX(420%); }
}

@keyframes portal-hero-coolant-flow {
  to { background-position: -220% 0; }
}

@keyframes portal-inside-pc-rgb {
  0% { filter: hue-rotate(-9deg) saturate(1.1) contrast(1.03); }
  50% { filter: hue-rotate(18deg) saturate(1.24) contrast(1.06); }
  100% { filter: hue-rotate(48deg) saturate(1.15) contrast(1.04); }
}

@keyframes portal-status-pulse {
  0%, 100% { opacity: .5; transform: scale(.78); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes portal-spine-flow {
  from { top: 0; }
  to { top: calc(100% - 10px); }
}

@media (max-width: 900px) {
  .home.portal-pc-immersive .portal-hero {
    min-height: 650px;
  }

  .home.portal-pc-immersive .portal-hero::before {
    background:
      linear-gradient(90deg, rgba(2, 6, 18, .96), rgba(2, 6, 18, .68) 58%, rgba(2, 6, 18, .22)),
      url("assets/images/portalpc-inside-pc-animated-v18.webp") 56% center / cover no-repeat;
  }

  .portal-immersion-hud {
    bottom: 38px;
    left: 6%;
    right: auto;
  }

  .portal-coolant-spine {
    display: none;
  }
}

@media (max-width: 620px) {
  .home.portal-pc-immersive .portal-hero {
    border-radius: 18px;
    min-height: 690px;
    padding: 1rem;
  }

  .home.portal-pc-immersive .portal-hero > div:first-child {
    margin-top: auto;
  }

  .home.portal-pc-immersive .portal-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  .portal-immersion-hud {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home.portal-pc-immersive .portal-hero::before {
    animation: none;
    background:
      linear-gradient(90deg, rgba(2, 6, 18, .96), rgba(3, 8, 23, .5) 52%, rgba(2, 6, 18, .1)),
      url("assets/images/portalpc-inside-pc-animated-v18.webp") center / cover no-repeat;
  }

  .home.portal-pc-immersive .site-header::after,
  .home.portal-pc-immersive .portal-hero::after,
  .portal-immersion-hud__signal i,
  .portal-coolant-spine i {
    animation: none;
  }
}
