/* ====== Variables ====== */
:root {
  --primary-color: #9b4dca;
  --primary-dark: #7e36b0;
  --secondary-color: #606c76;
  --light-gray: #f4f5f6;
  --dark-gray: #333;
  --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --background: hsl(222, 84%, 5%);
  --radius: 1.25rem;
  --border: hsl(217, 32%, 17%);
  --backdrop-blur: blur(8px);
  --backdrop-brightness: brightness(1.3);
  --backdrop-grayscale: grayscale(20%);
  --backdrop-contrast: contrast(100%);
  --backdrop-hue-rotate: hue-rotate(15deg);
  --backdrop-sepia: sepia(0.2);
  --backdrop-saturate: saturate(1.25);
  --accent: hsl(188, 95%, 55%);
  --border: hsl(217, 32%, 17%);
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 120rem;
}

/* ====== Base Styles ====== */
body {
  color: var(--secondary-color);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  background-color: var(--background);
}

a.centerLink {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ====== Typography ====== */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #c1c1c1;
  font-weight: 300;
  letter-spacing: -0.05em;
  margin-bottom: 2rem;
}

h1 {
  font-size: 4.2rem;
  line-height: 1.2;
}

h2 {
  font-size: 3.6rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

p {
  margin-bottom: 2.5rem;
}

.section-subtitle {
  color: var(--secondary-color);
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 3rem;
  display: block;
}

section p {
  color: #fff;
  font-size: 1.55rem;
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.75rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.2rem auto;
}

/* ====== Header & Navigation ====== */
.header {
  padding: 1.15rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);

  --backdrop-blur: blur(8px);
  -webkit-backdrop-filter: var(--backdrop-blur) var(--backdrop-brightness)
    var(--backdrop-grayscale) var(--backdrop-contrast)
    var(--backdrop-hue-rotate) var(--backdrop-sepia) var(--backdrop-saturate);
  backdrop-filter: var(--backdrop-blur) var(--backdrop-brightness)
    var(--backdrop-contrast) var(--backdrop-hue-rotate);
  /* var(--backdrop-grayscale) var(--backdrop-sepia) var(--backdrop-saturate); */

  border-color: var(--border);
  border-bottom-style: solid;
  border-bottom-width: 1px;
}

.navigation {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
}

.navigation,
.navigation-company {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navigation-company span {
  font-size: 1.95rem;
  line-height: 1.75rem;
  font-weight: 900;
  color: #fff;
}

.navigation-company span:last-child {
  margin-left: 5px;
}

.navigation-title {
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background: linear-gradient(135deg, hsl(262, 83%, 65%), hsl(188, 95%, 55%));
  -webkit-background-clip: text;
}

.navigation-logo {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  border-radius: var(--radius);
  min-width: 40px;
  background: linear-gradient(135deg, hsl(262, 83%, 65%), hsl(188, 95%, 55%));
}

.navigation-logo--img {
  background: url("static/phatcat-loco.png");
  background-size: cover;
  background-repeat: no-repeat;
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius);
  opacity: 0;
  animation: fadeInBg 2s forwards;
}

@keyframes fadeInBg {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 0.85;
  }
}

.navigation-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation-item {
  margin-left: 3.2rem;
  margin-bottom: 0;
}

.navigation-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 250;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.navigation-link:hover,
.navigation-link:focus,
.navigation-link:active {
  color: var(--primary-color);
}

.navigation-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
  background: linear-gradient(135deg, hsl(262, 83%, 65%), hsl(188, 95%, 55%));
}

.navigation-link:hover::after,
.navigation-link:focus::after,
.navigation-link:active::after {
  width: 100%;
}

