@font-face {
  font-family: "Surgena";
  src: url("Fonts/surgena.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Bilmond Thin";
  src: url("Fonts/bilmond-thin.ttf") format("truetype");
  font-display: swap;
}

:root {
  --mouse-x: 50%;
  --mouse-y: 50%;
}

body[data-theme="dark"] {
  --bg: #08090b;
  --bg-lift: #101217;
  --bg-deep: #050607;
  --white: #f4efea;
  --white-soft: #e7ded6;
  --dark: #11141a;
  --dark-soft: #191d25;
  --red: #e75666;
  --red-soft: rgba(231, 86, 102, 0.16);
  --red-faint: rgba(231, 86, 102, 0.08);
  --line: rgba(244, 239, 234, 0.11);
  --line-soft: rgba(244, 239, 234, 0.06);
  --text: var(--white);
  --text-soft: rgba(244, 239, 234, 0.68);
  --text-faint: rgba(244, 239, 234, 0.48);
  --shadow-strong: rgba(0, 0, 0, 0.34);
  --glass-main: rgba(244, 239, 234, 0.06);
  --glass-secondary: rgba(244, 239, 234, 0.018);
  --glass-highlight: rgba(244, 239, 234, 0.14);
  --accent-1: rgba(231, 86, 102, 0.20);
  --accent-2: rgba(231, 86, 102, 0.10);
  --accent-3: rgba(244, 239, 234, 0.04);
  --orbital-filter: blur(0.45px) saturate(1.02) brightness(0.86) contrast(1.05);
}

body[data-theme="light"] {
  --bg: #ebe5df;
  --bg-lift: #f3ede8;
  --bg-deep: #ddd5ce;
  --white: #ffffff;
  --white-soft: #f7f0ea;
  --dark: #17191e;
  --dark-soft: #222630;
  --red: #e75666;
  --red-soft: rgba(231, 86, 102, 0.18);
  --red-faint: rgba(231, 86, 102, 0.10);
  --line: rgba(17, 20, 26, 0.12);
  --line-soft: rgba(17, 20, 26, 0.07);
  --text: #14171d;
  --text-soft: rgba(20, 23, 29, 0.62);
  --text-faint: rgba(20, 23, 29, 0.46);
  --shadow-strong: rgba(43, 34, 31, 0.12);
  --glass-main: rgba(255, 255, 255, 0.44);
  --glass-secondary: rgba(255, 255, 255, 0.18);
  --glass-highlight: rgba(255, 255, 255, 0.46);
  --accent-1: rgba(231, 86, 102, 0.18);
  --accent-2: rgba(17, 20, 26, 0.06);
  --accent-3: rgba(255, 255, 255, 0.24);
  --orbital-filter: blur(0.35px) saturate(0.98) brightness(0.92) contrast(1.02);
}

body[data-theme="red"] {
  --bg: #120b0d;
  --bg-lift: #1b1115;
  --bg-deep: #090607;
  --white: #fff7f4;
  --white-soft: #f3e3dd;
  --dark: #160f12;
  --dark-soft: #25171b;
  --red: #eb5969;
  --red-soft: rgba(235, 89, 105, 0.18);
  --red-faint: rgba(235, 89, 105, 0.10);
  --line: rgba(255, 247, 244, 0.12);
  --line-soft: rgba(255, 247, 244, 0.07);
  --text: var(--white);
  --text-soft: rgba(255, 247, 244, 0.70);
  --text-faint: rgba(255, 247, 244, 0.52);
  --shadow-strong: rgba(0, 0, 0, 0.38);
  --glass-main: rgba(255, 247, 244, 0.06);
  --glass-secondary: rgba(255, 247, 244, 0.02);
  --glass-highlight: rgba(255, 247, 244, 0.12);
  --accent-1: rgba(235, 89, 105, 0.28);
  --accent-2: rgba(235, 89, 105, 0.14);
  --accent-3: rgba(255, 247, 244, 0.04);
  --orbital-filter: blur(0.42px) saturate(1.08) brightness(0.88) contrast(1.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 14% 16%, var(--accent-1), transparent 18%),
    radial-gradient(circle at 82% 76%, var(--accent-2), transparent 16%),
    radial-gradient(circle at 50% 50%, var(--accent-3), transparent 42%),
    linear-gradient(180deg, var(--bg-lift), var(--bg-deep));
  color: var(--text);
  font-family: "Surgena", Arial, sans-serif;
  transition:
    background-color 0.45s ease,
    color 0.45s ease,
    background-image 0.45s ease;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(circle at 50% 50%, transparent 46%, rgba(0, 0, 0, 0.30) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.08));
  z-index: 0;
}

