:root {
  --portal-ink: #241a1b;
  --portal-muted: #746764;
  --portal-pink: #e84767;
  --portal-pink-deep: #d9365a;
  --portal-gold: #bd8b43;
  --portal-gold-soft: #e5c994;
  --portal-ivory: #fffdf9;
  --portal-pearl: #f8f2eb;
  --portal-line: rgba(177, 128, 65, 0.23);
  --portal-serif: "Bodoni MT", Didot, "Times New Roman", Georgia, serif;
  --portal-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html.gigi-portal-document {
  background: var(--portal-ivory);
}

body.gigi-portal-mode {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--portal-ivory);
  color: var(--portal-ink);
  font-family: var(--portal-sans);
  -webkit-font-smoothing: antialiased;
}

body.gigi-portal-mode #app {
  min-height: 100vh;
  padding: 0;
}

body.gigi-portal-mode * {
  box-sizing: border-box;
}

body.gigi-portal-mode a:focus-visible,
body.gigi-portal-mode button:focus-visible {
  outline: 3px solid rgba(232, 71, 103, 0.28);
  outline-offset: 4px;
}

.gigi-portal-page {
  min-height: 100vh;
  background: radial-gradient(circle at 92% 8%, rgba(232, 71, 103, 0.08), transparent 24%), var(--portal-ivory);
}

.gigi-portal-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 11px clamp(24px, 5vw, 78px);
  border-bottom: 1px solid var(--portal-line);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(16px);
}

.gigi-portal-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--portal-ink);
  text-decoration: none;
}

.gigi-portal-brand > span {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(189, 139, 67, 0.48);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 22px rgba(79, 48, 39, 0.08);
}

.gigi-portal-brand img {
  width: 67px;
  height: 67px;
  object-fit: contain;
}

.gigi-portal-brand > div {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 8px;
}

.gigi-portal-brand b {
  color: var(--portal-pink);
  font-family: var(--portal-serif);
  font-size: 34px;
  font-weight: 400;
}

.gigi-portal-brand small {
  font-family: var(--portal-serif);
  font-size: 20px;
}

.gigi-portal-brand strong {
  grid-column: 1 / -1;
  color: var(--portal-gold);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gigi-portal-header-actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 38px);
}

.gigi-portal-system {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #aa4352;
  font-size: 12px;
  font-weight: 700;
}

.gigi-portal-system i,
.gigi-portal-pulse-items article > i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d9556c;
  box-shadow: 0 0 0 5px rgba(217, 85, 108, 0.11);
}

.gigi-portal-system.online {
  color: #26765b;
}

.gigi-portal-system.online i,
.gigi-portal-pulse-items article > i.online {
  background: #36a778;
  box-shadow: 0 0 0 5px rgba(54, 167, 120, 0.12);
}

.gigi-portal-clock {
  display: grid;
  gap: 3px;
  text-align: right;
}

.gigi-portal-clock b {
  color: var(--portal-muted);
  font-size: 10px;
}

.gigi-portal-clock strong {
  color: var(--portal-pink);
  font-family: var(--portal-serif);
  font-size: 23px;
  font-weight: 400;
}

.gigi-portal-site-link {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 19px;
  border: 1px solid rgba(189, 139, 67, 0.48);
  border-radius: 3px;
  background: #fff;
  color: #8d652f;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.gigi-portal-site-link:hover {
  border-color: var(--portal-gold);
  box-shadow: 0 10px 24px rgba(82, 52, 39, 0.08);
}

.gigi-portal-hero {
  position: relative;
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.72fr);
  align-items: center;
  gap: clamp(45px, 7vw, 110px);
  padding: 66px clamp(28px, 7vw, 112px) 82px;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(115deg, rgba(255, 253, 249, 0.98), rgba(255, 247, 244, 0.93));
}

.gigi-portal-hero-photo {
  position: absolute;
  z-index: -3;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  background: linear-gradient(90deg, #fffaf5 0%, rgba(255, 250, 245, 0.56) 23%, transparent 53%), url("../GiGi%20Lash%20%26%20Nail/assets/hero-luxury.png") 68% center / cover no-repeat;
  opacity: 0.36;
}

.gigi-portal-hero-glow {
  position: absolute;
  z-index: -2;
  top: -280px;
  left: -210px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(189, 139, 67, 0.14);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 71, 103, 0.05), transparent 66%);
}

.gigi-portal-hero-copy {
  max-width: 780px;
}

