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

:root {
  --colorTextBrighter: #fff;
  --colorText: #eee;
  --colorMindlabor: #ffe2cb;
  --colorBase: #333;
  --colorBack: #222;
  --colorPurple: #FF5149;
}

html {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  color: var(--colorText);
}

body {
  background: var(--colorBack);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

.scrollbar-hider {}

a {
  color: var(--colorTextBrighter);
}

h2 {
  font-size: 1.6em;
}

img {
  user-select: none;
  /* pointer-events: none; */
}

/*** PAGE WRAPPER START ***/
.page-wrapper {
  box-sizing: border-box;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-left: 16px;
  padding-right: 16px;
}

/*** PAGE WRAPPER END ***/

/*** PAGE HEADER START ***/
.page-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 5rem;
  justify-content: center;
  align-items: center;
  padding: 3rem 0rem;
}

/*** MINLABOR LOGO AND TEXT START ***/
.logo {
  display: flex;
  justify-content: center;
  gap: .4em 1.2rem;
  align-items: center;
  user-select: none;
  text-decoration: none;
}

.logo img {
  width: 6.5625em;
}

.logo h1 {
  font-size: 4.2em;
  color: var(--colorMindlabor);
  font-family: 'Jua', sans-serif;
  font-weight: 400;
  position: relative;
  top: .06em;
}

/*** MINLABOR LOGO AND TEXT END ***/

/*** NEWSLETTER START ***/
.newsletter {
  max-inline-size: 17.5rem;
}

.newsletter p {
  color: var(--colorTextBrighter);
  text-align: center;
  padding-bottom: .6rem;
}

.newsletter-input {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
}

.newsletter input {
  appearance: none;
  border: 0px;
  width: 286px;
  height: 48px;
  border-radius: .6rem;
  background-color: var(--colorBase);
  padding-left: 2.85rem;
  padding-right: 16px;
  color: #ccc;
  font-size: 1rem;
  font-family: inherit;
  user-select: none;
}

.newsletter input:focus {
  outline-style: solid;
  outline-width: 2px;
  outline-color: #fff;
}

.newsletter .mail {
  width: 2.3rem;
  position: absolute;
  padding: .6rem 0 0 .6rem;
}

.newsletter .submit {
  width: 1.2rem;
  height: 1.2rem;
}

.newsletter button {
  background-color: var(--colorPurple);
  appearance: none;
  border: 0px;
  width: 48px;
  height: 48px;
  float: right;
  border-radius: .6rem;
  cursor: pointer;
  transition: .15s;
}

.newsletter button:hover {
  background-color: var(--colorTextBrighter);
}

.newsletter button:hover>svg>path {
  fill: var(--colorPurple);
  transform: scale(.95);
}

.newsletter button:active {
  transform: scale(.95);
}

.successful-color::placeholder {
  color: #4AD295;
}

.successful-color {
  outline-style: solid;
  outline-width: 2px;
  outline-color: #4AD295;
}

.successful-envelope path {
  fill: #4AD295;
}

/*** NEWSLETTER END ***/
/*** PAGE HEADER END ***/

/*** MAIN SECTION START ***/
/*** GAME CONTAINER START ***/
.game-container {
  display: flex;
  justify-content: center;
  align-content: flex-start;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1130px;
  margin-inline: auto;
}

.game {
  max-width: 57rem;
  background: var(--colorBase);
  border-radius: 24px;
  padding: 16px;
  width: 260px;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: flex-start;
}

.game img {
  border-radius: 12px;
  width: 228px;
  aspect-ratio: 1;
  border: 4px solid #222;
  transition: 0.15s;
}

.game p {
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}

.hoverable:hover img {
  border: 4px solid var(--colorPurple);
}

.not-hoverable {
  pointer-events: none;
}

/*** GAME CONTAINER END ***/

/*** LOVE PUZZLES BUTTON START ***/
.main-button {
  min-height: 64px;
  text-decoration: none;
  background-color: var(--colorPurple);
  padding-inline: 4.548ch;
  padding-block: 0.725rem;
  margin-top: 60px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 24px;
  color: var(--colorTextBrighter);
  transition: .15s ease;
  transition-property: background-color, color;
}

.main-button:hover {
  background-color: var(--colorTextBrighter);
  color: var(--colorPurple);
}

.main-button:active {
  transition: .15s;
  transform: scale(.975)
}

/*** LOVE PUZZLES BUTTON END ***/
/*** MAIN SECTION END ***/

