/*---------------------------------------------
  Fonts
---------------------------------------------*/

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

/*---------------------------------------------
  Utility
---------------------------------------------*/

:root {
  --background: #0e222d;
  --primary: #0f0704;
  --secondary: #0e2f3f;
  --accent: #db6e19;
  --green: #22c55e;
  --red: #db3434;
}

body {
  background: var(--background);
  font-family: "Montserrat", sans-serif;
  color: #d5d5d5;
}

b,
strong {
  color: var(--accent);
}

a {
  text-decoration: none;
  color: #ffffff;
}

/*---------------------------------------------
  Header
---------------------------------------------*/

header {
  position: sticky;
  top: 10px;
  z-index: 2;
}

header .navbar {
  background: radial-gradient(circle, var(--secondary) 0%, var(--background) 100%);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 20px;
}

header .navbar .navbar-brand {
  padding: 0;
}

header .navbar .navbar-brand img {
  height: 40px;
  width: 40px;
}

header .navbar .navbar-nav {
  width: 100%;
  gap: 10px;
}

header .navbar .navbar-nav .nav-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

header .navbar .navbar-nav .nav-item .nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #d5d5d5;
  text-transform: uppercase;
  padding: 5px 20px !important;
  border-radius: 8px;
  transition: all 0.3s;
}

header .navbar .navbar-nav .nav-item .nav-link:hover {
  background-color: var(--primary);
  color: #d5d5d5;
}

header .navbar .navbar-nav .nav-item .nav-link.active {
  background-color: var(--primary);
  color: #ffffff !important;
}

header .navbar .store-button {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  gap: 15px;
  background: var(--accent);
  box-shadow: 0 6px 0 var(--primary);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 10px 20px;
  margin-left: auto;
  transition: all 0.3s;
}

header .navbar .store-button:active {
  box-shadow: none;
  transform: translateY(4px);
}

header .navbar .store-button svg {
  width: 20px;
  fill: var(--primary);
}

header .navbar .store-button span {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

@media screen and (max-width: 767px) {
  header .navbar .navbar-nav {
    margin-top: 20px;
  }

  header .navbar .navbar-nav .nav-item .nav-link {
    width: 100%;
    text-align: center;
  }

  header .navbar .store-button {
    align-self: unset;
    margin-left: unset;
  }
}

/*---------------------------------------------
  Home - Hero
---------------------------------------------*/

#hero {
  position: relative;
  padding: 20vh 0;
  overflow: hidden;
}

#hero .background-gradient {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to top, var(--background), transparent);
  z-index: 1;
}

#hero .content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 768px;
  z-index: 1;
}

#hero .content h1 {
  font-size: 60px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 20px;
}

#hero .content p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 40px;
}

#hero .content .play {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background: var(--secondary);
  box-shadow: 0 6px 0 var(--primary);
  border: 2px solid var(--primary);
  border-radius: 16px;
  padding: 40px;
}

#hero .content .play p {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

#hero .content .play .join {
  flex-shrink: 0;
  background: var(--accent);
  box-shadow: 0 6px 0 var(--primary);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 10px 40px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s;
}

#hero .content .play .join:active {
  box-shadow: none;
  transform: translateY(4px);
}

#hero .character {
  position: absolute;
  top: -144px;
  right: 0;
  width: 550px;
}

@media screen and (max-width: 1199px) {
  #hero .content h1 {
    filter: drop-shadow(2px 2px 2px #000000);
  }

  #hero .content p {
    filter: drop-shadow(2px 2px 2px #000000);
  }
}

@media screen and (max-width: 991px) {
  #hero {
    padding: 10vh 0;
  }

  #hero .content {
    max-width: 100%;
  }

  #hero .content h1 {
    filter: none;
  }

  #hero .content p {
    filter: none;
  }
}

@media screen and (max-width: 575px) {
  #hero .content h1 {
    font-size: 40px;
  }

  #hero .content p {
    font-size: 16px;
  }

  #hero .play {
    flex-direction: column;
  }

  #hero .content .play p {
    font-size: 16px;
  }

  #hero .play .join {
    width: 100%;
  }
}