.gigi-portal-hero-copy > p:first-child,
.gigi-portal-section-heading p,
.gigi-portal-pulse-copy > p {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 17px;
  color: var(--portal-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.gigi-portal-hero-copy > p:first-child span {
  font-size: 20px;
}

.gigi-portal-hero h1 {
  margin: 0;
  font-family: var(--portal-serif);
  font-size: clamp(52px, 5.4vw, 82px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.gigi-portal-hero h1 em {
  color: var(--portal-pink);
  font-style: normal;
}

.gigi-portal-hero-rule {
  width: min(410px, 80%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 25px 0 21px;
  color: var(--portal-gold);
}

.gigi-portal-hero-rule i {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--portal-gold));
}

.gigi-portal-hero-rule i:last-child {
  background: linear-gradient(90deg, var(--portal-gold), transparent);
}

.gigi-portal-hero-rule b {
  font-size: 12px;
}

.gigi-portal-hero-lead {
  max-width: 590px;
  margin: 0;
  color: var(--portal-muted);
  font-size: 16px;
  line-height: 1.7;
}

.gigi-portal-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

.gigi-portal-hero-buttons a {
  min-height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  border: 1px solid rgba(189, 139, 67, 0.5);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.78);
  color: #95692f;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gigi-portal-hero-buttons a.primary {
  border-color: var(--portal-pink);
  background: linear-gradient(135deg, #ef5271, #d9365a);
  box-shadow: 0 13px 30px rgba(217, 54, 90, 0.18);
  color: #fff;
}

.gigi-portal-hero-buttons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 34px rgba(68, 41, 34, 0.12);
}

.gigi-portal-today {
  position: relative;
  z-index: 2;
  padding: 26px;
  border: 1px solid rgba(189, 139, 67, 0.28);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 28px 75px rgba(69, 42, 35, 0.14);
  backdrop-filter: blur(15px);
}

.gigi-portal-today > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 19px;
}

.gigi-portal-today header small {
  color: var(--portal-gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.gigi-portal-today h2 {
  margin: 4px 0 0;
  font-family: var(--portal-serif);
  font-size: 29px;
  font-weight: 400;
}

.gigi-portal-today > header > span {
  padding: 6px 10px;
  border-radius: 20px;
  background: #fff0f2;
  color: #b54f60;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gigi-portal-today > header > span.online {
  background: #e8f7ef;
  color: #26765b;
}

.gigi-portal-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gigi-portal-stat-grid article {
  position: relative;
  min-height: 103px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(189, 139, 67, 0.1);
  border-radius: 6px;
  background: linear-gradient(145deg, #fff8f5, #fff);
  overflow: hidden;
}

.gigi-portal-stat-grid small {
  color: var(--portal-muted);
  font-size: 10px;
  font-weight: 650;
}

.gigi-portal-stat-grid b {
  color: var(--portal-pink);
  font-family: var(--portal-serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.gigi-portal-stat-grid i {
  position: absolute;
  right: 13px;
  bottom: 12px;
  color: rgba(189, 139, 67, 0.3);
  font-size: 21px;
  font-style: normal;
}

.gigi-portal-total {
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 17px;
  border-radius: 5px;
  background: #2b2221;
  color: #fff;
}

.gigi-portal-total span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.gigi-portal-total b {
  color: #f3c7d0;
  font-family: var(--portal-serif);
  font-size: 27px;
  font-weight: 400;
}

.gigi-portal-today > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  color: #8b7e79;
  font-size: 10px;
}

.gigi-portal-today button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--portal-pink-deep);
  font-size: 10px;
  font-weight: 750;
}

.gigi-portal-today button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.gigi-portal-workspaces {
  padding: 76px clamp(28px, 5vw, 78px) 88px;
  border-top: 1px solid rgba(189, 139, 67, 0.15);
  background: linear-gradient(180deg, #fff, #fbf7f1);
}

.gigi-portal-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 38px;
  margin-bottom: 29px;
}

.gigi-portal-section-heading p {
  margin-bottom: 8px;
}

.gigi-portal-section-heading h2,
.gigi-portal-pulse-copy h2 {
  margin: 0;
  font-family: var(--portal-serif);
  font-size: clamp(38px, 3.5vw, 54px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.gigi-portal-section-heading > span {
  max-width: 470px;
  padding-bottom: 6px;
  color: var(--portal-muted);
  font-size: 13px;
  line-height: 1.6;
}

.gigi-portal-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.gigi-portal-card {
  position: relative;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid rgba(189, 139, 67, 0.2);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 42px rgba(66, 39, 32, 0.07);
  color: var(--portal-ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gigi-portal-card::after {
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(232, 71, 103, 0.12);
  border-radius: 50%;
  content: "";
}

.gigi-portal-card:hover {
  border-color: rgba(232, 71, 103, 0.48);
  box-shadow: 0 22px 55px rgba(72, 42, 35, 0.13);
  transform: translateY(-7px);
}

.gigi-portal-card-number {
  position: absolute;
  top: 21px;
  right: 21px;
  color: rgba(189, 139, 67, 0.62);
  font-family: var(--portal-serif);
  font-size: 18px;
}

.gigi-portal-card > i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #fff0f2;
  color: var(--portal-pink-deep);
  font-size: 22px;
  font-style: normal;
}

.gigi-portal-card > small {
  color: var(--portal-gold);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gigi-portal-card h3 {
  margin: 7px 0 10px;
  font-family: var(--portal-serif);
  font-size: clamp(25px, 2vw, 31px);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.gigi-portal-card p {
  margin: 0;
  color: var(--portal-muted);
  font-size: 12px;
  line-height: 1.6;
}

.gigi-portal-card > b {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--portal-pink-deep);
  font-size: 11px;
}

.gigi-portal-card > b span {
  font-size: 17px;
  transition: transform 0.2s ease;
}

.gigi-portal-card:hover > b span {
  transform: translateX(5px);
}

.gigi-portal-pulse {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: clamp(45px, 8vw, 120px);
  padding: 67px clamp(28px, 7vw, 112px);
  border-top: 1px solid var(--portal-line);
  border-bottom: 1px solid var(--portal-line);
  background: radial-gradient(circle at 10% 70%, rgba(232, 71, 103, 0.07), transparent 28%), #fffaf5;
}

.gigi-portal-pulse-copy > p {
  margin-bottom: 8px;
}

.gigi-portal-pulse-copy > span {
  display: block;
  max-width: 490px;
  margin-top: 12px;
  color: var(--portal-muted);
  font-size: 13px;
  line-height: 1.6;
}

.gigi-portal-pulse-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.gigi-portal-pulse-items article {
  min-width: 0;
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 94px;
  padding: 17px;
  border: 1px solid rgba(189, 139, 67, 0.19);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88);
}

.gigi-portal-pulse-items article.future > i {
  background: var(--portal-gold-soft);
  box-shadow: 0 0 0 5px rgba(189, 139, 67, 0.1);
}

.gigi-portal-pulse-items small {
  display: block;
  margin-bottom: 5px;
  color: var(--portal-muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gigi-portal-pulse-items b {
  display: block;
  overflow: hidden;
  font-family: var(--portal-serif);
  font-size: 19px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gigi-portal-footer {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 19px clamp(28px, 5vw, 78px);
  background: #2a2221;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.gigi-portal-footer nav {
  display: flex;
  gap: 25px;
}

.gigi-portal-footer a {
  color: #e4c28d;
  text-decoration: none;
}

.gigi-portal-footer a:hover {
  color: #fff;
}

@media (max-width: 1150px) {
  .gigi-portal-brand small {
    display: none;
  }

  .gigi-portal-hero {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.72fr);
    gap: 40px;
  }

  .gigi-portal-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gigi-portal-pulse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .gigi-portal-header {
    min-height: 86px;
  }

  .gigi-portal-brand > span {
    width: 60px;
    height: 60px;
  }

  .gigi-portal-brand img {
    width: 55px;
    height: 55px;
  }

  .gigi-portal-brand b {
    font-size: 29px;
  }

  .gigi-portal-system span,
  .gigi-portal-clock b {
    display: none;
  }

  .gigi-portal-site-link {
    min-height: 42px;
    padding: 0 14px;
  }

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

  .gigi-portal-hero-photo {
    width: 100%;
    opacity: 0.2;
  }

  .gigi-portal-today {
    max-width: 650px;
  }

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

  .gigi-portal-pulse-items {
    grid-template-columns: 1fr 1fr;
  }

  .gigi-portal-pulse-items article.future {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .gigi-portal-header {
    padding-inline: 16px;
  }

  .gigi-portal-brand {
    gap: 9px;
  }

  .gigi-portal-brand > span {
    width: 52px;
    height: 52px;
  }

  .gigi-portal-brand img {
    width: 48px;
    height: 48px;
  }

  .gigi-portal-brand b {
    font-size: 25px;
  }

  .gigi-portal-brand strong {
    font-size: 8px;
  }

  .gigi-portal-clock,
  .gigi-portal-system {
    display: none;
  }

  .gigi-portal-site-link {
    font-size: 10px;
  }

  .gigi-portal-hero {
    padding: 55px 18px 65px;
  }

  .gigi-portal-hero h1 {
    font-size: clamp(48px, 14vw, 64px);
  }

  .gigi-portal-hero-buttons {
    display: grid;
  }

  .gigi-portal-hero-buttons a {
    width: 100%;
  }

  .gigi-portal-today {
    padding: 19px;
  }

  .gigi-portal-workspaces {
    padding: 64px 18px 70px;
  }

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

  .gigi-portal-card {
    min-height: 265px;
  }

  .gigi-portal-pulse {
    padding: 56px 18px;
  }

  .gigi-portal-pulse-items {
    grid-template-columns: 1fr;
  }

  .gigi-portal-pulse-items article.future {
    grid-column: auto;
  }

  .gigi-portal-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 18px;
  }
}

@media (max-width: 400px) {
  .gigi-portal-stat-grid {
    grid-template-columns: 1fr;
  }

  .gigi-portal-site-link span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gigi-portal-card,
  .gigi-portal-card > b span,
  .gigi-portal-hero-buttons a {
    transition: none;
  }
}
