:root {
  --fade-color: #313e4e;
  --fade-height: 28vw;
  --page-padding: 4vw;
  --logo-offset: 4vw;
  --logos-gap: 2vw;

  --text-body: min(4vw, 4svh);
  --text-h4: min(3vw, 3svh);
  --text-h3: min(7vw, 7svh);
  --text-h2: min(12vw, 12svh);
  --text-gap: 8vw;
}

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

html {
  background: var(--fade-color);
}

body {
  min-height: 100vh;
  background: var(--fade-color);
  font-family: 'Poppins', sans-serif;
}

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

.hero {
  position: relative;
  overflow: hidden;
}

.hero__city {
  display: block;
  width: 100%;
}

.hero__sky,
.hero__car {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  will-change: transform;
}

.hero__sky {
  z-index: 0;
}

.hero__city {
  position: relative;
  z-index: 1;
}

.hero__car {
  z-index: 1;
  pointer-events: none;
}

.hero__fade {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: var(--fade-height);
  background: linear-gradient(to bottom, transparent, var(--fade-color));
  pointer-events: none;
  z-index: 2;
}

.logo {
  position: absolute;
  top: var(--logo-offset);
  left: 50%;
  width: 73.3vw;
  transform: translateX(-50%);
  z-index: 30;
  pointer-events: none;
  filter: drop-shadow(0 0.1vw 0.4vw rgba(0, 0, 0, 0.85));
}

.wishlist-link {
  position: absolute;
  left: 50%;
  top: 155vw;
  width: 100%;
  max-width: 70%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1vw;
  text-align: center;
  text-decoration: none;
}

.wishlist-link:hover {
  animation: wishlist-bounce 0.4s ease forwards;
}

@keyframes wishlist-bounce {
  0%   { transform: translateX(-50%) scale(1); }
  50%  { transform: translateX(-50%) scale(1.15); }
  100% { transform: translateX(-50%) scale(1.1); }
}

.wishlist-link img {
  width: 16vw;
  filter: drop-shadow(0 0.1vw 0.4vw rgba(0, 0, 0, 0.85));
}

.wishlist-link__text {
  position: relative;
  display: grid;
  width: 100%;
  font-family: 'Cherry Bomb One', cursive;
  font-weight: 400;
  font-size: 7vw;
  text-align: center;
  line-height: 0.8em;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 0.1vw 0.4vw rgba(0, 0, 0, 0.85));
}

.wishlist-link__text > span {
  grid-area: 1 / 1;
  width: 100%;
  white-space: normal;
  padding-bottom: 0.08em;
}

.wishlist-link__fill {
  color: transparent;
  background-image: linear-gradient(180deg, #ffd55f 0%, #ffbf3a 42%, #f07a28 100%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wishlist-link__outline {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.82vw #fff7e3;
  text-shadow:
    0 0.5vw 0.9vw rgba(0, 0, 0, 0.45),
    0 0.1vw 0.4vw rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

@supports not (-webkit-text-stroke: 0.82vw #fff7e3) {
  .wishlist-link__outline {
    color: #fff7e3;
    text-shadow:
      0.41vw 0 0 #fff7e3,
      -0.41vw 0 0 #fff7e3,
      0 0.41vw 0 #fff7e3,
      0 -0.41vw 0 #fff7e3,
      0.3vw 0.3vw 0 #fff7e3,
      -0.3vw 0.3vw 0 #fff7e3,
      0.3vw -0.3vw 0 #fff7e3,
      -0.3vw -0.3vw 0 #fff7e3,
      0 0.5vw 0.9vw rgba(0, 0, 0, 0.45);
  }
}

.itchio-link {
  position: absolute;
  left: 50%;
  top: 187vw;
  transform: translateX(-50%);
  z-index: 30;
  color: #e8dfc8;
  font-family: 'Cherry Bomb One', cursive;
  font-weight: 400;
  font-size: 3.5vw;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  filter: drop-shadow(0 0.1vw 0.4vw rgba(0, 0, 0, 0.85));
}

.itchio-link:hover {
  color: #ffbf3a;
}

.subpage-header {
  background: var(--fade-color);
  padding: var(--page-padding);
}

.subpage-back {
  color: #ffbf3a;
  text-decoration: none;
  font-size: var(--text-body);
}

.subpage-back:hover {
  text-decoration: underline;
}

.site-footer {
  background: var(--fade-color);
  padding: var(--page-padding);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--logos-gap);
}

.site-footer > a:first-child {
  justify-self: start;
}

.site-footer > a:last-child {
  justify-self: end;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5vw;
  align-items: center;
}

.site-footer__links a {
  color: #e8dfc8;
  text-decoration: none;
  font-size: min(3vw, 3svh);
}

.site-footer__links a:hover {
  color: #ffbf3a;
}

.site-footer > a:first-child img {
  width: 20vw;
}

.site-footer > a:last-child img {
  width: 8vw;
}

.content-width {
  max-width: 50em;
  margin-inline: auto;
  padding-inline: 8vw;
  color: #e8dfc8;
  font-size: var(--text-body);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 2vw;
}

.description {
  background: var(--fade-color);
  padding: 6vw 0;
}

.description .content-width {
  gap: var(--text-gap);
  text-align: center;
}

.content-section {
  background: var(--fade-color);
  color: #e8dfc8;
  padding: 6vw 0;
}


.content-section__title {
  font-family: 'Cherry Bomb One', cursive;
  font-weight: 400;
  font-size: var(--text-h2);
  color: #ffd55f;
  line-height: 1;
  margin-bottom: 1vw;
}

.content-section__inner h3 {
  font-family: 'Cherry Bomb One', cursive;
  font-weight: 400;
  font-size: var(--text-h3);
  color: #ffbf3a;
  margin-top: var(--text-gap);
}

.content-section__inner h4 {
  font-size: var(--text-h4);
  font-weight: 700;
  color: #e8dfc8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: -1.6vw;
}

.content-section__inner p {
  font-size: var(--text-body);
  line-height: 1.65;
}

.content-section__inner ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1vw;
}

.content-section__inner ul li {
  font-size: var(--text-body);
  line-height: 1.65;
  padding-left: 3vw;
  position: relative;
}

.content-section__inner ul li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: #f07a28;
  font-weight: 700;
}

.content-section__inner a {
  color: #ffbf3a;
}

.content-section__inner a:hover {
  color: #ffd55f;
}