/*---------------------------------------------
  Home - Features
---------------------------------------------*/

#features {
  position: relative;
  margin-top: -60px;
  margin-bottom: 80px;
  z-index: 1;
}

#features .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

#features .card-grid .card {
  position: relative;
  background: var(--secondary);
  box-shadow: 0 6px 0 var(--primary);
  border: 2px solid var(--primary);
  border-radius: 16px;
  padding: 40px;
  overflow: hidden;
  transition: all 0.3s;
}

#features .card-grid .card h3 {
  position: relative;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  z-index: 1;
}

#features .card-grid .card p {
  position: relative;
  color: #d5d5d5;
  z-index: 1;
}

#features .card-grid .card svg {
  position: absolute;
  right: -40px;
  bottom: -40px;
  height: 200px;
  fill: #ffffff;
  opacity: 0.1;
}

@media screen and (max-width: 991px) {
  #features {
    margin-top: 0;
    margin-bottom: 40px;
  }
}

/*---------------------------------------------
  Home - Games
---------------------------------------------*/

#games {
  padding: 80px 0;
}

#games .heading {
  margin-bottom: 40px;
}

#games .heading span {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
}

#games .heading h2 {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
}

#games .games-swiper {
  min-height: 330px;
}

#games .games-swiper .game-card {
  position: relative;
  height: 320px;
  border-radius: 16px;
  transition: all 0.3s;
}

#games .games-swiper .game-card:is(.swiper-slide-active) {
  box-shadow: 0 6px 0 var(--primary);
  border: 2px solid var(--primary);
}

#games .games-swiper .game-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
}

#games .games-swiper .game-card:not(.swiper-slide-active) {
  transform: scale(0.8);
  opacity: 0.4;
  z-index: -1;
}

#games .games-swiper .game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

#games .games-swiper .game-card-details {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 40px;
}

#games .games-swiper .game-card:not(.swiper-slide-active) .game-card-details {
  display: none;
}

#games .games-swiper .game-card-details h3 {
  position: relative;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  filter: drop-shadow(2px 2px 2px #000000);
}

#games .games-swiper .game-card-details p {
  position: relative;
  margin: 0;
  filter: drop-shadow(2px 2px 2px #000000);
}

@media screen and (max-width: 991px) {
  #games {
    padding: 40px 0;
  }
}

@media screen and (max-width: 575px) {
  #games .heading span {
    font-size: 16px;
  }

  #games .heading h2 {
    font-size: 32px;
  }
}

/*---------------------------------------------
  Home - Team
---------------------------------------------*/

#team {
  padding: 80px 0;
}

#team .heading {
  margin-bottom: 40px;
}

#team .heading span {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
}

#team .heading h2 {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
}

#team .wrapper {
  position: relative;
  background: var(--secondary);
  box-shadow: 0 6px 0 var(--primary);
  border: 2px solid var(--primary);
  border-radius: 16px;
  overflow: hidden;
}

#team .wrapper .team-swiper .swiper-slide {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

#team .wrapper .team-swiper .swiper-slide .member-intro {
  grid-column: span 3 / span 3;
  padding: 40px 40px 0 40px;
}

#team .wrapper .team-swiper .swiper-slide .member-intro .member-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

#team .wrapper .team-swiper .swiper-slide .member-intro .member-profile h3 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

#team .wrapper .team-swiper .swiper-slide .member-intro .member-profile span {
  background: var(--accent);
  border-radius: 8px;
  padding: 2px 10px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
}

#team .wrapper .team-swiper .swiper-slide .member-intro p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  margin-bottom: 30px;
  color: #d5d5d5;
  overflow: hidden;
}

#team .wrapper .team-swiper .swiper-slide .member-avatar {
  position: relative;
  display: flex;
  justify-content: center;
  grid-column: span 2 / span 2;
}