/*** GAME INFO SECTION START ***/
/*** GAME INFO CONTAINER START ***/
.game-info-container {
  max-width: 1130px;
  width: 100%;
  height: auto;
  margin-inline: auto;
  background: var(--colorBase);
  border-radius: 24px;
  padding: 16px;
}

.game-info-container p {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 24px;
  color: #eee;
  padding: 30px;
}

.image-container {
  position: relative;
  max-width: 1098px;
  width: 100%;
  height: auto;
  aspect-ratio: 1098/512;
  margin-bottom: 144px;
}

.game-banner {
  border-radius: 12px;
  width: 100%;
  height: auto;
  aspect-ratio: 1098/512;
  object-fit: cover;
  filter: brightness(67%);
}

.icon-frame {
  position: absolute;
  bottom: -144px;
  left: 50%;
  margin-left: calc(clamp(9rem, 6.828rem + 12.41vw, 14.4rem) / -2);
  background: var(--colorBase);
  border-radius: 24px;
  width: clamp(9rem, 6.828rem + 12.41vw, 14.4rem);
  aspect-ratio: 1;
  object-fit: cover;
  padding: 16px;
  filter: drop-shadow(#000 0px 0px 4px);
}

.icon-frame img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
}

/*** PLATFORM BUTTONS START ***/
.platform-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.platform-buttons a {
  border-radius: 12px;
  width: 252px;
  height: 80px;
  text-decoration: none;
  transition: 0.15s;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.platform-buttons a:hover {
  filter: drop-shadow(#000 0px 0px 8px);
}

.platform-buttons a:active {
  transition: .15s;
  transform: scale(.975)
}

.platform-buttons [href*='store.steampowered.com'] {
  background-image: url("../assets/platforms/steam.svg");
}

.platform-buttons [href*='itch.io'] {
  background-image: url("../assets/platforms/itch-io.svg");
}

.platform-buttons [href*='github.com'] {
  background-image: url("../assets/platforms/github.png");
}
.platform-buttons [href*='youtu.be']{
  background-image: url("../assets/platforms/youtube.svg");
}


.platform-buttons [href*='play.google.com'] {
  background-image: url("../assets/platforms/google-play.svg");
}

.platform-buttons [href*='apps.apple.com'] {
  background-image: url("../assets/platforms/app-store.svg");
}

.platform-buttons [href*='appgallery.huawei.com'] {
  background-image: url("../assets/platforms/appgallery.svg");
}


.platform-buttons [href*='press'] {
  background-image: url("../assets/platforms/press-kit.svg");
}

/*** PLATFORM BUTTONS ENDS ***/
/*** GAME INFO CONTAINER END ***/

/*** SCREENSHOTS STARTS ***/
.screenshots-container {
  margin-top: 60px;
  max-width: 1130px;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  gap: 16px;
  background: var(--colorBase);
  border-radius: 24px;
  padding: 16px;
}

.rounded-inside {
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.swiper-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.swiper-slide img:active {
  cursor: grabbing;
}

.swiper .swiper-button-prev,
.swiper .swiper-button-next {
  color: #fff;
  filter: drop-shadow(#000 0px 0px 4px);
}

.swiper .swiper-button-prev {
  left: var(--swiper-navigation-sides-offset, 15px);
  right: auto
}

.swiper .swiper-button-next {
  right: var(--swiper-navigation-sides-offset, 15px);
  left: auto;
}

.swiper .swiper-pagination-bullet-active {
  background: #fff;
  filter: drop-shadow(#000 0px 0px 4px);
}

/*** SCREENSHOTS END ***/
/*** GAME INFO SECTION END ***/

/*** ABOUT SECTION START ***/
/*** ABOUT CONTAINER START ***/
.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
  max-width: 1164px;
  margin-inline: auto;
}

.about {
  text-align: center;
  flex-direction: column;
  flex-basis: 1130px;
  max-width: 57rem;
  background: var(--colorBase);
  border-radius: 24px;
  padding: 16px;
}

.about p {
  font-size: 24px;
  margin-inline: auto;
  max-width: 850px;
}

.about h2 {
  font-weight: 600;
  color: #fff;
  pointer-events: none;
}

.about-buttons {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: center;
  align-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin-inline: auto;
  padding-top: 30px;
}

.about-button {
  min-height: 48px;
  width: 240px;
  text-decoration: none;
  background-color: var(--colorPurple);
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 24px;
  color: var(--colorTextBrighter);
  transition: .15s ease;
  transition-property: background-color, color;
  display: flex;
  flex-wrap: wrap;
  line-height: 2.4rem;
  padding-block: 0;
  display: inline-block;
}

.about-button:hover {
  background-color: var(--colorTextBrighter);
  color: var(--colorPurple);
}

.about-button:active {
  transition: .15s;
  transform: scale(.975)
}

/*** ABOUT CONTAINER END ***/

/*** AUTHOR CONTAINER START ***/
.author-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1130px;
  margin-inline: auto;
}

.author {
  max-width: 550px;
  width: 100%;
  text-align: center;
  background: var(--colorBase);
  border-radius: 24px;
  padding: 16px;
}

.author .title {
  font-weight: 300;
  color: #ddd;
  margin-inline: 0px;
}

.author p {
  font-size: 20px;
  margin-inline: 14px;
  max-width: 850px;
}

.author h3 {
  font-size: 24px;
  color: #fff;
  font-weight: 600;
}

.author .nickname {
  color: var(--colorPurple);
}

.author img {
  display: block;
  margin-inline: auto;
  border-radius: 12px;
  max-width: auto;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  pointer-events: none;
}

.author .meta {
  margin-block: 16px;
}

/*** AUTHOR CONTAINER END ***/
/*** ABOUT SECTION END ***/

/*** FOOTER SECTION START ***/
footer {
  width: 100%;
  padding: 3rem 0rem;
  max-width: 1220px;
  margin-inline: auto;
}

/*** SOCIAL ICONS START ***/
footer .social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

footer .social-links a {
  display: block;
  text-align: center;
  width: 48px;
  height: 48px;
}

footer .social-links i {
  font-size: 40px;
  text-align: center;
  position: relative;
  top: 5px;
  width: 100%;
  height: 100%;
}

.social-links [href*='discord.gg']:hover {
  color: #5662F6;
}

.social-links [href*='instagram.com']:hover {
  color: #F13268;
}

.social-links [href*='threads.net']:hover {
  color: #F13268;
}

.social-links [href*='x.com']:hover {
  color: #1D9BF0;
}

.social-links [href*='bsky.app']:hover {
  color: #1D9BF0;
}

.social-links [href*='mastodon.gamedev.place']:hover {
  color: #6363FF;
}

.social-links [href*='tiktok.com']:hover {
  color: #FE2C55;
}

.social-links [href*='reddit.com']:hover {
  color: #FF4300;
}

.social-links [href*='facebook.com']:hover {
  color: #1178F2;
}

.social-links [href*='linkedin.com']:hover {
  color: #0A66C2;
}

.social-links [href*='youtube.com']:hover {
  color: #FF0000;
}

.social-links [href*='steampowered.com']:hover {
  color: #1382B3;
}

.social-links [href*='play.google.com']:hover {
  color: #EFB701;
}

.social-links [href*='itch.io']:hover {
  color: #FA5C5C;
}

.social-links [href^='mailto:']:hover {
  color: #4AD295;
}

/*** SOCIAL ICONS END ***/

/*** FOOTER TEXT START ***/
footer p {
  margin-block-start: 60px;
}

footer a {
  transition: .15s ease color;
}

footer a:hover {
  color: var(--colorPurple);
}

/*** FOOTER TEXT END ***/
/*** FOOTER SECTION END ***/

/*** PRIVACY SECTION START ***/
.text-container {
  max-width: 1130px;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-inline: auto;
  background: var(--colorBase);
  border-radius: 24px;
  padding: 16px;
  gap: 16px;
  color: #eee;
  text-align: center;
}

/*** PRIVACY SECTION END ***/

@media (max-width: 1162px) {
  .author {
    max-width: calc(50vw - 15px - 16px);
    min-width: 248px;
  }
}

@media (max-width: 620px) {
  .logo {
    font-size: clamp(0.444rem, 0.042rem + 2.68vw, 1rem);
  }

  .author {
    max-width: 620px;
  }
}

@media (max-width: 573px) {
  .about-buttons {
    gap: 16px;
  }

  .about-button {
    width: 100%;
  }
}

@media (max-width: 550px) {
  .game {
    width: auto;
    height: auto;
  }

  .game img {
    width: 100%;
  }

  .swiper .swiper-button-prev,
  .swiper .swiper-button-next {
    display: none;
    visibility: hidden;
  }

  .game-info-container p {
    padding: 30px 0px;
  }
}

@media (max-width: 381px) {
  .newsletter input {
    width: 100%;
  }

  .newsletter p {
    font-size: clamp(10px, 5vw, 20px);
  }

  .newsletter button {
    aspect-ratio: 1;
  }
}

@media (max-width: 316px) {
  .platform-buttons a {
    border-radius: 12px;
    width: 216px;
    height: auto;
    aspect-ratio: 252/80;
    text-decoration: none;
    transition: 0.15s;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
}