/* Shared WillowinWorlds ocean world for the press kit and player help pages. */
.studio-ocean-page {
  --bg: #eafcff;
  --bg-2: #d6f5ff;
  --surface: rgba(247, 254, 255, 0.72);
  --surface-strong: rgba(252, 255, 250, 0.94);
  --surface-soft: rgba(77, 205, 222, 0.12);
  --text: #102843;
  --muted: #45687c;
  --muted-2: #7398a6;
  --line: rgba(38, 126, 155, 0.18);
  --paper: #fff8d8;
  --cyan: #21bfd6;
  background-color: #eafcff;
  background:
    radial-gradient(ellipse at 16% 8%, rgba(255, 255, 232, 0.78), transparent 30%),
    radial-gradient(ellipse at 82% 14%, rgba(82, 213, 230, 0.24), transparent 34%),
    linear-gradient(180deg, #f7fff7 0%, #dffaff 34%, #a6edf7 72%, #6dd4e8 100%);
}

.studio-ocean-page[data-theme="dark"] {
  --bg: #07162d;
  --bg-2: #0f3450;
  --surface: rgba(9, 26, 49, 0.78);
  --surface-strong: rgba(8, 20, 39, 0.95);
  --surface-soft: rgba(113, 231, 255, 0.1);
  --text: #f4fbff;
  --muted: #bdd6e4;
  --muted-2: #82a8ba;
  --line: rgba(174, 231, 246, 0.18);
  --paper: #e7f8ee;
  --cyan: #71e7ff;
  background-color: #07162d;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(113, 231, 255, 0.18), transparent 30%),
    radial-gradient(ellipse at 82% 12%, rgba(255, 228, 134, 0.14), transparent 32%),
    linear-gradient(180deg, #07162d 0%, #0b2745 42%, #104b65 78%, #081b31 100%);
}

body.studio-ocean-page::before,
body.studio-ocean-page::after {
  content: none;
}

.press-kit-topbar {
  z-index: 90;
  color: #eef8ff;
  border-bottom-color: rgba(151, 201, 232, 0.18);
  background:
    linear-gradient(90deg, rgba(12, 23, 43, 0.96), rgba(18, 34, 58, 0.93)),
    repeating-linear-gradient(112deg, rgba(113, 231, 255, 0.035) 0 1px, transparent 1px 13px);
  box-shadow: 0 18px 44px rgba(2, 12, 27, 0.26);
}

.press-kit-topbar .game-detail-brand img {
  box-shadow:
    0 10px 26px rgba(113, 231, 255, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.18);
}

.press-kit-topbar .game-detail-brand strong {
  color: #f5fbff;
}

.press-kit-topbar .game-detail-brand small {
  color: #bcd3df;
}

.press-kit-topbar .game-detail-nav a,
.press-kit-topbar .game-theme-toggle {
  color: #d6e8f4;
  border-color: rgba(151, 201, 232, 0.22);
  background: rgba(22, 39, 67, 0.72);
}

.press-kit-topbar .game-detail-nav a:hover,
.press-kit-topbar .game-detail-nav a:focus-visible,
.press-kit-topbar .game-theme-toggle:hover,
.press-kit-topbar .game-theme-toggle:focus-visible {
  color: #ffffff;
  border-color: rgba(113, 231, 255, 0.48);
  background: rgba(113, 231, 255, 0.12);
}

.studio-ocean-page[data-theme="light"] .press-kit-topbar {
  color: #102843;
  border-bottom-color: rgba(38, 126, 155, 0.14);
  background:
    linear-gradient(90deg, rgba(255, 255, 242, 0.88), rgba(210, 246, 255, 0.78)),
    repeating-linear-gradient(112deg, rgba(8, 72, 106, 0.035) 0 1px, transparent 1px 13px);
  box-shadow: 0 18px 42px rgba(20, 104, 143, 0.12);
}

.studio-ocean-page[data-theme="light"] .press-kit-topbar .game-detail-brand img {
  box-shadow:
    0 10px 24px rgba(33, 155, 184, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.72);
}

.studio-ocean-page[data-theme="light"] .press-kit-topbar .game-detail-brand strong {
  color: #102843;
}

.studio-ocean-page[data-theme="light"] .press-kit-topbar .game-detail-brand small {
  color: #45687c;
}

.studio-ocean-page[data-theme="light"] .press-kit-topbar .game-detail-nav a,
.studio-ocean-page[data-theme="light"] .press-kit-topbar .game-theme-toggle {
  color: #31586c;
  border-color: rgba(38, 126, 155, 0.17);
  background: rgba(255, 255, 247, 0.66);
}

.studio-ocean-page[data-theme="light"] .press-kit-topbar .game-detail-nav a:hover,
.studio-ocean-page[data-theme="light"] .press-kit-topbar .game-detail-nav a:focus-visible,
.studio-ocean-page[data-theme="light"] .press-kit-topbar .game-theme-toggle:hover,
.studio-ocean-page[data-theme="light"] .press-kit-topbar .game-theme-toggle:focus-visible {
  color: #102843;
  border-color: rgba(33, 191, 214, 0.44);
  background: rgba(113, 231, 255, 0.16);
}

.studio-ocean-shell {
  position: relative;
  z-index: 0;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
}

.studio-ocean-page > .trust-hub-strip,
.studio-ocean-page > footer {
  position: relative;
  z-index: 2;
}

.section.studio-ocean-shell {
  padding-top: clamp(62px, 5.2vw, 98px);
  padding-bottom: clamp(46px, 6vw, 86px);
}

.studio-ocean-shell > .container {
  position: relative;
  z-index: 2;
}

.press-ocean-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  isolation: isolate;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 82% 4%, #fff9dc 0%, transparent 38%),
    radial-gradient(ellipse at 8% 65%, rgba(80, 212, 199, 0.28), transparent 48%),
    linear-gradient(180deg, #effcfc 0%, #d7f5f8 40%, #9cdce9 78%, #59b5d1 100%);
}

.press-ocean-backdrop::before,
.press-ocean-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.press-ocean-backdrop::before {
  z-index: 2;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(18, 117, 157, 0.12), transparent 44%),
    radial-gradient(ellipse at 100% 100%, rgba(13, 105, 144, 0.24), transparent 48%);
}

.press-ocean-backdrop::after {
  z-index: 6;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.48) 0 2px, transparent 3px),
    radial-gradient(circle at 28% 42%, rgba(255, 255, 255, 0.32) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 20%, rgba(255, 255, 255, 0.36) 0 2px, transparent 3px),
    linear-gradient(180deg, transparent 0 54%, rgba(33, 191, 214, 0.18));
  opacity: 0.74;
}

