@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,500&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --gold: #d4af37;
  --gold-light: #f5e6b8;
  --gold-dark: #8b6914;
  --navy-deep: #020617;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body.portal-luxury-page {
  margin: 0;
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  color: #fff;
  display: grid;
  place-items: center;
  padding: 28px 18px;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(212, 175, 55, 0.24), transparent 58%),
    radial-gradient(ellipse 60% 45% at 10% 90%, rgba(212, 175, 55, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 40% at 90% 20%, rgba(56, 132, 196, 0.16), transparent 50%),
    linear-gradient(165deg, #020617 0%, #071428 32%, #0c2340 58%, #040b14 100%);
  overflow: hidden;
}

body.portal-luxury-page::before {
  content: '';
  position: fixed;
  width: 520px;
  height: 520px;
  top: -140px;
  left: -100px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.32);
  filter: blur(90px);
  animation: portalOrb 14s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

body.portal-luxury-page::after {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background:
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(147, 197, 253, 0.04) 40px 41px),
    radial-gradient(ellipse 80% 100% at 50% 100%, rgba(56, 132, 196, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@keyframes portalOrb {
  from { transform: translate(0, 0) scale(1); opacity: 0.75; }
  to { transform: translate(30px, 20px) scale(1.08); opacity: 1; }
}

@keyframes portalFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg); }
  50% { transform: translateY(-6px) rotateX(0.4deg); }
}

.portal-luxury-shell {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 36px));
}

.portal-luxury-header {
  text-align: center;
  margin-bottom: 28px;
}

.portal-luxury-logo-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  padding: 8px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8e7 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateZ(24px);
}

.portal-luxury-logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.portal-luxury-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.06));
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.portal-luxury-title {
  margin: 14px 0 6px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #e8eef5 45%, #c9a84c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.portal-luxury-subtitle {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(226, 236, 248, 0.72);
  letter-spacing: 0.06em;
}

.portal-luxury-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
  width: 100%;
}

.portal-luxury-card {
  position: relative;
  width: 100%;
  min-height: 132px;
  text-decoration: none;
  color: #fff;
  border-radius: 24px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(212, 175, 55, 0.25);
  touch-action: manipulation;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(15, 23, 42, 0.18) 100%);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.32),
    0 8px 16px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -10px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.portal-luxury-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), transparent 42%, rgba(255, 255, 255, 0.06));
  pointer-events: none;
}

.portal-luxury-card::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 28px;
  transform: translateY(100%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.portal-luxury-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(212, 175, 55, 0.48);
  box-shadow:
    0 28px 54px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(212, 175, 55, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.portal-luxury-card:active {
  transform: translateY(-2px) scale(1.01);
}

.portal-luxury-card.abk {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(14, 116, 144, 0.22) 100%);
}

.portal-luxury-card.agency {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(37, 99, 235, 0.28) 100%);
}

.portal-luxury-card:hover.abk {
  background:
    linear-gradient(145deg, rgba(255, 248, 220, 0.1) 0%, #0c4a6e 18%, #0e7490 55%, #0891b2 100%);
}

.portal-luxury-card:hover.agency {
  background:
    linear-gradient(145deg, rgba(255, 248, 220, 0.08) 0%, #1e3a5f 20%, #1d4ed8 52%, #2563eb 100%);
}

.portal-luxury-card .portal-luxury-icon,
.portal-luxury-card .portal-luxury-text,
.portal-luxury-card .portal-luxury-text h2,
.portal-luxury-card .portal-luxury-text span,
.portal-luxury-card .portal-luxury-icon svg,
.portal-luxury-card .portal-luxury-icon svg * {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.portal-luxury-icon {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  transform: translateZ(0);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.82));
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 18px rgba(0, 0, 0, 0.28);
}

.portal-luxury-icon svg {
  width: 36px;
  height: 36px;
  display: block;
  fill: none;
  stroke: #fff8e7;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.portal-luxury-icon .fill {
  fill: var(--gold-light);
  stroke: none;
}

.portal-luxury-card:hover .portal-luxury-icon {
  border-color: rgba(245, 230, 184, 0.75);
  box-shadow:
    0 0 24px rgba(212, 175, 55, 0.28),
    inset 0 1px 0 rgba(255, 248, 220, 0.35),
    0 10px 22px rgba(0, 0, 0, 0.32);
}

.portal-luxury-text {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateZ(0);
}

.portal-luxury-text h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.05;
  color: #fff8e7;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(212, 175, 55, 0.18);
}

.portal-luxury-card:hover .portal-luxury-text h2 {
  background: linear-gradient(135deg, #fff 0%, #fff8e7 40%, #f5e6b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.portal-luxury-text span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 236, 179, 0.82);
}

.portal-luxury-footer {
  margin-top: 22px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(203, 213, 225, 0.72);
}

.portal-luxury-footer .year {
  color: rgba(212, 175, 55, 0.92);
  letter-spacing: 0.18em;
}

@media (max-width: 720px) {
  body.portal-luxury-page {
    align-items: flex-start;
    padding: 20px 16px;
  }

  .portal-luxury-shell {
    animation: none;
  }

  .portal-luxury-header {
    padding-top: 12px;
  }

  .portal-luxury-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .portal-luxury-card {
    min-height: 118px;
    padding: 16px 18px;
  }

  .portal-luxury-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

@media (max-width: 600px) {
  .portal-luxury-shell {
    width: min(320px, calc(100vw - 36px));
  }

  .portal-luxury-icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .portal-luxury-icon svg {
    width: 30px;
    height: 30px;
  }

  .portal-luxury-text h2 {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.portal-luxury-page::before {
    animation: none !important;
  }

  .portal-luxury-card {
    transition: none !important;
  }
}