body[data-theme="light"]::before {
  background:
    radial-gradient(circle at 50% 50%, transparent 46%, rgba(255, 255, 255, 0.18) 100%),
    linear-gradient(90deg, rgba(20, 23, 29, 0.03), transparent 20%, transparent 80%, rgba(20, 23, 29, 0.03));
}

body::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 20%, transparent 80%, rgba(231, 86, 102, 0.04)),
    linear-gradient(90deg, rgba(231, 86, 102, 0.02), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.015));
  z-index: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.arrival {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

.ambient,
.orbit-scene,
.global-glass,
.grain,
.brand-lockup,
.corner,
.theme-switch {
  position: absolute;
}

.ambient,
.global-glass,
.grain,
.orbit-scene {
  inset: 0;
}

.ambient {
  pointer-events: none;
  filter: blur(120px);
}

.ambient--left {
  left: -10%;
  top: 2%;
  width: 42vw;
  height: 42vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle at 50% 50%, var(--accent-1), rgba(231, 86, 102, 0.06) 56%, transparent 76%);
  border-radius: 50%;
}

.ambient--right {
  right: -8%;
  bottom: 0;
  width: 30vw;
  height: 30vw;
  max-width: 520px;
  max-height: 520px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.10), rgba(231, 86, 102, 0.05) 48%, transparent 74%);
  border-radius: 50%;
}

.ambient--soft {
  inset: auto;
  left: 50%;
  top: 52%;
  width: 64vw;
  height: 24vw;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(231, 86, 102, 0.06), rgba(17, 20, 26, 0.16));
  filter: blur(110px);
}

.global-glass {
  z-index: 2;
  background:
    linear-gradient(180deg, var(--glass-main), var(--glass-secondary)),
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), var(--glass-highlight), transparent 24%),
    linear-gradient(120deg, rgba(231, 86, 102, 0.05), transparent 34%, transparent 68%, rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(20px) saturate(132%);
  -webkit-backdrop-filter: blur(20px) saturate(132%);
  opacity: 0.82;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 120px 180px rgba(255, 255, 255, 0.015),
    inset 0 -120px 160px rgba(5, 6, 7, 0.16);
}

.global-glass::before,
.global-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.global-glass::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.016), transparent 18%, transparent 82%, rgba(231, 86, 102, 0.016)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.008), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.018));
}

.global-glass::after {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02), transparent 38%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 24%, transparent 70%, rgba(231, 86, 102, 0.045));
  mix-blend-mode: screen;
}

.grain {
  z-index: 6;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.44'/%3E%3C/svg%3E");
}

.orbit-scene {
  z-index: 1;
  display: grid;
  place-items: center;
  perspective: 1800px;
  pointer-events: none;
}

.orbit-ring {
  position: relative;
  width: min(980px, 78vw);
  height: min(660px, 66vh);
  transform-style: preserve-3d;
}

.orbit-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(220px, 18vw, 310px);
  aspect-ratio: 0.78;
  overflow: hidden;
  border-radius: 28px;
  transform-style: preserve-3d;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(17, 20, 26, 0.08));
  box-shadow:
    0 34px 84px var(--shadow-strong),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 42px rgba(231, 86, 102, 0.08);
  opacity: 0.34;
}

.orbit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  z-index: 2;
}

.orbit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 9, 12, 0.08), rgba(8, 9, 12, 0.42)),
    linear-gradient(120deg, rgba(255, 255, 255, 0.10), transparent 32%, transparent 70%, rgba(231, 86, 102, 0.12));
}