#team .wrapper .team-swiper .swiper-slide .member-avatar img {
  position: absolute;
}

#team .wrapper .team-swiper .swiper-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
  padding: 0 40px 40px 40px;
}

#team .wrapper .team-swiper .swiper-buttons .team-swiper-button-prev svg,
#team .wrapper .team-swiper .swiper-buttons .team-swiper-button-next svg {
  height: 24px;
  width: 24px;
  fill: #ffffff;
}

#team .wrapper .team-swiper .swiper-buttons .team-swiper-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}

#team .wrapper .team-swiper .swiper-buttons .team-swiper-pagination .team-swiper-pagination-bullet {
  height: 30px;
  width: 30px;
  background-size: cover;
  border-radius: 6px;
  transition: all 0.3s;
}

#team .wrapper .team-swiper .swiper-buttons .team-swiper-pagination .team-swiper-pagination-bullet-active {
  margin-bottom: 10px;
}

#team .team-swiper-pagination-bullet:nth-child(1) {
  background-image: url("https://mc-heads.net/avatar/oOBetaOo");
}

#team .team-swiper-pagination-bullet:nth-child(2) {
  background-image: url("https://mc-heads.net/avatar/Vally90");
}

#team .team-swiper-pagination-bullet:nth-child(3) {
  background-image: url("https://mc-heads.net/avatar/Villag3r_");
}

#team .team-swiper-pagination-bullet:nth-child(4) {
  background-image: url("https://mc-heads.net/avatar/Unnm3d");
}

#team .team-swiper-pagination-bullet:nth-child(5) {
  background-image: url("https://mc-heads.net/avatar/TheLadyInBlack");
}

#team .team-swiper-pagination-bullet:nth-child(6) {
  background-image: url("https://mc-heads.net/avatar/ZeroFlex");
}

#team .wrapper .progress-bar {
  --progress: 0;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: calc(var(--progress) * 100%);
  background: var(--accent);
  border-radius: 8px;
  z-index: 1;
}

@media screen and (max-width: 991px) {
  #team {
    padding: 40px 0;
  }
}

@media screen and (max-width: 767px) {
  #team .wrapper .team-swiper .swiper-slide .member-intro {
    grid-column: span 5 / span 5;
  }

  #team .wrapper .team-swiper .swiper-slide .member-intro p {
    -webkit-line-clamp: none;
    line-clamp: none;
  }

  #team .wrapper .team-swiper .swiper-slide .member-avatar {
    display: none;
  }
}

@media screen and (max-width: 575px) {
  #team .heading span {
    font-size: 16px;
  }

  #team .heading h2 {
    font-size: 32px;
  }

  #team .wrapper .team-swiper .swiper-slide .member-intro .member-profile {
    flex-direction: column;
  }

  #team .wrapper .team-swiper .swiper-buttons .team-swiper-pagination {
    min-height: 80px;
  }
}

/*---------------------------------------------
  Legal Pages
---------------------------------------------*/

#legal {
  padding: 80px 0;
}

#legal .heading {
  margin-bottom: 40px;
}

#legal .heading span {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
}

#legal .heading h2 {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
}

#legal .wrapper {
  background: var(--secondary);
  box-shadow: 0 6px 0 var(--primary);
  border: 2px solid var(--primary);
  border-radius: 16px;
  padding: 40px;
}

#legal .wrapper.categories {
  position: sticky;
  top: 120px;
}

#legal .wrapper.categories h3 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}

#legal .wrapper.categories ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

#legal .wrapper.categories ul li .category {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

#legal .wrapper.categories ul li .category .number {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  box-shadow: 0 6px 0 var(--primary);
  border: 2px solid var(--primary);
  border-radius: 8px;
  min-width: 40px;
  padding: 10px;
  font-weight: 600;
  line-height: 1;
  color: var(--primary);
}

#legal .wrapper.categories ul li .category .title {
  position: relative;
  font-weight: 500;
  color: #ffffff;
}

#legal .wrapper.categories ul li .category .title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  border-radius: 8px;
  transition: all 0.3s;
}

