@import url('https://fonts.googleapis.com/css2?family=Pirata+One&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --accent-gold-light: #f2bd00;
  --text-light: #eef3f7;
  --text-muted: #9db8cc;
  --line: rgba(255, 255, 255, 0.12);
  --radius: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #0a2238;
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--accent-gold-light);
  text-decoration: none;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


.app-homepage {
  position: relative;
  isolation: isolate;
}

.homepage {
  position: relative;
  isolation: isolate;
  flex: 1 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.homepage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('../media/backgrounds/sail-hero.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.homepage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(2, 11, 19, 0.6), rgba(2, 11, 19, 0.25) 45%, rgba(2, 11, 19, 0.78));
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  flex: 1 0 auto;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 90px 24px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(242, 189, 0, 0.95), transparent 75%);
  border-radius: 1px;
  opacity: 0;
  animation: rain linear infinite;
}

@keyframes rain {
  0% {
    transform: translateY(-110%) rotate(17deg);
    opacity: 0;
  }
  8% {
    opacity: 0.95;
  }
  60% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(62vh) rotate(17deg);
    opacity: 0;
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  width: min(100%, 1060px);
  text-align: left;
}

.hero-copy {
  text-align: left;
}

.hero-title {
  font-family: 'Pirata One', cursive;
  font-size: clamp(2.2rem, 4.3vw, 3.25rem);
  line-height: 1.05;
  margin-bottom: 12px;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

.title-line {
  display: inline;
}

.title-description {
  font-size: 16px;
}

.wop-game-description {
  background: linear-gradient(135deg, rgba(17,17,17,0.7), rgba(0,0,0,0.7));
  width: 100%;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border-top: solid 1px #222;
}

.wop-game-heading {
  margin-bottom: 16px;
  font-family: 'Pirata One', cursive;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #f2bd00;
  text-align: left;
}

.wop-game-description section,
.wop-game-video section,
.wop-game-faq section,
.wop-game-screenshots section,
.wop-game-findus section {
  width: min(100%, 1060px);
  margin: 0 auto;
  text-align: left;
}

.wop-game-description-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 48px);
}

.wop-game-logo-panel {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wop-game-logo {
  display: block;
  width: clamp(120px, 18vw, 230px);
  height: auto;
}

.wop-game-text {
  flex: 0 1 640px;
  max-width: 640px;
  min-width: 0;
}

.wop-game-video {
  background: #000;
  width: 100%;
  padding: 24px 10px 34px;
  display: flex;
  justify-content: center;
  border-top: solid 1px #222;
}

.wop-game-video-inline {
  background: transparent;
  width: 100%;
  padding: 16px 0 0;
  border-top: 0;
  justify-content: center;
}



.title-accent {
  color: var(--accent-gold-light);
  text-shadow: 0 0 30px rgba(242, 189, 0, 0.4);
}

.server-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: -3px auto 12px;
  padding: 0 2px;
  font-family: 'Roboto', sans-serif;
  white-space: nowrap;
  color: #c9b58e;
}

.server-status::before,
.server-status::after {
  content: '';
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190, 151, 91, 0.8));
}

.server-status::after {
  transform: scaleX(-1);
}

.server-text {
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1;
  text-transform: uppercase;
}

.server-dot {
  position: relative;
  z-index: 1;
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: #f2bd00;
  box-shadow: 0 0 0 2px rgba(208, 168, 94, 0.12);
}

.server-status.status-online .server-dot {
  background: #78bf82;
  box-shadow: 0 0 5px rgba(120, 191, 130, 0.65);
}