.orbit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--orbital-filter);
  transform: scale(1.045);
}

.brand-lockup {
  z-index: 5;
  left: 50%;
  top: 50%;
  width: min(980px, 78vw);
  transform: translate(-50%, -50%);
}

.brand-svg {
  width: 100%;
  color: var(--white);
  filter:
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.08))
    drop-shadow(0 0 40px rgba(231, 86, 102, 0.14));
}

body[data-theme="light"] .brand-svg {
  color: #ffffff;
  filter:
    drop-shadow(0 0 16px rgba(255, 255, 255, 0.38))
    drop-shadow(0 0 34px rgba(231, 86, 102, 0.16));
}

.brand-meta {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 54px);
  margin-top: clamp(18px, 2vw, 26px);
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 10px;
  text-align: center;
}

.brand-meta span {
  position: relative;
  padding-inline: 8px;
}

.brand-meta span::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 86, 102, 0.24), rgba(255, 255, 255, 0.18), transparent);
}

.theme-switch {
  top: clamp(18px, 2vw, 26px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 12, 16, 0.20);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow:
    0 14px 40px var(--shadow-strong),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

body[data-theme="light"] .theme-switch {
  background: rgba(255, 255, 255, 0.24);
}

.theme-switch__btn {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: transparent;
  color: var(--text-faint);
  font: inherit;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  cursor: pointer;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.theme-switch__btn:hover {
  color: var(--text);
}

.theme-switch__btn.is-active {
  color: var(--white);
  background: linear-gradient(180deg, rgba(231, 86, 102, 0.32), rgba(231, 86, 102, 0.18));
  box-shadow:
    0 10px 28px rgba(231, 86, 102, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body[data-theme="light"] .theme-switch__btn.is-active {
  color: #ffffff;
}

.corner {
  bottom: clamp(20px, 2vw, 32px);
  z-index: 7;
  max-width: 280px;
  color: var(--text-faint);
}

.corner--left {
  left: clamp(20px, 2vw, 30px);
  text-align: left;
}

.corner--right {
  right: clamp(20px, 2vw, 30px);
  text-align: right;
}

.corner__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-family: "Bilmond Thin", Arial, sans-serif;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

body[data-theme="light"] .corner__eyebrow {
  color: rgba(20, 23, 29, 0.72);
}

.corner p {
  margin: 0;
  font-size: 11px;
  line-height: 1.85;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

@media (max-width: 1100px) {
  .brand-lockup {
    width: min(840px, 82vw);
  }

  .orbit-ring {
    width: min(860px, 82vw);
  }
}

@media (max-width: 840px) {
  body {
    overflow-y: auto;
  }

  .arrival {
    min-height: 100svh;
  }

  .theme-switch {
    top: 14px;
  }

  .theme-switch__btn {
    padding: 10px 13px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .brand-lockup {
    width: min(92vw, 720px);
  }

  .orbit-ring {
    width: 100vw;
    height: 62vh;
  }

  .orbit-card {
    width: 190px;
    border-radius: 24px;
    opacity: 0.28;
  }

  .brand-meta {
    flex-direction: column;
    gap: 10px;
    letter-spacing: 0.22em;
    font-size: 9px;
  }

  .corner {
    max-width: 180px;
  }

  .corner p {
    font-size: 9px;
    line-height: 1.75;
  }
}

@media (max-width: 560px) {
  .ambient--left {
    width: 58vw;
    height: 58vw;
  }

  .ambient--right {
    width: 48vw;
    height: 48vw;
  }

  .brand-lockup {
    width: 96vw;
  }

  .orbit-ring {
    height: 54vh;
  }

  .orbit-card {
    width: 148px;
    border-radius: 20px;
  }

  .theme-switch {
    gap: 6px;
    padding: 6px;
  }

  .theme-switch__btn {
    padding: 9px 11px;
    font-size: 9px;
  }

  .corner--right {
    max-width: 140px;
  }

  .corner__eyebrow {
    font-size: 11px;
  }
}