/* ====== Hero Section ====== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: radial-gradient(
    ellipse at center,
    hsl(262, 83%, 15%) 0%,
    hsl(222, 84%, 5%) 70%
  );
  position: relative;
  overflow: hidden;
  margin-top: 0;

  color: #fff;
}

.hero--multi-dis {
  border-color: var(--border);
  border-width: 1px;
  border-style: solid;
  padding: 5px 15px;
  border-top-left-radius: 20px 20px;
  border-bottom-left-radius: 20px 20px;
  border-top-right-radius: 20px 20px;
  border-bottom-right-radius: 20px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

.hero--btn-wrap button {
  margin: 5px 19px 10px 20px;
}

button {
  padding: 0 4.9rem;
  font-size: 1.25rem;
  height: 4.5rem;
  border-radius: 1.2rem;
}

button.button-outline {
  color: #fff;
  border-color: #fff;
}

.hero--pulse {
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--accent);
  border-top-left-radius: 20px 20px;
  border-bottom-left-radius: 20px 20px;
  border-top-right-radius: 20px 20px;
  border-bottom-right-radius: 20px 20px;
  margin-right: 10px;

  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero--text {
  font-size: 0.85em;
}

.hero h1 {
  font-weight: 900;
  font-size: 72px;
  color: #fff;
  margin: 16px 0;
  line-height: 80px;
  text-align: center;
}

.hero h1 span {
  display: block;
  text-align: center;
}

.hero h1 span:first-child {
  color: var(--primary-color);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background: linear-gradient(135deg, hsl(262, 83%, 65%), hsl(188, 95%, 55%));
  -webkit-background-clip: text;
}

.hero p.brag-line {
  margin-bottom: 3rem;
}

.hero .brag {
  padding-top: 2rem;
  display: flex;
  justify-content: center;
}

.hero .brag div {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 20px;
}

.hero .brag p span {
  display: block;
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 2.85rem;
  font-size: 30px;
  color: var(--primary-color);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background: linear-gradient(135deg, hsl(262, 83%, 65%), hsl(188, 95%, 55%));
  -webkit-background-clip: text;
  margin: 5px 0px;
}

.hero .brag p {
  font-size: 1.45rem;
}

/* ====== Multi-Platform Section ====== */

.multi-platform {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  letter-spacing: normal;
  padding-top: 8rem;
}

.multi-platform h2 {
  font-size: 4.65rem;
  line-height: 1;
  font-weight: 700;
  color: #fff;
}

.multi-platform h2 span {
  color: var(--primary-color);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background: linear-gradient(135deg, hsl(262, 83%, 65%), hsl(188, 95%, 55%));
  -webkit-background-clip: text;
}

.platform-badge h3 {
  color: #fff;
  font-weight: 300;
  padding: 20px 0 0 0;
  font-weight: 400;
}

.platform-badge-wrapper {
  flex-direction: row;
  display: flex;
  gap: 2.5rem;
}