.studio-ocean-page[data-theme="dark"] .press-ocean-backdrop {
  background:
    radial-gradient(ellipse at 82% 4%, rgba(166, 224, 208, 0.18), transparent 38%),
    radial-gradient(ellipse at 4% 68%, rgba(23, 148, 160, 0.18), transparent 48%),
    linear-gradient(180deg, #06152c 0%, #092a45 40%, #105268 78%, #0a344e 100%);
}

.studio-ocean-page[data-theme="dark"] .press-ocean-backdrop::before {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(1, 8, 23, 0.24), transparent 44%),
    radial-gradient(ellipse at 100% 100%, rgba(1, 9, 28, 0.38), transparent 48%);
}

.studio-ocean-page[data-theme="dark"] .press-ocean-backdrop::after {
  background:
    radial-gradient(circle at 12% 22%, rgba(113, 231, 255, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 28% 42%, rgba(255, 255, 255, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 20%, rgba(255, 228, 134, 0.2) 0 2px, transparent 3px),
    linear-gradient(180deg, transparent 0 54%, rgba(113, 231, 255, 0.12));
  opacity: 0.72;
}

.press-ocean-sun,
.press-ocean-current,
.press-ocean-ray,
.press-ocean-seaweed,
.press-ocean-wave,
.press-ocean-fish,
.press-ocean-bubble {
  position: absolute;
  pointer-events: none;
}

.press-ocean-sun {
  top: 6%;
  right: 8%;
  z-index: 1;
  width: clamp(130px, 12vw, 240px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,244,0.82), transparent 12%),
    linear-gradient(135deg, #fff4a6, #f3bf43 74%);
  box-shadow:
    0 0 0 74px rgba(255, 238, 154, 0.12),
    0 28px 80px rgba(203, 151, 42, 0.2);
  opacity: 0.62;
  animation: moonFloat 8s ease-in-out infinite;
}

.studio-ocean-page[data-theme="dark"] .press-ocean-sun {
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,244,0.72), transparent 12%),
    linear-gradient(135deg, #fff8bf, #f0bd43 74%);
  box-shadow:
    0 0 0 74px rgba(255, 228, 134, 0.06),
    0 28px 90px rgba(255, 228, 134, 0.18);
  opacity: 0.3;
}

.press-ocean-current {
  z-index: 3;
  left: -15%;
  width: 125vw;
  height: 26vh;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 100%, transparent 64%, rgba(148, 233, 233, 0.18) 65% 68%, transparent 69% 78%, rgba(224, 254, 248, 0.16) 79% 81%, transparent 82%);
  transform-origin: center;
}

.press-ocean-current-one {
  top: 32%;
  left: -15%;
  transform: rotate(-12deg);
}

.press-ocean-current-two {
  bottom: 12%;
  left: -10%;
  height: 32vh;
  transform: rotate(8deg);
}