.server-status.status-offline .server-dot {
  background: #f2bd00;
  box-shadow: 0 0 5px rgba(242, 189, 0, 0.55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.2;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.download-widget {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 28px;
  border-radius: var(--radius);
  background-color: #1c120b;
  background-image:
    linear-gradient(180deg, rgba(62, 42, 24, 0.94), rgba(31, 20, 12, 0.97) 55%, rgba(16, 11, 8, 0.98)),
    url('../media/textures/navbar-wood.png');
  background-size: auto, 512px 512px;
  border: 1px solid rgba(169, 124, 68, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(242, 189, 0, 0.13),
    inset 0 -12px 26px rgba(0, 0, 0, 0.38),
    0 10px 30px rgba(0, 0, 0, 0.45);
}

.hero > .download-widget {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 2;
  display: grid;
  grid-template-areas: 'head browser platforms';
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 14px 22px;
  border: 1px solid rgba(205, 170, 105, 0.62);
  border-radius: 10px;
  background: linear-gradient(180deg, #354653 0%, #24323d 48%, #141f28 100%);
  box-shadow: inset 0 1px 0 rgba(232, 240, 246, 0.18), inset 0 -3px 0 rgba(3, 8, 12, 0.38), 0 3px 0 #080e13, 0 8px 18px rgba(0, 0, 0, 0.42);
  text-align: center;
  scroll-margin-top: 84px;
}

.hero > .download-widget::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025) 44%, transparent 45%);
  content: '';
  pointer-events: none;
}

.hero > .download-widget .download-platforms {
  min-height: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero > .download-widget .download-platforms { grid-area: platforms; }

.hero > .download-widget .download-platforms {
  border-left: 1px solid rgba(242, 189, 0, 0.25);
  padding-left: 16px;
}

.hero > .download-widget .download-platforms-label {
  margin-bottom: 4px;
  color: var(--text-muted);
}

.hero > .download-widget .download-platform-list {
  gap: 8px;
}

.hero > .download-widget .download-platform-btn {
  --platform-top: #203c50;
  --platform-bottom: #112736;
  --platform-border: #39769c;
  --platform-accent: #74c4f2;
  --platform-hover-top: #2a536e;
  --platform-hover-bottom: #19384e;
  --platform-hover-border: #74c4f2;
  --platform-glow: rgba(66, 153, 214, 0.2);
  padding: 8px 12px;
  font-size: 0.78rem;
  color: #f3f5f6;
  text-shadow: none;
  border: 1px solid var(--platform-border);
  border-radius: 5px;
  background: linear-gradient(180deg, var(--platform-top), var(--platform-bottom));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 5px rgba(0, 0, 0, 0.25);
}

.hero > .download-widget .download-platform-btn svg {
  color: var(--platform-accent);
}

.hero > .download-widget .platform-android {
  --platform-top: #244332;
  --platform-bottom: #152b21;
  --platform-border: #438864;
  --platform-accent: #86dbaa;
  --platform-hover-top: #305840;
  --platform-hover-bottom: #1d3b2b;
  --platform-hover-border: #86dbaa;
  --platform-glow: rgba(93, 194, 135, 0.18);
}

.hero > .download-widget .download-platform-btn:hover,
.hero > .download-widget .download-platform-btn:focus-visible {
  color: #fff;
  border-color: var(--platform-hover-border);
  background: linear-gradient(180deg, var(--platform-hover-top), var(--platform-hover-bottom));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 12px var(--platform-glow);
  transform: translateY(-1px);
}

.hero > .download-widget .download-platform-btn:active {
  background: var(--platform-bottom);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
}

@media (min-width: 1500px) and (min-height: 850px) {
  .hero {
    min-height: 0;
  }
}

.download-btn-main {
  width: 200px;
  height: 70px;
  padding: 0 16px;
  color: #fff;
  font-family: 'Pirata One', cursive;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(45, 12, 0, 0.9);
  border: 0;
  border-radius: 0;
  background: url('../media/textures/play-now-btn.png?cv=20261107-play-button-corners-v2') center / 100% 100% no-repeat;
  box-shadow: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.download-btn-main .server-status {
  gap: 4px;
  margin: 0;
  color: #261407;
  font-family: 'Roboto', sans-serif;
  text-shadow: none;
}

.download-btn-main .server-text {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.35px;
}

.download-btn-main .server-status::before,
.download-btn-main .server-status::after {
  width: 12px;
  background: linear-gradient(90deg, transparent, rgba(38, 20, 7, 0.75));
}

.download-btn-main.pointing-finger {
  position: relative;
}

.download-btn-main.pointing-finger::before {
  content: "👉";
  position: absolute;
  left: -26px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  line-height: 1;
  animation: finger-point 1s ease-in-out infinite;
  pointer-events: none;
}

@keyframes finger-point {
  0%, 100% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(-6px);
  }
}

.download-btn-main:hover,
.download-btn-main:focus-visible {
  color: #fff;
  background-image: url('../media/textures/play-now-btn-hover.png?cv=20261107-play-button-corners-v2');
  filter: brightness(1.12);
}

.download-platforms {
  text-align: center;
}

.download-platforms-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
}

.download-platform-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.download-platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.download-platform-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.play-version {
  display: block;
  margin-top: 6px;
  color: #e8d4aa;
  font: 600 .7rem/1.2 'Roboto', Arial, sans-serif;
  letter-spacing: .08em;
  text-shadow: 0 1px 3px #000;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer {
  margin-top: auto;
  background-color: #fff;
  border-top: 1px solid #ddd;
  box-shadow: none;
  padding: 8px;
}

.footer-container {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.footer-copy {
  color: #522410;
  font-size: 0.82rem;
  line-height: 2;
  margin-top: 0;
}

@media (max-width: 900px) {
  .hero > .download-widget {
    grid-template-areas:
      'head browser'
      'platforms platforms';
    grid-template-columns: 1fr auto;
  }

  .hero {
    padding-top: 96px;
  }

}

@media (max-width: 700px) {

  .hero {
    padding: 96px 16px 8px;
    gap: 32px;
  }

  .hero > .download-widget {
    grid-template-areas:
      'head'
      'browser'
      'platforms';
    grid-template-columns: 1fr;
  }

  .hero > .download-widget .download-platforms {
    border-left: 0;
    border-top: 1px solid rgba(242, 189, 0, 0.25);
    padding: 12px 0 0;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .hero-copy,
  .hero-title {
    text-align: center;
  }
}

:root {
  --accent-gold-light: #f2bd00;
  --text-light: #eee4cf;
  --text-muted: #b9a98a;
  --line: rgba(205, 170, 105, 0.32);
  --radius: 2px;
}

body {
  background: #10100e;
  color: var(--text-light);
  font-family: Georgia, 'Times New Roman', serif;
}

.app-homepage::before {
  background-position: center 42%;
  filter: saturate(.78) sepia(.1);
}

.app-homepage::after {
  background:
    linear-gradient(90deg, rgba(9, 8, 7, .78), rgba(9, 8, 7, .18) 54%, rgba(9, 8, 7, .5)),
    linear-gradient(180deg, rgba(8, 7, 6, .3), rgba(8, 7, 6, .2) 52%, rgba(16, 14, 11, .55) 100%);
}

.hero {
  max-width: 1320px;
  min-height: 0;
  padding: 42px 34px 34px;
  gap: 27px;
}

.hero-main {
  width: min(100%, 1120px);
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.65fr);
  gap: clamp(24px, 3vw, 48px);
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  outline: 0;
  background: none;
  box-shadow: none;
}

.hero-logo {
  display: block;
  width: clamp(74px, 9vw, 118px);
  height: auto;
  align-self: flex-start;
  margin: 0 0 14px 5px;
  filter: drop-shadow(2px 4px 3px rgba(0, 0, 0, .72));
}

.hero-title {
  margin-bottom: 13px;
  color: #f0e1c2;
  width: 100%;
  margin: 0;
  font-size: clamp(3.7rem, 6vw, 5.6rem);
  line-height: .82;
  letter-spacing: .015em;
  white-space: normal;
}

.hero-title .title-line:not(.title-description) {
  text-shadow:
    -1px 0 rgba(52, 30, 13, .95),
    1px 0 rgba(52, 30, 13, .95),
    0 -1px rgba(52, 30, 13, .95),
    0 1px rgba(52, 30, 13, .95),
    0 1px 0 #fff3d8,
    0 2px 0 #d0b88d,
    0 3px 0 #9d8058,
    0 4px 0 #705333,
    0 5px 0 #4b321d,
    0 6px 0 #2a190d,
    0 9px 12px rgba(0, 0, 0, .9),
    0 0 24px rgba(0, 0, 0, .45);
}

.hero-title .title-line:first-child {
  color: #fff;
  text-shadow:
    -1px 0 rgba(65, 12, 8, .98),
    1px 0 rgba(65, 12, 8, .98),
    0 -1px rgba(65, 12, 8, .98),
    0 1px rgba(65, 12, 8, .98),
    0 1px 0 #fff3d8,
    0 2px 0 #d0b88d,
    0 3px 0 #9d8058,
    0 4px 0 #705333,
    0 5px 0 #4b321d,
    0 6px 0 #2a190d,
    0 9px 12px rgba(0, 0, 0, .9),
    0 0 24px rgba(0, 0, 0, .45);
}

.title-line { display: block; }

.hero-title .title-description { margin-top: clamp(8px, 1.5vw, 16px); }

.title-accent {
  color: #f2bd00;
  text-shadow:
    -1px 0 rgba(70, 39, 10, .98),
    1px 0 rgba(70, 39, 10, .98),
    0 -1px rgba(70, 39, 10, .98),
    0 1px rgba(70, 39, 10, .98),
    0 1px 0 #fff0a1,
    0 2px 0 #e5a900,
    0 3px 0 #b97900,
    0 4px 0 #87500a,
    0 5px 0 #60370c,
    0 6px 0 #38200b,
    0 9px 12px rgba(0, 0, 0, .9),
    0 0 22px rgba(207, 147, 51, .28);
}

.hero > .download-widget {
  max-width: 1120px;
  margin-top: 17px;
  padding: 13px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero > .download-widget::before {
  display: none;
}

.hero > .download-widget .download-platforms {
  border-left: 0;
  border-top: 0;
  padding-left: 0;
}

.hero > .download-widget .download-platforms-label {
  color: #c3ae87;
  letter-spacing: .12em;
}

.hero > .download-widget .download-platform-btn {
  border-radius: 1px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 2px 0 #080706;
}

.download-btn-main {
  filter: none;
}

.download-btn-main.pointing-finger::before {
  content: '➜';
  color: #ff0000;
}

.download-btn-main .server-status {
  gap: 5px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #3d250f;
  box-shadow: none;
}

.download-btn-main .server-status::before,
.download-btn-main .server-status::after { display: none; }

.download-btn-main .server-dot {
  width: 6px;
  height: 6px;
  min-width: 6px;
  border: 0;
  box-shadow: 0 0 0 1px rgba(61, 37, 15, .18);
}

.download-btn-main .server-status.status-online { color: #315522; }
.download-btn-main .server-status.status-online .server-dot { background: #4f972f; box-shadow: 0 0 0 1px rgba(49, 85, 34, .24); }
.download-btn-main .server-status.status-offline { color: #f2bd00; }
.download-btn-main .server-status.status-offline .server-dot { background: #f2bd00; box-shadow: 0 0 0 1px rgba(242, 189, 0, .24); }
.download-btn-main .server-status.status-checking { color: #5d4725; }
.download-btn-main .server-status.status-checking .server-dot { background: #f2bd00; box-shadow: 0 0 0 1px rgba(242, 189, 0, .24); }
.download-btn-main .server-status.status-online,
.download-btn-main .server-status.status-offline,
.download-btn-main .server-status.status-checking {
  color: #f2bd00;
}

.download-btn-main .server-text {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: currentColor;
  text-shadow: 0 1px 2px #261204, 0 0 4px rgba(38, 18, 4, .9);
}

.download-btn-main .server-status.status-online { color: #c9ed8c; }
.download-btn-main .server-status.status-offline { color: #f2bd00; }
.download-btn-main .server-status.status-checking { color: #f2bd00; }

.download-btn-main .server-dot {
  box-shadow: 0 0 0 1px rgba(38, 18, 4, .72), 0 0 4px currentColor;
}

.download-btn-main .server-status.status-online .server-dot { background: #76d248; }
.download-btn-main .server-status.status-offline .server-dot { background: #f2bd00; }
.download-btn-main .server-status.status-checking .server-dot { background: #f2bd00; }

.footer-copy,
.footer-legal { color: #000; font-size: 13px }
.footer-legal a { color: #000; font-weight: 700; }

@media (max-width: 900px) {
  .hero { padding: 32px 16px 26px; }
  .hero-copy { padding: 0; }
  .hero-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}

@media (max-width: 560px) {
  .hero-copy { text-align: center; align-items: center; }
  .hero-logo { align-self: center; width: clamp(76px, 22vw, 112px); margin: 0 0 12px; }
  .hero-title {
    width: 100%;
    font-size: clamp(3rem, 13vw, 4.2rem);
    letter-spacing: 0;
  }
}

@media (max-width: 360px) {
  .hero { padding-right: 12px; padding-left: 12px; }
  .hero-copy { padding-right: 0; padding-left: 0; }
  .hero-title { font-size: 2.65rem; }
  .hero > .download-widget { padding-right: 12px; padding-left: 12px; }
  .download-btn-main { width: 184px; }
}

.hero > .download-widget {
  grid-template-areas: 'browser platforms';
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  overflow: visible;
  gap: clamp(20px, 4vw, 54px);
  width: min(100%, 1120px);
  margin-top: 20px;
  padding: 16px 0 4px;
}

.hero > .download-widget .download-platforms {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.hero > .download-widget .download-platforms {
  align-items: flex-end;
  text-align: right;
}

.hero > .download-widget .download-platforms-label {
  margin-bottom: 8px;
  color: rgba(241, 231, 213, .68);
  font: 600 .68rem/1.2 'Roboto', Arial, sans-serif;
  letter-spacing: .1em;
}

.hero > .download-widget .download-platform-list { gap: 8px; }

.hero > .download-widget .download-platform-btn {
  padding: 8px 12px;
  border: 1px solid rgba(231, 214, 182, .35);
  border-radius: 4px;
  background: rgba(16, 14, 12, .4);
  color: #eee3d0;
  font: 500 .78rem/1 'Roboto', Arial, sans-serif;
  box-shadow: none;
  transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}

.hero > .download-widget .download-platform-btn svg { color: #d8bf8d; }

.hero > .download-widget .download-platform-btn:hover,
.hero > .download-widget .download-platform-btn:focus-visible {
  border-color: #e2c684;
  background: rgba(66, 49, 27, .68);
  color: #fff8ea;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .hero > .download-widget {
    grid-template-areas: 'browser platforms';
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px 24px;
  }

  .hero > .download-widget .download-platforms {
    align-items: center;
    text-align: center;
    padding-top: 14px;
    border-top: 1px solid rgba(231, 214, 182, .2);
  }
}

@media (max-width: 700px) {
  .hero > .download-widget {
    grid-template-areas: 'browser' 'platforms';
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 10px;
    padding-top: 12px;
  }

  .play-now-row small {
    width: 100%;
    text-align: center;
  }

  .wop-game-heading  {
    text-align: left;
  }
  
  .wop-game-description {
    font-size: 14px;
    text-align: left;
  }

  .wop-game-description-inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .wop-game-logo {
    align-self: center;
    width: clamp(96px, 28vw, 150px);
  }

  .wop-game-logo-panel {
    flex: 0 0 auto;
    width: 100%;
  }

  .wop-game-text {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .wop-game-video {
    padding: 18px 10px 26px;
  }

  .hero > .download-widget .download-platforms { align-items: center; text-align: center; }
  .hero > .download-widget .download-platforms { padding-top: 12px; }
}

.hero > .download-widget .download-platforms.download-platforms-inline {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 4px;
  white-space: nowrap;
  text-align: center;
}

.hero > .download-widget .download-platforms-inline .download-platforms-label {
  margin: 0;
  text-transform: none;
}

.android-text-link {
  color: #f2bd00;
  font: 600 .76rem/1.2 'Roboto', Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.android-text-link:hover { color: #fff4d8; }
.android-text-link:focus-visible { outline: 2px solid #f2bd00; outline-offset: 3px; }

.eu-flag { display: inline-block; width: 18px; height: 12px; margin: 0 3px 0 0; vertical-align: -1px; border-radius: 1px; }

.play-now-row .download-btn-main { flex: 0 0 auto; width: 200px; height: 70px; margin: 0; max-width: 100%; appearance: none; text-align: center; }
.play-now-row .download-btn-main:focus-visible { outline: 3px solid #f2bd00; outline-offset: 4px; }
.play-now-row .play-version { margin-top: 0; text-align: center; }



@media (max-width: 700px) { .play-now-row .download-btn-main { width: 210px; } }

.hero > .android-download {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
}
.hero > .android-download .download-platforms {
  align-items: center;
  text-align: center;
  padding: 0;
  border: 0;
}

.floating-community { position: fixed; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); z-index: 180; }
.floating-community-links { display: flex; gap: 8px; }
.floating-community-link { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid rgba(242, 189, 0, .3); border-radius: 50%; background: rgba(16, 14, 11, .85); box-shadow: 0 2px 8px #0006; transition: transform .15s, background .15s; }
.floating-community-link:hover { transform: translateY(-3px); background: #30271c; }
.floating-community-link:focus-visible { outline: 2px solid #f2bd00; outline-offset: 3px; }
.community-icon { display: flex; align-items: center; justify-content: center; }
.community-icon img { width: 24px; height: 24px; display: block; object-fit: contain; }
@media (max-width: 640px) {
  .floating-community { top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); }
}
.footer-container { max-width: 100%; overflow-x: auto; }
.footer-two-lines { margin: 0; }
.footer-two-lines .footer-copy,
.footer-two-lines .footer-legal-links { display: block; margin: 0; }
.footer-two-lines .footer-copy { line-height: 1.35; }
.footer-two-lines .footer-legal-links { margin-top: 10px; }

.hero-main { display: flex; justify-content: center; width: 100%; }
.hero-copy { align-items: center; text-align: center; }
.hero-logo { align-self: center; margin: 0 0 18px; }
.hero-title { text-align: center; }

.play-now-row .download-btn-main > span:first-child { font-size: 24px; line-height: 1; }
.play-now-row .download-btn-main .server-text { font-size: 9px; line-height: 1; letter-spacing: 0.3px; }

/* --- Hero: Android + description side-by-side boxes --- */
.hero > .hero-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  align-items: stretch;
  gap: clamp(14px, 2vw, 24px);
  width: min(100%, 1120px);
  margin-top: 4px;
}

.hero > .hero-bottom > .android-download,
.hero > .hero-bottom > .wop-game-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 22px 24px;
  border: 1px solid rgba(205, 170, 105, 0.42);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(50, 38, 25, 0.92), rgba(20, 15, 11, 0.94) 60%, rgba(12, 9, 7, 0.96)),
    url('../media/textures/navbar-wood.png');
  background-size: auto, 512px 512px;
  box-shadow:
    inset 0 1px 0 rgba(242, 189, 0, 0.1),
    inset 0 -10px 22px rgba(0, 0, 0, 0.32),
    0 10px 28px rgba(0, 0, 0, 0.42);
  align-items: stretch;
  text-align: left;
}

.hero > .hero-bottom > .android-download {
  align-items: center;
  text-align: center;
}

.hero > .hero-bottom > .android-download .download-platforms {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.hero > .hero-bottom > .android-download .download-platforms-label {
  margin: 0;
  color: rgba(241, 231, 213, 0.72);
  text-transform: none;
}

.hero > .hero-bottom > .android-download .android-text-link {
  font-size: 0.95rem;
}

.hero > .hero-bottom .wop-game-description-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 2vw, 30px);
}

.hero > .hero-bottom .wop-game-logo-panel {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero > .hero-bottom .wop-game-logo {
  width: clamp(84px, 9vw, 132px);
  height: auto;
}

.hero > .hero-bottom .wop-game-text {
  flex: 1 1 auto;
  max-width: none;
  min-width: 0;
}

.hero > .hero-bottom .wop-game-heading {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1.1;
  text-align: left;
}

.hero > .hero-bottom .wop-game-text p {
  margin: 0 0 8px;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero > .hero-bottom .wop-game-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .hero > .hero-bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .hero > .hero-bottom > .android-download,
  .hero > .hero-bottom > .wop-game-description {
    padding: 18px 20px;
  }
}

@media (max-width: 700px) {
  .hero > .hero-bottom .wop-game-description-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero > .hero-bottom .wop-game-logo {
    width: clamp(84px, 24vw, 120px);
  }
}

/* --- Hero: two boxes (play box left, description box right) --- */
.hero > .hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: clamp(14px, 2vw, 24px);
  width: min(100%, 1120px);
  margin: 0 auto;
}

.hero > .hero-grid > .hero-play-box,
.hero > .hero-grid > .wop-game-description {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.hero > .hero-grid > .hero-play-box {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero > .hero-grid > .wop-game-description {
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: left;
}

.hero > .hero-grid .hero-logo {
  align-self: center;
  width: clamp(84px, 8vw, 124px);
  height: auto;
  margin: 0 0 18px;
  filter: drop-shadow(2px 4px 3px rgba(0, 0, 0, .72));
}

.hero > .hero-grid .hero-title {
  width: 100%;
  margin: 0;
  text-align: center;
}

.hero > .hero-grid .play-now-row {
  width: 100%;
  margin-top: 20px;
}

.hero > .hero-grid .android-download {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.hero > .hero-grid .android-download .download-platforms {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.hero > .hero-grid .android-download .download-platforms-label {
  display: inline;
  margin: 0;
  color: rgba(241, 231, 213, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: none;
}

.hero > .hero-grid .android-download .android-text-link {
  font-size: 0.78rem;
}

.hero > .hero-grid .wop-game-description-inner {
  position: relative;
  display: block;
  width: auto;
  max-width: 100%;
  padding: 1px;
  border: 1px solid #000;
  border-radius: 10px;
  background: rgba(0, 0, 0, .68);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .05);
  text-align: left;
}

.hero > .hero-grid .wop-game-frame-inner {
  position: relative;
  padding: clamp(16px, 2vw, 24px) clamp(18px, 2.2vw, 28px);
  border: 1px solid #1c1c1c;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(12, 12, 12, .72) 0%, rgba(5, 5, 5, .78) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 24px rgba(0, 0, 0, .5);
}

.hero > .hero-grid .wop-game-frame-inner::after {
  content: none;
}

.hero > .hero-grid .wop-game-heading {
  margin: 0 0 16px;
  color: #f2bd00;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.12;
  text-align: left;
}

.hero > .hero-grid .wop-game-description-inner p {
  margin: 0 0 12px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero > .hero-grid .wop-game-description-inner p:last-child {
  margin-bottom: 0;
}

.hero > .hero-grid .wop-game-video.wop-game-video-inline {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #1c1c1c;
}

@media (max-width: 900px) {
  .hero > .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

.top-community-bar {
  position: relative;
  z-index: 190;
  width: 100%;
  padding: 8px 10px;
  background-color: #000;
  border-bottom: 2px solid #2c1e0e;
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.28), 0 6px 22px rgba(0, 0, 0, 0.45);
}

.top-community-bar .floating-community {
  position: static;
  display: flex;
  align-items: stretch;
  width: min(100%, 1120px);
  margin: 0 auto;
  top: auto;
  right: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.community-heading {
  margin: 0 0 8px;
  color: #f2bd00;
  font-family: 'Pirata One', cursive;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.top-community-bar .floating-community-links {
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-community-bar .floating-community-links li {
  display: flex;
}

.top-community-bar .community-social-group .floating-community-link {
  border: 1px solid #000;
  border-radius: 8px;
  background: linear-gradient(180deg, #b0b0b0 0%, #8e8e8e 55%, #6d6d6d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 2px 6px #0008;
}

.top-community-bar .community-social-group .floating-community-link:hover {
  transform: none;
  background: linear-gradient(180deg, #c8c8c8 0%, #a6a6a6 55%, #828282 100%);
}

.top-community-bar .community-social-group .floating-community-link.community-discord {
  border-color: rgba(88, 101, 242, .65);
  background: linear-gradient(180deg, #303136 0%, #202126 55%, #15161a 100%);
}

.top-community-bar .community-social-group .floating-community-link.community-discord:hover {
  background: linear-gradient(180deg, #25262b 0%, #17181c 55%, #101114 100%);
}

.top-community-bar .community-social-group .community-icon img {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .65));
}

.top-community-bar .community-social-group .community-discord .community-icon img {
  width: 27px;
  height: 27px;
  filter: brightness(0) saturate(100%) invert(43%) sepia(89%) saturate(1900%) hue-rotate(215deg) brightness(120%) contrast(105%) drop-shadow(0 1px 1px rgba(0, 0, 0, .75));
}

.community-link-groups {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.top-community-bar .community-forum-group {
  justify-content: flex-start;
}

.top-community-bar .community-social-group {
  justify-content: flex-end;
  flex-wrap: nowrap;
  margin-left: auto;
}

.community-language-item {
  display: flex;
  align-items: center;
  margin-left: 2px;
}

.community-language-item::before {
  content: "";
  width: 1px;
  height: 18px;
  margin-right: 10px;
  background: rgba(242, 189, 0, .28);
}

.language-picker {
  position: relative;
  flex: 0 0 auto;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 190px;
  min-height: 28px;
  padding: 0 6px;
  border: 1px solid #000;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f2bd00;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  line-height: 1.15;
  letter-spacing: .02em;
}

.language-toggle:hover,
.language-toggle[aria-expanded="true"] {
  border-color: #000;
  color: var(--accent-gold-light);
  background: transparent;
}

.language-toggle:focus-visible {
  outline: 1px dashed var(--accent-gold-light);
  outline-offset: 3px;
}

.language-flag,
.language-option img {
  flex: 0 0 auto;
  width: 20px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7);
  object-fit: cover;
}

.language-current {
  max-width: 126px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #b5b5b5;
}

.language-toggle:hover .language-current,
.language-toggle[aria-expanded="true"] .language-current {
  color: #b5b5b5;
}

.language-chevron {
  flex: 0 0 auto;
  width: 9px;
  height: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform .15s;
}

.language-toggle[aria-expanded="true"] .language-chevron {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 220;
  width: 220px;
  max-height: 320px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  border: 1px solid #000;
  border-radius: 6px;
  background: #fdfcf8;
  box-shadow: 0 12px 30px #000c;
  list-style: none;
}

.language-menu[hidden] {
  display: none;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  text-align: left;
}

.language-option:hover,
.language-option:focus-visible {
  background: rgba(242, 189, 0, .16);
  outline: 1px solid #000;
  outline-offset: -1px;
}

.language-option[aria-selected="true"] {
  color: #000;
  font-weight: 500;
}

.language-option[aria-selected="true"] img {
  box-shadow: 0 0 0 1px #000, 0 0 0 2px #000;
}

.language-option[aria-selected="true"]::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: #00ff00;
}

@media (max-width: 520px) {
  .top-community-bar .community-social-group {
    flex-wrap: wrap;
    justify-content: center;
  }

  .community-language-item::before {
    margin-right: 6px;
  }

  .language-toggle {
    max-width: 160px;
  }

  .language-current {
    max-width: 100px;
    font-size: 11px;
  }
}

@media (max-width: 520px) {
  .top-community-bar {
    padding: 8px 10px;
  }

  .community-link-groups {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }

  .top-community-bar .community-forum-group,
  .top-community-bar .community-social-group {
    justify-content: center;
    margin-left: 0;
  }
}

.top-community-bar .floating-community-link.community-forum {
  width: 106px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: url('../media/backgrounds/btn.png') center / 100% 100% no-repeat;
  box-shadow: none;
  color: #f4f0e8;
  text-decoration: none;
}

.top-community-bar .floating-community-link.community-forum:hover {
  transform: none;
  background: url('../media/backgrounds/btn.png') center / 100% 100% no-repeat;
}

.top-community-bar .floating-community-link.community-forum:hover .community-forum-label {
  background: linear-gradient(180deg, #f2bd00 0%, #f2bd00 48%, #f2bd00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 4px rgba(242, 189, 0, .8));
}

.top-community-bar .floating-community-link.community-play {
  width: 82px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: url('../media/backgrounds/btn.png') center / 100% 100% no-repeat;
  box-shadow: none;
  color: #f4f0e8;
  cursor: pointer;
  text-decoration: none;
}

.top-community-bar .floating-community-link.community-play:hover {
  transform: none;
  background: url('../media/backgrounds/btn.png') center / 100% 100% no-repeat;
}

.top-community-bar .floating-community-link.community-play:hover .community-play-label {
  color: #ff0000;
  -webkit-text-fill-color: #ff0000;
  filter: drop-shadow(0 0 4px rgba(255, 0, 0, .85));
}

.community-play-label {
  font-family: 'Pirata One', cursive;
  font-size: 1.14rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: #ff0000;
  -webkit-text-fill-color: #ff0000;
  filter: drop-shadow(0 1px 1px #000);
}

.community-forum-label {
  font-family: 'Pirata One', cursive;
  font-size: 1.14rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  background: linear-gradient(180deg, #fff 0%, #e3e3e3 48%, #a0a0a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px #000);
}


.wop-game-video section {
  width: min(100%, 760px);
}

.wop-game-video-inline {
  width: auto;
}

/* --- Simple black frame for the gameplay video --- */
.wop-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: auto;
  padding: 0;
  border: 10px solid transparent;
  border-image: url('../media/textures/video-frame-border.png') 10 / 10px / 0 stretch;
  border-radius: 0;
  background: #000;
  box-shadow: 0 0 0 1px #1a1a1a, 0 12px 28px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

.wop-video-frame::before,
.wop-video-frame::after {
  content: none;
}

.wop-video-inner {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.wop-video-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wop-game-video-inline .wop-video-frame {
  width: 100%;
}



/* --- FAQ under the gameplay video --- */
.wop-game-faq {
  background: #000;
  width: 100%;
  padding: 30px 10px 30px;
  display: flex;
  justify-content: center;
  border-top: solid 1px #222;
}

.wop-faq-intro {
  max-width: 760px;
  margin: -6px 0 26px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.wop-faq-intro strong {
  color: #f2bd00;
}

.wop-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 72px);
}

.wop-faq-item {
  padding: 22px 0 24px;
  border-top: 1px solid rgba(242, 189, 0, 0.16);
}

.wop-faq-item:nth-child(1),
.wop-faq-item:nth-child(2) {
  border-top: 0;
  padding-top: 0;
}

.wop-faq-question {
  margin: 0 0 8px;
  font-family: 'Pirata One', cursive;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  letter-spacing: 0.3px;
  line-height: 1.2;
  color: #f2bd00;
}

.wop-faq-answer {
  margin: 0;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.wop-faq-answer a {
  color: #f2bd00;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Play now call to action (between the FAQ and screenshots) --- */
.wop-game-playcta {
  background: linear-gradient(180deg, #b0b0b0 0%, #8e8e8e 55%, #6d6d6d 100%);
  width: 100%;
  padding: 34px 10px;
  display: flex;
  justify-content: center;
  border-top: solid 1px #222;
}

.wop-game-playcta section {
  width: min(100%, 1060px);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.wop-game-playcta .download-btn-main {
  flex: 0 0 auto;
  width: 200px;
  height: 70px;
  margin: 0;
  appearance: none;
  text-align: center;
}

.wop-game-playcta .download-btn-main > span:first-child {
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 700px) {
  .wop-game-playcta .download-btn-main {
    width: 210px;
  }
}

/* --- Screenshots gallery (between the FAQ and Where to find) --- */
.wop-game-screenshots {
  background: #000;
  width: 100%;
  padding: 30px 10px 34px;
  display: flex;
  justify-content: center;
  border-top: solid 1px #222;
}

.wop-screenshots-intro {
  max-width: 760px;
  margin: -6px 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.wop-screenshots-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 20px);
}

.wop-screenshot {
  margin: 0;
  min-width: 0;
}

.wop-screenshot-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(242, 189, 0, 0.35);
  border-radius: 8px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wop-screenshot-frame:hover,
.wop-screenshot-frame:focus-visible {
  border-color: rgba(242, 189, 0, 0.75);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.65);
}

.wop-screenshot-frame:focus-visible {
  outline: 2px solid #f2bd00;
  outline-offset: 3px;
}

.wop-screenshot-frame::before {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: 3;
  border: 1px solid rgba(242, 189, 0, 0.38);
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.wop-screenshot-frame::after {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 4;
  border-radius: 5px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(242, 189, 0, 0.75), transparent) top left / 26px 2px no-repeat,
    linear-gradient(180deg, rgba(242, 189, 0, 0.75), transparent) top left / 2px 26px no-repeat,
    linear-gradient(270deg, rgba(242, 189, 0, 0.75), transparent) top right / 26px 2px no-repeat,
    linear-gradient(180deg, rgba(242, 189, 0, 0.75), transparent) top right / 2px 26px no-repeat,
    linear-gradient(90deg, rgba(242, 189, 0, 0.75), transparent) bottom left / 26px 2px no-repeat,
    linear-gradient(0deg, rgba(242, 189, 0, 0.75), transparent) bottom left / 2px 26px no-repeat,
    linear-gradient(270deg, rgba(242, 189, 0, 0.75), transparent) bottom right / 26px 2px no-repeat,
    linear-gradient(0deg, rgba(242, 189, 0, 0.75), transparent) bottom right / 2px 26px no-repeat;
}

.wop-screenshot-frame img,
.wop-screenshot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.wop-screenshot-frame:hover img,
.wop-screenshot-frame:focus-visible img {
  transform: scale(1.03);
}

.wop-screenshot figcaption {
  margin-top: 9px;
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.35;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .wop-screenshot-frame,
  .wop-screenshot-frame img,
  .wop-screenshot img {
    transition: none;
  }

  .wop-screenshot-frame:hover img,
  .wop-screenshot-frame:focus-visible img {
    transform: none;
  }
}

/* --- Where to find War Of Pirates (under the FAQ) --- */
.wop-game-findus {
  background: #000;
  width: 100%;
  padding: 30px 10px 46px;
  display: flex;
  justify-content: center;
  border-top: solid 1px #222;
}

.wop-findus-intro {
  margin: -6px 0 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.wop-findus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wop-findus-list a {
  color: #f2bd00;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.wop-findus-list a:hover,
.wop-findus-list a:focus-visible {
  color: #f2bd00;
}

.wop-findus-itchio {
  position: absolute;
  top: -150%;
}

@media (max-width: 900px) {
  .wop-game-faq {
    padding: 22px 10px 22px;
  }

  .wop-faq-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .wop-faq-item {
    padding: 18px 0 20px;
    border-top: 1px solid rgba(242, 189, 0, 0.16);
  }

  .wop-faq-item:nth-child(1) {
    border-top: 0;
    padding-top: 0;
  }

  .wop-game-findus {
    padding: 22px 10px 36px;
  }

  .wop-findus-list {
    gap: 10px 20px;
  }

  .wop-game-screenshots {
    padding: 22px 10px 28px;
  }

  .wop-screenshots-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wop-screenshots-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .wop-screenshots-intro {
    margin-bottom: 18px;
  }

  .wop-screenshot figcaption {
    font-size: 0.78rem;
  }
}