.platform-badge {
  background: linear-gradient(135deg, hsl(262, 83%, 65%), hsl(188, 95%, 55%));
  transition: all 0.3s ease;
  text-align: center;
  border-radius: 1.75rem;
  max-width: 300px;
  min-height: 230px;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.platform-badge--logo {
  position: absolute;
  width: 100px;
  height: 40px;
  background: linear-gradient(135deg, hsl(262, 83%, 65%), hsl(188, 95%, 55%));
  transition: all 0.3s ease;
  top: 10px;
  left: 20px;
}

.platform-badge--logo.android {
  background: url("static/android.svg");
  background-repeat: no-repeat;
}

.platform-badge--logo.apple {
  background: url("static/apple.svg");
  background-repeat: no-repeat;
}

.platform-badge--logo.html5 {
  background: url("static/html5.svg");
  background-repeat: no-repeat;
}

/* ====== Games Section ====== */

.games-wrap {
  padding-top: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  letter-spacing: normal;
}

.games-wrap h2 {
  font-size: 4.65rem;
  line-height: 1;
  font-weight: 700;
  color: #fff;
}

.games-wrap h2 span {
  color: var(--primary-color);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background: linear-gradient(135deg, hsl(262, 83%, 65%), hsl(188, 95%, 55%));
  -webkit-background-clip: text;
}

/* .games-badges--wrap {
  margin-top: 3.2rem;
} */

.games-badges--wrap .row {
  margin: 20px 0;
}

.game-wrap--badge {
  max-width: 340px;
  background: linear-gradient(
    135deg,
    hsl(222, 84%, 8%) 0%,
    hsl(217, 32%, 17%) 100%
  );
  border-radius: 1rem;
  border-color: --border;

  border: solid;
  border-top-color: rgb(29, 40, 57);
  border-right-color: rgb(29, 40, 57);
  border-bottom-color: rgb(29, 40, 57);
  border-left-color: rgb(29, 40, 57);

  border: 1px solid hsl(217, 32%, 17%);
  transition: all 0.3s ease;
}

.game-wrap--badge:hover {
  transform: translateY(-8px);
  border-color: hsl(262, 83%, 65%);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.game-wrap--badge-top {
  height: 219px;
  background: linear-gradient(135deg, hsl(262, 83%, 65%), hsl(188, 95%, 55%));
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  position: relative;
}

.game-wrap--badge-top .game-wrap--feature {
  position: absolute;
  background-position: center center !important;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

.game-wrap--badge-bottom {
  padding: 2.5rem;
  min-height: 30rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
}

.game-wrap--badge-bottom h3 {
  font-weight: 700;
  color: #fff;
  font-size: 2.25rem;
  line-height: 2.25rem;
  padding: 0 0 1.5rem 0;
  margin: 0;
}

.game-wrap--badge-bottom p {
  color: hsl(215, 20%, 65%);
  font-size: 1.475rem;
  text-align: left;
  width: 100%;
}

.game-wrap--badge-bottom a,
.game-wrap--badge-bottom button {
  width: 100%;
}

.game-wrap--badge-tags {
  color: #fff;
  float: right;
  font-size: 12px;
  margin: 15px 20px 0 0;
}

.game-wrap--badge-tags span {
  margin-right: 10px;
  font-weight: 700;
  text-shadow: 2px 2px 5px #333;
}

/* ====== About Section ====== */

.about-phatcat {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.about-phatcat h2 {
  font-size: 4.65rem;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2.5rem;
}

.about-phatcat h2 span {
  color: var(--primary-color);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background: linear-gradient(135deg, hsl(262, 83%, 65%), hsl(188, 95%, 55%));
  -webkit-background-clip: text;
}

.about-phatcat p {
  color: #fff;
  font-size: 1.55rem;
  max-width: 700px;
  text-align: left;
  margin-bottom: 2.5rem;
}

.about-phatcat--points {
  margin-left: 5rem;
}

.about-phatcat--points h3 {
  color: #fff;
  font-size: 2.25rem;
}

.about-phatcat--points p {
  color: hsl(215, 20%, 65%);
}

.about-phatcat--mission,
.get-in-touch,
.contact-form {
  background-color: hsl(222, 84%, 8%);
  padding: 4rem;
  border-radius: 1rem;
  border-color: hsl(217, 32%, 17%);
  border: solid;
  text-align: center;
  border-width: 0.001rem;
  margin: 1rem;
  min-width: 450px;
}

.get-in-touch--wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex-direction: column;
}

.column.mission-column {
  display: flex;
  align-items: center;
  padding: 40px;
}

.about-phatcat--mission h3,
.get-in-touch h3,
.contact-form h3 {
  font-weight: 700;
  color: #fff;
}

.about-phatcat--mission p,
.get-in-touch p,
.contact-form p {
  color: hsl(215, 20%, 65%);
  text-align: center;
}

.about-phatcat--mission-points-wrap {
  display: flex;
  justify-content: space-around;
}

.about-phatcat--mission-points-wrap p {
  font-size: 1.5rem;
}

.about-phatcat--mission-points-wrap p span {
  background: linear-gradient(135deg, hsl(262, 83%, 65%), hsl(188, 95%, 55%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  font-weight: 700;
  font-size: 3.5rem;
}

/* ====== Contact Section ====== */

.contact {
  padding-top: 8rem;
  padding-bottom: 5rem;
  text-align: center;
}

.contact h2 {
  font-size: 4.65rem;
  line-height: 1;
  font-weight: 700;
  color: #fff;
}

.contact h2 span {
  color: var(--primary-color);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background: linear-gradient(135deg, hsl(262, 83%, 65%), hsl(188, 95%, 55%));
  -webkit-background-clip: text;
}

.contact .row {
  margin-top: 5.2rem;
}

.contact p {
  color: #fff;
  margin-bottom: 0;
}

.get-in-touch,
.get-in-touch h3,
.get-in-touch p,
.contact-form h3,
.contact-form p,
.contact-form label {
  text-align: left;
}

.get-in-touch p b {
  color: #fff;
}

.get-in-touch p {
  margin: 0 0 1.2rem 5rem;
  font-size: 1.45rem;
  color: hsl(215, 20%, 65%);
}

.contact-form label,
.contact-form input {
  font-size: 0.875rem;
  font-size: 1.45rem;
  font-weight: 300;
  color: #fff;
}

.contact-form input,
.contact-form textarea {
  background-color: hsl(217, 32%, 17%);
  border-color: hsl(217, 32%, 17%);
  color: #fff;
  padding: 2.2rem 1.35rem;
  border-radius: 1.2rem;
  border-width: 0.25rem;
}

.contact-form textarea {
  height: 180px;
  resize: none;
}

textarea:focus,
input:focus {
  border-color: #9b4dca;
  box-shadow: inset 0px 0px 2px 2px hsl(222, 84%, 5%);
}

#contactForm .error {
  border-color: red;
}

#formError {
  color: #fff;
  text-align: center;
  padding-bottom: 2.5rem;
}

#formError.error {
  text-align: left;
  color: red;
}

#formError img {
  width: 50px;
}

.contact-form button {
  width: 100%;
}

/* ====== Footer Section ====== */

footer {
  margin-top: 10rem;
  padding-top: 10rem;
  padding-bottom: 10rem;
  background: hsl(222, 84%, 8%);
  width: 100%;
  color: hsl(215, 20%, 65%);
  font-size: 1.45rem;
}

.links {
  text-align: right;
}

.links a {
  margin-left: 2.25rem;
}

footer h4 {
  color: #fff;
  font-size: 1.85rem;
  font-weight: 500;
}

a {
  color: hsl(215, 20%, 65%);
  line-height: 2rem;
  padding-bottom: 1rem;
}

a:hover {
  color: #9b4dca;
}

.footer-top {
  margin-bottom: 4rem;
}

/* .footer-top .column:not(:first-child) {
  padding-left: 5rem;
} */

.footer-bottom {
  border-color: hsl(217, 32%, 17%);
  border-top: 0.001rem solid;
  border-width: 0.001rem;
  padding-top: 2.4rem;
}

.footer-top a {
  display: block;
  position: relative;
}

.footer-top a::after {
  position: absolute;
  content: "";
  width: 1.85rem;
  height: 1.85rem;
  background-image: url("static/outbound.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 0.45em;
}

.footer-top .footer-logo--wrap a::after {
  background: none;
}

.footer-logo--wrap {
  display: flex;
}

.footer-logo--wrap .navigation-logo,
.footer-logo--wrap .navigation-logo .navigation-logo--img {
  width: 3rem;
  height: 3rem;
  min-width: auto;
}

.footer--logo {
  color: #fff;
  font-weight: 900;
  font-size: 1.85rem;
  padding-top: 0.45rem;
}

.footer--logo span {
  color: var(--primary-color);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background: linear-gradient(135deg, hsl(262, 83%, 65%), hsl(188, 95%, 55%));
  -webkit-background-clip: text;
}

/* ====== Animation Section ====== */

.fade-up {
  opacity: 0;
  transform: translateY(5rem);
  animation: fadeUp 1s ease-out forwards, opacityIn 1.4s ease-out forwards;
}

@keyframes fadeUp {
  to {
    transform: translateY(0);
  }
}

@keyframes opacityIn {
  to {
    opacity: 1;
  }
}

/* ====== Responsive Section ====== */

/* Larger than mobile screen */
@media (max-width: 40rem) {
  .header .navigation .navigation-list {
    display: none;
  }

  .hero--btn-wrap button {
    margin: 5px;
    padding: 0 2.5rem;
  }

  .platform-badge-wrapper {
    flex-direction: column;
  }

  .games-badges--wrap .column {
    margin: 20px 0;
  }

  .games-badges--wrap .row {
    margin: 0;
  }

  .hero {
    margin-top: 4rem;
  }
}

/* Custom for home-page */
@media (max-width: 60rem) {
  .about-phatcat .row,
  .contact .row {
    flex-direction: column;
  }
}

@media (max-width: 50rem) {
  .games-wrap .row,
  .footer .row {
    flex-direction: column;
  }

  .about-phatcat--mission,
  .get-in-touch,
  .contact-form {
    min-width: 100%;
    margin: 1rem auto;
  }
}

/* Larger than tablet screen */
@media (min-width: 80rem) {
}

/* Larger than desktop screen */
@media (min-width: 120rem) {
}

/* ====== Pages Section ====== */

.content {
  padding-top: 10rem;
}
