@import url('https://fonts.googleapis.com/css?family=Audiowide&display=swap');

:root {
  --bg: #111216;
  --footer: #0d0e11;
  --blue: #ea00ff;
  --dark-blue: #8b0097;
  --white: #f0f0f0;
  --dark: #1a1b21;
  --grey: #32343e;
  --text: #838383;
  --green: #57a959;
  --purple: #5151ba;
}


@font-face {
  font-family: ExtraBold;
  src: url(../fonts/Inter-ExtraBold.ttf);
}

@font-face {
  font-family: Bold;
  src: url(../fonts/Inter-Bold.ttf);
}

@font-face {
  font-family: Medium;
  src: url(../fonts/Inter-Medium.ttf);
}

@font-face {
  font-family: Light;
  src: url(../fonts/Inter-Light.ttf);
}



body,
html {
  background-color: var(--bg);
  background-image: url(/images/background.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  margin: 0;
  overflow-x: hidden;
}


html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

a,
ul,
li,
h1 {
  margin: 0;
  padding: 0;
  text-decoration: none;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* STORE START */
.store {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10rem;
}

.top-background {
  position: relative;
  width: 100%;
  height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 3.5rem solid black;
}

.top-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/images/top-background.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.top-background div {
  margin: 5rem;
  width: 90rem;
}

.top-background p {
  font-family: Bold;
  margin: 0rem auto 2rem auto;
  color: var(--white);
  font-size: 3rem;
  position: relative; /* Ensure the text stays above the pseudo-element */
}

.top-background a {
  background: linear-gradient(to left, #ff00ffe3, #7c0adae3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reasons {
  background-color: var(--dark);
  padding: 20px;
  border-radius: 15px;
  color: var(--white);
  text-align: center;
  margin-top: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  width: 97.5rem;
}

.reasons h1 {
  font-size: 2em;
  margin-bottom: 20px;
  font-family: Bold;
}

.reasons h1 a {
  background: linear-gradient(to left, #ff00ffe3, #7c0adae3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reasons p {
  font-size: 1.2em;
  margin-bottom: 30px;
  font-family: Medium;
}

.border {
  border-top: 2px solid var(--grey);
  margin: 20px 0;
}

.columns {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.box {
  background-color: var(--grey);
  border-radius: 10px;
  padding: 20px;
  width: calc(25% - 60px);
  margin: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s;
}

.mini-box {
  background: linear-gradient(to left, #ff00ff5d, #7c0ada5e);
  font-size: 2.5em;
  color: var(--blue);
  padding: 5px;
  border-radius: 8px;
  width: 60px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px auto 20px;
}

.box h1 {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-family: Bold;
}

.box p {
  font-size: 1em;
  line-height: 1.5em;
  font-family: Light;
}

@media (max-width: 768px) {
  .box {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .box {
    width: 100%;
  }
}


.filters-games {
  display: flex;
  gap: 3rem;
  background: #32343e42;
  backdrop-filter: blur(5px); /* Adjust the blur level as needed */
  -webkit-backdrop-filter: blur(5px); /* For Safari support */
  border-radius: 1rem;
  margin: 5rem 0rem 0rem 0rem;
}

.filters {
  display: flex;
  flex-direction: column;
  width: 15rem;
  flex-wrap: wrap;
  background: #1a1b219f;
  height: auto;
  padding: 1rem;
  backdrop-filter: blur(10px); /* Adjust the blur level as needed */
  -webkit-backdrop-filter: blur(10px); /* For Safari support */
  height: 100%;
  border-radius: 1rem;
}

.filters h1 {
  font-family: light;
  color: var(--white);
  font-size: 1rem;
  text-align: center;
  padding: 12px;
  margin-bottom: 4px;
  background-color: var(--grey);
  border-radius: 5px;
}

.filters i {
  margin-right: 8px;
  color: var(--blue);
}

.games {
  display: flex;
  flex-direction: row;
  justify-content: left;
  flex-wrap: wrap;
  width: 80rem;
}

.filter-btn:hover {
  box-shadow: 0 0 10px #7c0adaa4;
  /* Initial outer shadow */
}

.filter-btn {
  transition: box-shadow 0.5s ease,
}

.filters button {
  width: auto;
  padding: .7rem 1rem;
  color: var(--text);
  background-color: var(--dark);
  margin: .5rem;
  border-radius: 8px;
  border: none;
  transition: box-shadow 0.5s ease;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

.filter-selected {
  box-shadow: 0 0 10px #7c0adae3;
}

.filter-selected {
  color: var(--white) !important;
}

.game {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 18rem;
  height: fit-content;
  border-radius: 1rem;
  margin: 1rem 1rem;
}

.game-img {
  overflow: hidden;
  width: 100%;
  border-top: var(--blue) thin solid;
  border-right: var(--blue) thin solid;
  border-left: var(--blue) thin solid;
  border-top-right-radius: 1rem;
  border-top-left-radius: 1rem;
  aspect-ratio: 16/9;
  height: 14rem;
}

.game-img img {
  width: 100%;
  -webkit-mask: linear-gradient(180deg, white 15%, white 90%, transparent);
  mask: linear-gradient(180deg, white 15%, white 90%, transparent);
}

.game-box {
  display: flex;
  align-items: center;
  flex-direction: column;
  border-radius: 1rem;
  min-width: 100%;
  min-height: 9.5rem;
  border: var(--blue) thin solid;
  transform: translateY(-1.3rem);
  background-color: rgba(26, 27, 33, 0.7);
  backdrop-filter: blur(3px);
}

.game-info {
  display: flex;
  justify-content: space-between;
  width: 90%;
  margin: 1rem auto 0 auto;
}

.game-info h1 {
  color: var(--white);
  font-size: 16px;

  font-weight: initial;
  font-family: Bold;
}

.game-info p {
  color: var(--text);
  font-size: 14px;
  font-family: Light;
}

.game-info span {
  color: var(--blue);
}

.game-view {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 1rem;
  margin-top: auto;
  width: 90%;
  height: 5rem;
}

.pricing p {
  color: var(--text);
  font-family: Light;
  font-size: 12px;
  margin: 0 0 5px 0;
}

.pricing h1 {
  font-family: Bold;
  font-size: 24px;
  color: var(--white);
}

.pricing h2 {
  margin: 0;
  font-family: Medium;
  font-size: 16px;
  color: var(--white);
}


.view {
  padding: 1rem 1.5rem;
  font-family: Medium;
  color: var(--white);
  border-radius: 1rem;
  cursor: pointer;
  background-color: var(--dark);
  transition: background-color ease-in-out 150ms, border ease-in-out 150ms;
  border: var(--grey) thin solid;
}


.view:hover {
  border: var(--blue) thin solid;
  background-color: var(--dark-blue);
}

@media (max-width: 1600px) {
  .games {
    width: 60rem;
  }
}

@media (max-width: 1280px) {
  .games {
    width: 40rem;
  }
}

@media (max-width: 960px) {
  .filters {
      width: 70%;
      margin: auto;
  }

  .games {
      width: 100%;
      justify-content: center;
  }

  .game {
      width: 80%;
      margin: auto;
  }

  .filters-games {
      flex-direction: column;
      gap: 1rem;
      background: none;
      width: 100%;
  }
}

@media (max-width: 480px) {
  .filter-btn {
      font-size: 14px;
  }

  .filters h1 {
      font-size: 0.875rem;
  }

  .game-info h1, .game-info p {
      font-size: 0.875rem;
  }

  .pricing h1 {
      font-size: 1.5rem;
  }

  .pricing p {
      font-size: 0.875rem;
  }
}

/* STORE END */