.press-ocean-current-one,
.press-ocean-current-two {
  animation: pressCurrentDrift 12s ease-in-out infinite;
}

.press-ocean-current-two {
  animation-duration: 15s;
  animation-delay: -5s;
}

.press-ocean-ray {
  z-index: 2;
  top: -12%;
  width: clamp(160px, 28vw, 480px);
  height: 110%;
  clip-path: polygon(45% 0, 60% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 255, 244, 0.32), rgba(255, 255, 244, 0.04) 64%, transparent);
  opacity: 0.46;
  transform-origin: top center;
  animation: pressLightSweep 14s ease-in-out infinite;
}

.press-ocean-ray-one {
  left: 48%;
  --ray-rotate: 22deg;
  transform: rotate(var(--ray-rotate));
}

.press-ocean-ray-two {
  right: 4%;
  width: clamp(100px, 14vw, 260px);
  opacity: 0.34;
  --ray-rotate: 32deg;
  transform: rotate(var(--ray-rotate));
  animation-delay: -6s;
}

.studio-ocean-page[data-theme="dark"] .press-ocean-ray {
  background: linear-gradient(180deg, rgba(113, 231, 255, 0.22), rgba(255, 255, 244, 0.05) 52%, transparent);
  opacity: 0.36;
}

.press-ocean-seaweed {
  z-index: 5;
  bottom: -8px;
  width: var(--weed-width, 34px);
  height: var(--weed-height, 168px);
  border-radius: 60% 40% 48% 52%;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, var(--weed-light, #6de09d), var(--weed-dark, #1c9f7e));
  box-shadow:
    inset -8px 0 0 rgba(7, 72, 74, 0.14),
    0 22px 34px rgba(20, 100, 138, 0.12);
  opacity: var(--weed-opacity, 0.58);
  transform: rotate(var(--weed-rotate, 0deg));
  transform-origin: 50% 100%;
  animation: pressSeaweedSway var(--weed-duration, 5.8s) ease-in-out infinite;
  animation-delay: var(--weed-delay, 0s);
}

.press-ocean-seaweed::before,
.press-ocean-seaweed::after,
.press-ocean-seaweed i,
.press-ocean-seaweed b {
  content: "";
  position: absolute;
  display: block;
  border-radius: 92% 8% 88% 12%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(160deg, var(--leaf-light, #7ef0a5), var(--leaf-dark, #22a780));
  transform-origin: 12% 88%;
}

.press-ocean-seaweed::before {
  left: 48%;
  top: 20%;
  width: 34px;
  height: 64px;
  transform: rotate(42deg);
}

.press-ocean-seaweed::after {
  right: 46%;
  top: 38%;
  width: 30px;
  height: 58px;
  transform: rotate(-128deg) scaleX(-1);
}

.press-ocean-seaweed i {
  left: 48%;
  top: 56%;
  width: 28px;
  height: 50px;
  transform: rotate(54deg);
}

.press-ocean-seaweed b {
  right: 42%;
  top: 70%;
  width: 24px;
  height: 42px;
  transform: rotate(-132deg) scaleX(-1);
}

.press-ocean-seaweed-one {
  --weed-height: 186px;
  --weed-width: 38px;
  --weed-rotate: -5deg;
  --weed-delay: -1.4s;
  left: 4%;
}

.press-ocean-seaweed-two {
  --weed-height: 136px;
  --weed-width: 30px;
  --weed-rotate: 7deg;
  --weed-duration: 6.4s;
  --weed-delay: -3s;
  left: 11%;
  bottom: -16px;
  opacity: 0.48;
  animation: none;
}

.press-ocean-seaweed-three {
  --weed-height: 176px;
  --weed-width: 36px;
  --weed-rotate: 5deg;
  --weed-duration: 6.8s;
  --weed-delay: -2.2s;
  right: 7%;
}

.press-ocean-seaweed-four {
  --weed-height: 128px;
  --weed-width: 28px;
  --weed-rotate: -9deg;
  --weed-duration: 5.4s;
  --weed-delay: -4s;
  right: 16%;
  bottom: -18px;
  opacity: 0.44;
  animation: none;
}

.studio-ocean-page[data-theme="dark"] .press-ocean-seaweed {
  --weed-light: #39d28c;
  --weed-dark: #0f6d69;
  --leaf-light: #58e6a0;
  --leaf-dark: #15806f;
  opacity: calc(var(--weed-opacity, 0.58) + 0.08);
  filter: saturate(1.08) brightness(0.86);
}

.studio-ocean-page[data-theme="dark"] .press-ocean-bubble {
  border-color: rgba(192, 244, 255, 0.42);
  background: radial-gradient(circle at 34% 28%, rgba(192, 244, 255, 0.42), transparent 24%);
}

.press-ocean-wave {
  z-index: 4;
  left: -8%;
  right: -8%;
  height: 26%;
  border-radius: 50% 50% 0 0;
  opacity: 0.32;
}

.press-ocean-wave-one {
  bottom: -10%;
  background:
    linear-gradient(176deg, rgba(255, 255, 240, 0.74), transparent 20%),
    linear-gradient(184deg, rgba(153, 226, 223, 0.5), rgba(255,255,255,0.34) 44%, rgba(22, 163, 197, 0.44) 45% 61%, transparent 62%);
  transform: rotate(-2deg);
  animation: pressOceanSwell 8s ease-in-out infinite;
}

.press-ocean-wave-two {
  bottom: -15%;
  background:
    linear-gradient(178deg, rgba(255, 255, 255, 0.46), transparent 22%),
    linear-gradient(182deg, rgba(55, 190, 215, 0.46), rgba(17, 143, 183, 0.4));
  transform: rotate(2deg);
  animation: pressOceanSwell 9s ease-in-out -2.2s infinite;
}

.press-ocean-fish {
  z-index: 5;
  width: var(--fish-width, 72px);
  height: calc(var(--fish-width, 72px) * 0.48);
  border-radius: 65% 38% 42% 60%;
  background:
    radial-gradient(circle at 22% 38%, rgba(255,255,255,0.9) 0 6%, transparent 7%),
    linear-gradient(135deg, var(--fish-a, #73e3ff), var(--fish-b, #2dbbd4));
  box-shadow: 0 18px 30px rgba(20, 100, 138, 0.12);
  opacity: var(--fish-opacity, 0.34);
  animation: pressFishSwim var(--fish-duration, 18s) linear infinite;
  animation-delay: var(--fish-delay, 0s);
}

.press-ocean-fish::before,
.press-ocean-fish::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.press-ocean-fish::before {
  right: -28%;
  top: 21%;
  width: 34%;
  height: 58%;
  background: var(--fish-b, #2dbbd4);
  clip-path: polygon(0 50%, 100% 0, 82% 50%, 100% 100%);
}

.press-ocean-fish::after {
  left: 45%;
  top: -28%;
  width: 28%;
  height: 48%;
  border-radius: 50% 50% 0 0;
  background: color-mix(in srgb, var(--fish-b, #2dbbd4) 78%, white);
  transform: rotate(10deg);
}

.press-ocean-fish-one {
  --fish-width: 82px;
  --fish-a: #77f2ff;
  --fish-b: #24a8d6;
  --fish-duration: 19s;
  --fish-delay: -3s;
  top: 26%;
  left: -10%;
}

.press-ocean-fish-two {
  --fish-width: 58px;
  --fish-a: #ffe884;
  --fish-b: #f0ae3a;
  --fish-duration: 23s;
  --fish-delay: -10s;
  --fish-opacity: 0.28;
  top: 42%;
  left: -12%;
}

.press-ocean-fish-three {
  --fish-width: 70px;
  --fish-a: #9ef5b8;
  --fish-b: #32b983;
  --fish-duration: 21s;
  --fish-delay: -15s;
  top: 62%;
  left: -10%;
}

.press-ocean-fish-four {
  display: none;
  animation: none;
}

.press-ocean-bubble {
  z-index: 5;
  width: var(--bubble-size, 16px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,0.72), transparent 24%);
  opacity: 0.46;
  animation: pressBubbleRise var(--bubble-duration, 8s) ease-in infinite;
  animation-delay: var(--bubble-delay, 0s);
}

.press-ocean-bubble-one { --bubble-size: 18px; --bubble-duration: 8s; --bubble-delay: -1s; left: 18%; bottom: -8%; }
.press-ocean-bubble-two,
.press-ocean-bubble-four,
.press-ocean-bubble-five,
.press-ocean-bubble-six,
.press-ocean-bubble-seven,
.press-ocean-bubble-eight,
.press-ocean-bubble-nine { display: none; animation: none; }
.press-ocean-bubble-three { --bubble-size: 22px; --bubble-duration: 11s; --bubble-delay: -6s; right: 24%; bottom: -10%; }
.press-ocean-bubble-ten { --bubble-size: 15px; --bubble-duration: 9.6s; --bubble-delay: -9s; left: 68%; bottom: -10%; }

@media (max-width: 760px) {
  .press-ocean-current-two,
  .press-ocean-ray-two,
  .press-ocean-fish-two,
  .press-ocean-bubble-six,
  .press-ocean-bubble-ten {
    display: none;
    animation: none;
  }

  .press-ocean-seaweed-two,
  .press-ocean-seaweed-four {
    display: none;
  }

  .press-ocean-sun {
    right: -20px;
    width: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .press-ocean-backdrop *,
  .press-ocean-backdrop *::before,
  .press-ocean-backdrop *::after {
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .press-ocean-backdrop {
    display: none;
  }
}