#legal .wrapper.categories ul li .category:hover .title::after {
  width: 100%;
  left: 0;
  right: auto;
}

#legal .category-content:not(.active) {
  display: none;
}

#legal .category-content h3 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}

#legal .category-content h4 {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
}

#legal .category-content .alert {
  display: block;
  background: rgba(219, 110, 25, 0.6);
  box-shadow: inset 0 6px 0 0 rgba(15, 7, 4, 0.3);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

#legal .category-content .counter-start {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  counter-reset: rules-counter;
}

#legal .category-content .counter-start > li {
  position: relative;
  list-style: none;
  padding-left: 10px;
  line-height: 28px;
}

#legal .category-content .counter-start > li::after {
  content: counter(rules-counter);
  counter-increment: rules-counter;
  position: absolute;
  top: 5px;
  left: -30px;
  height: 24px;
  width: 30px;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  line-height: 24px;
  color: var(--primary);
}

@media screen and (max-width: 1199px) {
  #legal .wrapper.categories {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 991px) {
  #legal {
    padding: 40px 0;
  }
}

@media screen and (max-width: 575px) {
  #legal .heading span {
    font-size: 16px;
  }

  #legal .heading h2 {
    font-size: 32px;
  }
}

/*---------------------------------------------
  Footer
---------------------------------------------*/

footer {
  display: flex;
  justify-content: space-between;
  padding: 80px 0 40px 0;
}

footer .footer-left .buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

footer .footer-left .buttons .minecraft,
footer .footer-left .buttons .discord {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

footer .footer-left .buttons .minecraft span,
footer .footer-left .buttons .discord span {
  background: var(--secondary);
  box-shadow: 0 6px 0 var(--primary);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 10px 15px;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s;
}

footer .footer-left .buttons .minecraft:active span,
footer .footer-left .buttons .discord:active span {
  box-shadow: none;
  transform: translateY(4px);
}

footer .footer-left .copyright {
  font-size: 14px;
  color: rgba(213, 213, 213, 0.4);
}

footer .footer-left .links {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .footer-left .links a {
  font-size: 14px;
  color: #d5d5d5;
  text-decoration: none;
}

footer .footer-left .links svg {
  width: 5px;
  height: 5px;
  fill: #d5d5d5;
}

footer .footer-right {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: space-between;
}

footer .footer-right .socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

footer .footer-right .socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  background: var(--secondary);
  box-shadow: 0 6px 0 var(--primary);
  border: 2px solid var(--primary);
  border-radius: 8px;
  transition: all 0.3s;
}

footer .footer-right .socials a:active {
  box-shadow: none;
  transform: translateY(4px);
}

footer .footer-right .socials a svg {
  height: 20px;
  fill: #ffffff;
}

footer .footer-right .credits {
  font-size: 14px;
  color: rgba(213, 213, 213, 0.4);
  text-align: right;
}

footer .footer-right .credits a {
  color: #d5d5d5;
}

@media screen and (max-width: 991px) {
  footer {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }

  footer .footer-right {
    display: flex;
    align-items: start;
    gap: 20px;
  }

  footer .footer-right .credits {
    text-align: left;
  }
}

@media screen and (max-width: 575px) {
  footer .footer-left .buttons .discord {
    display: none;
  }
}

/*---------------------------------------------
  Applications Page
---------------------------------------------*/

.applications-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 40px;
}
.applications-cards .card {
  background: var(--secondary);
  box-shadow: 0 6px 0 var(--primary);
  border: 2px solid var(--primary);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
}
.applications-cards .card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}
.applications-cards .card p {
  color: #d5d5d5;
  margin-bottom: 20px;
}
.applications-cards .card .apply-button {
  display: inline-block;
  background: var(--accent);
  box-shadow: 0 6px 0 var(--primary);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: var(--primary);
  transition: all 0.3s;
}
.applications-cards .card .apply-button:active {
  box-shadow: none;
  transform: translateY(4px);
}