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

@font-face {
  font-family: Inter;
  src: url(../fonts/Inter/Inter-VariableFont_opsz\,wght.ttf);
}

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

html,
body {
  overflow-x: hidden;
  line-height: 1;
  font-family: Orbitron;
}

a {
  text-decoration: none;
}

/* Header styles  */

header {
  padding: 1.5rem 3rem;
  background: linear-gradient(0deg, #1e1b4b 0%, #1e1b4b 100%), #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  color: #eab308;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 2rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

.header-logo span {
  color: #fff;
}

header nav ul {
  display: flex;
  gap: 2.5rem;
  list-style-type: none;
}

header nav ul li a {
  color: #fff;
  font-family: Inter;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.75rem;
  letter-spacing: 0.02813rem;
  text-transform: uppercase;
}

header nav ul li .active {
  color: #c084fc !important;
}

.header-right-container {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.header-right-container .avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
}

.header-right-container .play-button {
  padding: 0.5rem 1.5rem;
  border-radius: 624.9375rem;
  background: #a855f7;
  box-shadow:
    0 0 10px 0 #a855f7,
    0 0 20px 0 #a855f7;
  color: #fff;
  font-family: Inter;
  font-weight: 600;
  line-height: 1.5rem;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  outline: none;
  cursor: pointer;
}

/* Footer styles */

footer {
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #1e1b4b;
}

footer .copyright {
  color: #9ca3af;
  font-family: Inter;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

footer .sm-container {
  display: flex;
  gap: 2rem;
}

footer .sm-container i {
  width: 1.25rem;
  color: #9ca3af;
}

/* Home page styles */

.home-hero-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  padding: 5rem;
  background-color: #1e1b4b;
}

.home-hero-section h1 {
  width: 100%;
  max-width: 30rem;
  color: #fff;
  font-size: 6rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-hero-section h1 span {
  background: linear-gradient(90deg, #eab308 0%, #a855f7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero-section .info-text {
  margin-top: 2rem;
  color: #d1d5db;
  font-family: Inter;
  font-size: 1.25rem;
  line-height: 1.75rem;
  width: 100%;
  max-width: 28rem;
}

.home-hero-section .actions-container {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.home-hero-section .actions-container .start-playing-button {
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  background: #eab308;
  box-shadow: 0 0 15px 0 rgba(234, 179, 8, 0.5);
  color: #1e1b4b;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.0625rem;
  text-transform: uppercase;
}

.home-hero-section .actions-container .watch-trailer-container {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.home-hero-section .actions-container .watch-trailer-container img {
  width: 3rem;
  height: 3rem;
}

.home-hero-section .actions-container .watch-trailer-container p {
  color: #ffffffcc;
  font-family: Inter;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  letter-spacing: 0.0875rem;
  text-transform: uppercase;
}

.home-hero-image {
  width: 100%;
}

.featured-games-section {
  padding: 0 5rem 5rem;
  background-color: #1e1b4b;
}

.featured-games-section .heading-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.featured-games-section .heading-row h3 {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
  letter-spacing: 0.225rem;
  text-transform: uppercase;
}

.featured-games-section .heading-row h3 span {
  color: #eab308;
}

.featured-games-section .heading-row a {
  color: #fff;
  font-family: Inter;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  letter-spacing: 0.0875rem;
  text-transform: uppercase;
}

.featured-games-section .featured-games {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.featured-games-section .featured-game img {
  width: 100%;
  border-radius: 1rem;
}

.featured-games-section .featured-game h4 {
  margin: 1.5rem 1.5rem 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2rem;
}

.featured-games-section .featured-game p {
  margin: 0.5rem 1.5rem 0;
  color: #9ca3af;
  font-family: Inter;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.featured-games-section .featured-game .featured-play-button {
  padding: 0.75rem;
  background-color: transparent;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: block;
  margin: 0.75rem 1.5rem;
  text-align: center;
  color: #fff;
  font-family: Inter;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
  letter-spacing: 0.075rem;
  text-transform: uppercase;
}

.home-stats-section {
  padding: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  background-color: #1e1b4b;
}

.home-stats-section .home-stat {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.home-stats-section .home-stat .stat-figure {
  font-size: 3rem;
  font-weight: 900;
}

.home-stats-section .home-stat .stat-figure.players {
  color: #eab308;
}

.home-stats-section .home-stat .stat-figure.games-played {
  color: #c084fc;
}

.home-stats-section .home-stat .stat-figure.jackpots {
  color: #a855f7;
}

.home-stats-section .home-stat .stat-name {
  color: #9ca3af;
  font-family: Inter;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
  letter-spacing: 0.075rem;
  text-transform: uppercase;
}

/* Games page styles */

.games-hero-section {
  background-color: #1e1b4b;
  padding: 5rem;
}

.games-hero-section h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
}

.games-hero-section h1 span {
  color: #eab308;
}

.games-hero-section .info-text {
  margin-top: 1rem;
  width: 100%;
  max-width: 40rem;
  color: #9ca3af;
  font-family: Inter;
  line-height: 1.5rem;
}

.games-catalogue-section {
  padding: 0 5rem 5rem;
  background-color: #1e1b4b;
}

.games-catalogue-section .category-buttons {
  display: flex;
  gap: 1rem;
}

.games-catalogue-section .category-button {
  padding: 0.5rem 1.5rem;
  border-radius: 624.9375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: Inter;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  letter-spacing: 0.0875rem;
  text-transform: uppercase;
  cursor: pointer;
}

.games-catalogue-section .category-button.active {
  background-color: #a855f7;
  border: none;
}

.games-catalogue-section .games-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.games-catalogue-section .game-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.games-catalogue-section .game-card img {
  width: 100%;
  opacity: 0.6;
  background: linear-gradient(0deg, #1e1b4b 0%, rgba(30, 27, 75, 0) 100%);
}

.games-catalogue-section .game-card h2 {
  margin: 1.5rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.games-catalogue-section .game-card p {
  margin: 0 1.5rem;
  color: #9ca3af;
  font-family: Inter;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.games-catalogue-section .game-card .play-now-button {
  margin: 1.5rem;
  width: calc(100% - 3rem);
  background-color: transparent;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem;
  cursor: pointer;
  color: #fff;
  font-family: Inter;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
  letter-spacing: 0.075rem;
  text-transform: uppercase;
}

/* Leaderboard page styles */

.leaderboard-heading-section {
  padding: 3rem 5rem 2rem;
  background-color: #1e1b4b;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.leaderboard-heading-section h1 {
  color: #fff;
  font-size: 3.75rem;
  font-weight: 900;
  letter-spacing: -0.1875rem;
  text-transform: uppercase;
}

.leaderboard-heading-section h1 span {
  color: #eab308;
}

.leaderboard-heading-section .info-text {
  color: #9ca3af;
  font-family: Inter;
  margin-top: 1rem;
}

.podium-section {
  padding: 2rem 5rem;
  display: flex;
  justify-content: center;
  background-color: #1e1b4b;
}

.podium-silver,
.podium-gold,
.podium-bronze {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 19rem;
}

.podium {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.podium h3 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-transform: uppercase;
}

.podium .points {
  color: #eab308;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
  text-transform: uppercase;
  font-family: Inter;
}

.podium.silver {
  border-radius: 0.75rem 0.75rem 0 0;
  border-top: 2px solid #9ca3af;
  background: linear-gradient(
    0deg,
    rgba(156, 163, 175, 0.2) 0%,
    rgba(156, 163, 175, 0.4) 100%
  );
  padding: 1rem;
  height: 8rem;
  width: 19rem;
}

.podium.gold {
  border-radius: 0.75rem 0.75rem 0 0;
  border-top: 2px solid #eab308;
  background: linear-gradient(
    0deg,
    rgba(234, 179, 8, 0.2) 0%,
    rgba(234, 179, 8, 0.4) 100%
  );
  height: 12rem;
  width: 19rem;
}

.podium.bronze {
  border-radius: 0.75rem 0.75rem 0 0;
  border-top: 2px solid #cd7f32;
  background: linear-gradient(
    0deg,
    rgba(205, 127, 50, 0.2) 0%,
    rgba(205, 127, 50, 0.4) 100%
  );
  height: 6rem;
  width: 19rem;
}

.avatar-container {
  position: relative;
}

.avatar.silver {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 4px solid #9ca3af;
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 0 20px 0 rgba(156, 163, 175, 0.4);
}

.avatar.gold {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  border: 4px solid #eab308;
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 0 30px 0 rgba(234, 179, 8, 0.6);
}

.avatar.bronze {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 4px solid #cd7f32;
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 0 20px 0 rgba(205, 127, 50, 0.4);
}

.position {
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: absolute;
  right: -0.5rem;
  bottom: -0.5rem;
}

.position.second-place {
  width: 2rem;
  height: 2rem;
  background-color: #9ca3af;
}

.position.first-place {
  width: 2.5rem;
  height: 2.5rem;
  background-color: #eab308;
}

.position.third-place {
  width: 2rem;
  height: 2rem;
  background-color: #cd7f32;
}

.crown {
  height: 1.875rem;
  position: absolute;
  left: 2rem;
  top: -1.75rem;
}

.global-rankings-section {
  padding: 4rem 5rem;
  background-color: #1e1b4b;
}

.global-rankings-container {
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
}

.global-rankings-container .heading-section {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  /* border-top-left-radius: 1rem;
  border-top-right-radius: 1rem; */
}

.global-rankings-container .heading-section h2 {
  color: #c084fc;
  font-weight: 700;
  line-height: 1.5rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.global-rankings-container .ranking-columns,
.global-rankings-section .ranking-row {
  display: grid;
  grid-template-columns: 1fr 4fr 1.5fr 1.5fr 2fr;
  padding: 1.5rem 2rem;
  align-items: center;
}

.global-rankings-container .ranking-columns p {
  color: #9ca3af;
  font-family: Inter;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
  text-transform: uppercase;
}

.global-rankings-container .ranking-row .rank {
  color: #6b7280;
  font-family: Inter;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.75rem;
}

.global-rankings-container .ranking-row .player-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.global-rankings-container .ranking-row .player-container img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.global-rankings-container .ranking-row .player-container p {
  color: #fff;
  font-family: Inter;
  font-weight: 600;
  line-height: 1.5rem;
}

.global-rankings-container .ranking-row .status {
  padding: 0.15625rem 0.5rem;
  border-radius: 0.25rem;
  font-family: Inter;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 0.9375rem;
  text-transform: uppercase;
  width: fit-content;
  height: fit-content;
}

.global-rankings-container .ranking-row .status.online {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.global-rankings-container .ranking-row .status.offline {
  background: #6b728033;
  color: #9ca3af;
}

.global-rankings-container .ranking-row .score {
  color: #eab308;
  font-weight: 700;
}

.global-rankings-container .ranking-row .games {
  color: #9ca3af;
  font-family: Inter;
}

/* Shop page styles */

.shop-hero-section {
  padding: 5rem;
  background-color: #1e1b4b;
}

.shop-hero-section h1 {
  font-size: 3.75rem;
  font-weight: 900;
  letter-spacing: -0.1875rem;
  text-transform: uppercase;
  color: #fff;
}

.shop-hero-section h1 span {
  color: #eab308;
}

.shop-hero-section .info-text {
  margin-top: 1rem;
  color: #9ca3af;
  font-family: Inter;
  line-height: 1.5rem;
}

.titan-skin-section {
  padding: 0 5rem 5rem;
  background-color: #1e1b4b;
}

.titan-skin-container {
  padding: 3rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    90deg,
    rgba(168, 85, 247, 0.2) 0%,
    rgba(234, 179, 8, 0.2) 100%
  );
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  place-items: center;
}

.titan-skin-container .limited-edition-container {
  padding: 0.15625rem 0.75rem;
  border-radius: 624.9375rem;
  background: #eab308;
  color: #1e1b4b;
  font-family: Inter;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 0.9375rem;
  letter-spacing: -0.01325rem;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 1.5rem;
}

.titan-skin-container h2 {
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
}

.titan-skin-container h2.yellow-text {
  color: #eab308;
}

.titan-skin-container .info-text {
  margin-top: 1.5rem;
  color: #d1d5db;
  font-family: Inter;
  line-height: 1.5rem;
}

.titan-skin-container .actions-container {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.titan-skin-container .points {
  color: #eab308;
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 2.25rem;
}

.titan-skin-container .coins-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.titan-skin-container .get-it-now-button {
  padding: 1rem 2.5rem;
  border-radius: 0.75rem;
  background: #a855f7;
  box-shadow:
    0 0 10px 0 #a855f7,
    0 0 20px 0 #a855f7;
  border: none;
  color: #fff;
  font-weight: 700;
  line-height: 1.5rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  cursor: pointer;
}

.titan-skin-container .shop-hero-image {
  width: 100%;
}

.products-section {
  padding: 5rem;
  background-color: #1e1b4b;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.product-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.product-card .product-image {
  width: 100%;
  aspect-ratio: 1;
}

.product-card .product-name {
  margin-top: 2.5rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.product-card .info-text {
  margin-top: 1rem;
  color: #9ca3af;
  font-family: Inter;
  font-size: 0.75rem;
  line-height: 1rem;
}

.product-card .actions-container {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-card .actions-container .points {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-card .num-points {
  color: #eab308;
  font-weight: 700;
  line-height: 1.5rem;
}

.product-card .coins-icon {
  width: 1rem;
  height: 1rem;
}

.product-card .buy-button {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  color: #fff;
  font-family: Inter;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
  letter-spacing: 0.075rem;
  text-transform: uppercase;
}

/* Support page styles */

.support-hero-section {
  padding: 5rem;
  background-color: #1e1b4b;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-hero-section h1 {
  color: #fff;
  font-size: 3.75rem;
  font-weight: 900;
  letter-spacing: -0.1875rem;
  text-transform: uppercase;
}

.support-hero-section h1 span {
  color: #eab308;
}

.support-hero-section .help-options {
  margin: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  place-items: center;
}

.support-hero-section .help-option {
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-hero-section .help-option img {
  width: 4rem;
  height: 4rem;
}

.support-hero-section .help-option h2 {
  margin-top: 1.5rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
  text-transform: uppercase;
}

.support-hero-section .help-option .info-text {
  color: #6b7280;
  text-align: center;
  font-family: Inter;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-top: 0.5rem;
}

.faq-section {
  padding: 0 5rem;
  background-color: #1e1b4b;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-section h2 {
  margin-bottom: 2.5rem;
  color: #fff;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 2.25rem;
  text-transform: uppercase;
}

.faq-section h2 span {
  color: #a855f7;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: Inter;
  font-weight: 600;
  line-height: 1.5rem;
  overflow: hidden;
  width: 100%;
  max-width: 50rem;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  flex-shrink: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
}

.faq-item[open] summary {
  background: #f5f3ff;
  color: #1e1b4b;
}

.faq-item summary:focus-visible {
  outline: 2px solid #7547ff;
  outline-offset: -4px;
}

.faq-answer {
  padding: 1.25rem 1.25rem;
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
}

.backup-section {
  padding: 5rem;
  background-color: #1e1b4b;
}

.backup-container {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, #1e1b4b 100%);
  padding: 3rem;
  display: flex;
  justify-content: space-between;
}

.backup-container h3 {
  color: #fff;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 2.25rem;
  text-transform: uppercase;
}

.backup-container h3 span {
  color: #eab308;
}

.backup-container .info-text {
  margin-top: 1rem;
  color: #9ca3af;
  font-family: Inter;
  line-height: 1.5rem;
}

.backup-container .buttons-container {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.backup-container .contact-button {
  border-radius: 0.75rem;
  background: #a855f7;
  box-shadow:
    0 0 10px 0 #a855f7,
    0 0 20px 0 #a855f7;
  padding: 1rem 2rem;
  color: #fff;
  font-family: Inter;
  font-weight: 600;
  line-height: 1.5rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.backup-container .discord-button {
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: Inter;
  font-weight: 600;
  line-height: 1.5rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  cursor: pointer;
}

/* Profile page styles */

.player-hero-section {
  padding: 5rem;
  background-color: #1e1b4b;
}

.player-hero-container {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.player-hero-container .avatar-container {
  position: relative;
}

.player-hero-container .player-avatar {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  padding: 0.25rem;
  border-radius: 624.9375rem;
  border: 4px solid #a855f7;
}

.player-hero-container .lightning-icon {
  width: 2.5rem;
  height: 2.5rem;
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
}

.player-hero-container .name-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.player-hero-container .name-container h2 {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 2.5rem;
  text-transform: uppercase;
}

.player-hero-container .name-container .level-container {
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #c084fc;
  font-family: Inter;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.075rem;
  text-transform: uppercase;
}

.player-hero-container .info-text {
  margin-top: 1rem;
  color: #9ca3af;
  font-family: Inter;
  line-height: 1.5rem;
}

.player-hero-container .stats-container {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.player-hero-container .stat {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.player-hero-container .stat-figure {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2rem;
  color: #eab308;
}

.player-hero-container .stat-figure.xp {
  color: #c084fc;
}

.player-hero-container .stat-figure.badges {
  color: #a855f7;
}

.player-hero-container .stat-name {
  margin-top: 0.25rem;
  color: #6b7280;
  text-align: center;
  font-family: Inter;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 0.9375rem;
  letter-spacing: 0.0625rem;
  text-transform: uppercase;
}

.profile-grid-section {
  padding: 5rem;
  background-color: #1e1b4b;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.profile-grid-section .top-badges-heading {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.profile-grid-section .top-badges-heading img {
  height: 1.25rem;
}

.profile-grid-section h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
  letter-spacing: 0.125rem;
  text-transform: uppercase;
}

.profile-grid-section .badges {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.profile-grid-section .badges .badge {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-grid-section .recent-activity-container {
  margin-top: 3rem;
}

.profile-grid-section .recent-activity {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-grid-section .recent-activity .activity {
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.profile-grid-section .recent-activity .activity img {
  width: 2.5rem;
  height: 2.5rem;
}

.profile-grid-section .recent-activity .activity .left-side {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.profile-grid-section .recent-activity .activity .activity-name {
  color: #fff;
  font-family: Inter;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
}

.profile-grid-section .recent-activity .activity .last-played {
  color: #6b7280;
  font-family: Inter;
  font-size: 0.625rem;
  line-height: 0.9375rem;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.profile-grid-section .recent-activity .activity .points-earned {
  color: #eab308;
  font-family: Inter;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
}

.profile-grid-section .favorites {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.profile-grid-section .favorite {
  border-radius: 1.5rem;
  overflow: hidden;
}

.profile-grid-section .favorite .fav-hero {
  width: 100%;
}

.profile-grid-section .favorite-info {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.profile-grid-section h4 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.profile-grid-section .high-score {
  margin-top: 0.5rem;
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  font-family: Inter;
}

.profile-grid-section .progress-container {
  margin-top: 1rem;
  width: 100%;
  height: 0.5rem;
  border-radius: 624.9375rem;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.profile-grid-section .progress-container .current-progress.purple {
  width: 75%;
  height: 0.5rem;
  background-color: #a855f7;
}

.profile-grid-section .progress-container .current-progress.yellow {
  width: 40%;
  height: 0.5rem;
  background-color: #eab308;
}

.profile-grid-section .level-container {
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.profile-grid-section .level-container .level-text {
  color: #9ca3af;
  font-family: Inter;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 0.9375rem;
  text-transform: uppercase;
}

.site-header,
.site-header * {
  box-sizing: border-box;
}

.site-header {
  gap: 2rem;
}

.site-header .header-logo {
  margin: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

.site-header .header-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  gap: 2rem;
}

.site-header nav {
  margin-inline: auto;
}

.site-header nav ul {
  margin: 0;
  padding: 0;
}

.site-header nav a,
.site-header .play-button {
  white-space: nowrap;
}

.site-header .header-right-container {
  flex-shrink: 0;
}

.site-header .avatar {
  display: block;
  object-fit: cover;
}

.site-header .play-button {
  border: none;
}

.site-header .menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.site-header .menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(0.475rem) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-0.475rem) rotate(-45deg);
}

.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 2px solid #eab308;
  outline-offset: 4px;
}

/* Ensure closed menus and hidden toggle buttons stay hidden. */
.site-header [hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .site-header {
    padding: 1.25rem 1.5rem;
    flex-wrap: wrap;
    gap: 0;
  }

  .site-header .header-menu {
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header nav {
    width: 100%;
    margin: 0;
  }

  .site-header nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }

  .site-header nav ul li a {
    display: block;
    padding: 0.75rem 0;
  }

  .site-header .header-right-container {
    justify-content: space-between;
    padding-bottom: 0.25rem;
  }
}

@media (max-width: 400px) {
  .site-header {
    padding: 1rem;
  }

  .site-header .header-logo {
    font-size: 1.125rem;
    letter-spacing: 0.06rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .menu-toggle span {
    transition: none;
  }
}

/* Responsive homepage */

.home-hero-section,
.featured-games-section,
.home-stats-section {
  padding-inline: clamp(1rem, 5vw, 5rem);
}

.home-hero-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.home-hero-section > *,
.featured-games-section .featured-game,
.home-stats-section .home-stat {
  min-width: 0;
}

.home-hero-section h1 {
  font-size: clamp(2.5rem, 6.5vw, 6rem);
  line-height: 1.1;
  overflow-wrap: break-word;
}

.home-hero-section .info-text {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

.home-hero-section .actions-container {
  flex-wrap: wrap;
  gap: 1.25rem;
}

.home-hero-section .actions-container .start-playing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem clamp(1.25rem, 3vw, 2.5rem);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.4;
  text-align: center;
}

.home-hero-section .watch-trailer-container img {
  flex-shrink: 0;
}

.home-hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.featured-games-section {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.featured-games-section .heading-row {
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.featured-games-section .heading-row h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.featured-games-section .heading-row > a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
}

.featured-games-section .featured-games {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

.featured-games-section .featured-game {
  display: flex;
  flex-direction: column;
}

.featured-games-section .featured-game img {
  display: block;
  width: 100%;
  height: auto;
}

.featured-games-section .featured-game h4 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.35;
  overflow-wrap: break-word;
}

.featured-games-section .featured-game p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.featured-games-section .featured-game .featured-play-button {
  margin-top: auto;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-stats-section {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: clamp(2rem, 5vw, 5rem);
  gap: clamp(1rem, 2.5vw, 2rem);
}

.home-stats-section .home-stat {
  padding: clamp(1rem, 2.5vw, 2rem);
  text-align: center;
}

.home-stats-section .home-stat .stat-figure {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

.home-stats-section .home-stat .stat-name {
  line-height: 1.5;
}

/* Tablets */
@media (max-width: 900px) {
  .home-hero-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .home-hero-section h1 {
    max-width: 40rem;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
  }

  .home-hero-section .info-text {
    max-width: 36rem;
    margin-top: 1.5rem;
  }

  .home-hero-section .right-side {
    width: 100%;
    max-width: 36rem;
    margin-inline: auto;
  }

  .featured-games-section .featured-games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Phones */
@media (max-width: 600px) {
  .home-hero-section {
    padding-block: 2.5rem;
    gap: 2rem;
  }

  .home-hero-section .actions-container {
    flex-direction: column;
    align-items: stretch;
    margin-top: 1.5rem;
  }

  .home-hero-section .actions-container .start-playing-button {
    width: 100%;
  }

  .home-hero-section .actions-container .watch-trailer-container {
    justify-content: center;
  }

  .featured-games-section .heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .featured-games-section .featured-games {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .featured-games-section .featured-game h4 {
    margin: 1rem 1rem 0;
  }

  .featured-games-section .featured-game p {
    margin-inline: 1rem;
  }

  .featured-games-section .featured-game .featured-play-button {
    margin-inline: 1rem;
  }

  .home-stats-section {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .home-stats-section .home-stat {
    padding: 1.5rem;
  }
}

/* Responsive games page */

.games-hero-section,
.games-catalogue-section {
  padding-inline: clamp(1rem, 5vw, 5rem);
}

.games-hero-section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.games-hero-section h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  overflow-wrap: break-word;
}

.games-hero-section .info-text {
  font-size: 1rem;
  line-height: 1.6;
}

.games-catalogue-section {
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.games-catalogue-section .category-buttons {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.games-catalogue-section .category-button {
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Keep button dimensions consistent when selected. */
.games-catalogue-section .category-button.active {
  border: 1px solid transparent;
}

.games-catalogue-section .games-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

.games-catalogue-section .game-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.games-catalogue-section .game-card img {
  display: block;
  width: 100%;
  height: auto;
}

.games-catalogue-section .game-card h2 {
  margin: 1.25rem;
  font-size: clamp(1.125rem, 1.8vw, 1.25rem);
  line-height: 1.4;
  overflow-wrap: break-word;
}

.games-catalogue-section .game-card p {
  margin: 0 1.25rem 1.25rem;
  line-height: 1.6;
}

.games-catalogue-section .game-card .play-now-button {
  width: calc(100% - 2.5rem);
  min-height: 2.75rem;
  margin: auto 1.25rem 1.25rem;
}

/* Preserve filtering when JavaScript uses the hidden attribute. */
.games-catalogue-section .game-card[hidden] {
  display: none !important;
}

.games-catalogue-section button:focus-visible {
  outline: 2px solid #eab308;
  outline-offset: 3px;
}

/* Smaller desktops */
@media (max-width: 1100px) {
  .games-catalogue-section .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tablets */
@media (max-width: 850px) {
  .games-catalogue-section .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Phones */
@media (max-width: 540px) {
  .games-catalogue-section .games-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .games-catalogue-section .category-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
  }

  .games-catalogue-section .category-button {
    width: 100%;
    padding: 0.65rem 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    white-space: normal;
  }
}

/* Responsive leaderboard */

.leaderboard-heading-section,
.podium-section,
.global-rankings-section {
  padding-inline: clamp(1rem, 5vw, 5rem);
}

.leaderboard-heading-section {
  padding-top: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.leaderboard-heading-section h1 {
  font-size: clamp(2rem, 6vw, 3.75rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.leaderboard-heading-section .info-text {
  max-width: 38rem;
  line-height: 1.6;
}

/* Podium */

.podium-section {
  align-items: flex-end;
  padding-top: 3rem;
}

.podium-section > div {
  flex: 1 1 0;
  width: auto;
  max-width: 19rem;
  min-width: 0;
}

.podium-section .podium {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.podium-section .podium h3 {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.podium-section .avatar {
  display: block;
  object-fit: cover;
}

.podium-section .crown {
  left: 50%;
  transform: translateX(-50%);
}

/* Rankings */

.global-rankings-section {
  padding-block: clamp(2rem, 5vw, 4rem);
}

.global-rankings-container .heading-section h2 {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  line-height: 1.4;
}

.global-rankings-container .ranking-columns,
.global-rankings-section .ranking-row {
  grid-template-columns:
    minmax(2rem, 0.6fr)
    minmax(0, 2.5fr)
    minmax(4rem, 1fr)
    minmax(5rem, 1fr)
    minmax(0, 1.5fr);
  gap: 1rem;
  padding: 1.25rem;
}

.global-rankings-container .ranking-row > * {
  min-width: 0;
}

.global-rankings-container .ranking-row + .ranking-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.global-rankings-container .ranking-row .player-container {
  gap: 0.75rem;
}

.global-rankings-container .ranking-row .player-container img {
  flex-shrink: 0;
  object-fit: cover;
}

.global-rankings-container .ranking-row .player-container p,
.global-rankings-container .ranking-row .games {
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.global-rankings-container .ranking-row .score {
  line-height: 1.4;
}

/* Tablet and phone ranking cards */

@media (max-width: 750px) {
  .global-rankings-container .ranking-columns {
    display: none;
  }

  .global-rankings-section .ranking-row {
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    grid-template-areas:
      "rank player status"
      ". score score"
      ". games games";
    gap: 0.75rem;
    padding: 1.25rem 1rem;
  }

  .global-rankings-container .ranking-row .rank {
    grid-area: rank;
  }

  .global-rankings-container .ranking-row .player-container {
    grid-area: player;
  }

  .global-rankings-container .ranking-row .status {
    grid-area: status;
  }

  .global-rankings-container .ranking-row .score {
    grid-area: score;
  }

  .global-rankings-container .ranking-row .games {
    grid-area: games;
  }

  .global-rankings-container .ranking-row .score::before,
  .global-rankings-container .ranking-row .games::before {
    color: #9ca3af;
    font-family: Inter, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
  }

  .global-rankings-container .ranking-row .score::before {
    content: "High score: ";
  }

  .global-rankings-container .ranking-row .games::before {
    content: "Game: ";
  }
}

/* Smaller podium */

@media (max-width: 600px) {
  .podium-section {
    padding-inline: 1rem;
  }

  .podium-section .avatar.silver,
  .podium-section .avatar.bronze {
    width: 3.5rem;
    height: 3.5rem;
    border-width: 3px;
  }

  .podium-section .avatar.gold {
    width: 4.5rem;
    height: 4.5rem;
    border-width: 3px;
  }

  .podium-section .crown {
    height: 1.5rem;
    top: -1.5rem;
  }

  .podium-section .position {
    width: 1.5rem;
    height: 1.5rem;
    right: -0.25rem;
    bottom: -0.25rem;
    font-size: 0.75rem;
  }

  .podium-section .position.first-place {
    width: 1.75rem;
    height: 1.75rem;
  }

  .podium-section .podium {
    padding: 1rem 0.375rem;
    gap: 0.375rem;
  }

  .podium-section .podium.gold {
    height: 10rem;
  }

  .podium-section .podium.silver {
    height: 7.5rem;
  }

  .podium-section .podium.bronze {
    height: 6rem;
  }

  .podium-section .podium h3 {
    font-size: 0.65rem;
    line-height: 1.4;
  }

  .podium-section .podium .points {
    font-size: 0.625rem;
    line-height: 1.5;
  }
}

/* Narrow phones */

@media (max-width: 400px) {
  .global-rankings-section .ranking-row {
    grid-template-columns: 1.5rem minmax(0, 1fr);
    grid-template-areas:
      "rank player"
      ". status"
      ". score"
      ". games";
  }

  .global-rankings-container .heading-section {
    padding: 1.25rem 1rem;
  }

  .global-rankings-container .ranking-row .player-container {
    gap: 0.5rem;
  }

  .global-rankings-container .ranking-row .player-container p {
    font-size: 0.875rem;
  }
}

/* Responsive shop page */

.shop-hero-section,
.titan-skin-section,
.products-section {
  padding-inline: clamp(1rem, 5vw, 5rem);
}

.shop-hero-section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.shop-hero-section h1 {
  font-size: clamp(2rem, 6vw, 3.75rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.shop-hero-section .info-text {
  max-width: 40rem;
  line-height: 1.6;
}

.titan-skin-section {
  padding-bottom: clamp(2rem, 5vw, 5rem);
}

.titan-skin-container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.25rem, 4vw, 3rem);
}

.titan-skin-container .left-side {
  width: 100%;
  min-width: 0;
}

.titan-skin-container h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.2;
  overflow-wrap: break-word;
}

.titan-skin-container .info-text {
  line-height: 1.6;
}

.titan-skin-container .shop-hero-image {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
}

/* Keep the price and coin together, with the button below. */
.titan-skin-container .actions-container {
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: start;
  gap: 1.25rem 0.75rem;
}

.titan-skin-container .get-it-now-button {
  grid-column: 1 / -1;
  min-height: 2.75rem;
  padding: 1rem 1.75rem;
}

/* Products */

.products-section {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  padding-block: clamp(2rem, 5vw, 5rem);
}

.products-section .product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.products-section .product-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.products-section .product-name {
  margin-top: 1.5rem;
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
  line-height: 1.4;
  overflow-wrap: break-word;
}

.products-section .info-text {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.products-section .product-card .actions-container {
  margin-top: auto;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.products-section .product-card .actions-container .points {
  gap: 0.5rem;
}

.products-section .coins-icon {
  flex-shrink: 0;
}

.products-section .buy-button {
  min-width: 4rem;
  min-height: 2.75rem;
}

.titan-skin-container button:focus-visible,
.products-section button:focus-visible {
  outline: 2px solid #eab308;
  outline-offset: 4px;
}

/* Tablets and smaller desktops */

@media (max-width: 1100px) {
  .products-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .titan-skin-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .titan-skin-container h2 {
    font-size: clamp(1.75rem, 5vw, 3rem);
  }

  .titan-skin-container .shop-hero-image {
    max-width: 30rem;
    margin-inline: auto;
  }
}

/* Phones */

@media (max-width: 540px) {
  .products-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .products-section .product-card {
    padding: 1.25rem;
  }

  .titan-skin-container .actions-container {
    grid-template-columns: max-content minmax(0, 1fr);
  }

  .titan-skin-container .get-it-now-button {
    width: 100%;
    padding-inline: 1rem;
  }

  .titan-skin-container .limited-edition-container {
    margin-bottom: 1rem;
  }
}

/* Responsive support page */

.support-hero-section,
.faq-section,
.backup-section {
  padding-inline: clamp(1rem, 5vw, 5rem);
}

.support-hero-section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.support-hero-section h1 {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-align: center;
  overflow-wrap: break-word;
}

.support-hero-section .help-options {
  width: 100%;
  max-width: 70rem;
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  place-items: stretch;
}

.support-hero-section .help-option {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}

.support-hero-section .help-option img {
  object-fit: contain;
  flex-shrink: 0;
}

.support-hero-section .help-option h2 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.4;
  overflow-wrap: break-word;
}

.support-hero-section .help-option .info-text {
  line-height: 1.6;
}

/* FAQs */

.faq-section h2 {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  line-height: 1.3;
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.faq-section .faq-item {
  min-width: 0;
  box-sizing: border-box;
}

.faq-section .faq-item summary {
  min-height: 2.75rem;
  padding: clamp(1rem, 3vw, 1.25rem);
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.faq-section .faq-item summary::after {
  flex-shrink: 0;
  margin-right: 0.25rem;
}

.faq-section .faq-answer {
  padding: clamp(1rem, 3vw, 1.25rem);
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* Contact section */

.backup-section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.backup-container {
  padding: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.backup-container .left-side {
  flex: 1 1 18rem;
  min-width: 0;
}

.backup-container h3 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.3;
  overflow-wrap: break-word;
}

.backup-container .info-text {
  line-height: 1.6;
}

.backup-container .buttons-container {
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 100%;
}

.backup-container .contact-button,
.backup-container .discord-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  box-sizing: border-box;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
}

.backup-container a:focus-visible,
.backup-container button:focus-visible {
  outline: 2px solid #eab308;
  outline-offset: 4px;
}

/* Tablets */

@media (max-width: 900px) {
  .backup-container {
    flex-direction: column;
    align-items: stretch;
  }

  .backup-container .left-side {
    flex: auto;
  }

  .backup-container .buttons-container {
    width: 100%;
  }

  .backup-container .contact-button,
  .backup-container .discord-button {
    flex: 1 1 12rem;
  }
}

/* Phones */

@media (max-width: 600px) {
  .support-hero-section .help-options {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .support-hero-section .help-option {
    padding: 1.5rem;
  }

  .support-hero-section .help-option h2 {
    margin-top: 1rem;
  }

  .support-hero-section .help-option .info-text {
    max-width: 25rem;
  }

  .backup-container {
    gap: 1.5rem;
  }

  .backup-container .buttons-container {
    flex-direction: column;
    align-items: stretch;
  }

  .backup-container .contact-button,
  .backup-container .discord-button {
    flex: auto;
    width: 100%;
    padding-inline: 1rem;
  }
}

/* Responsive profile page */

.player-hero-section,
.profile-grid-section {
  padding-inline: clamp(1rem, 5vw, 5rem);
  padding-block: clamp(2rem, 5vw, 5rem);
}

.player-hero-container {
  padding: clamp(1.25rem, 4vw, 3rem);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.player-hero-container .avatar-container {
  flex-shrink: 0;
}

.player-hero-container .player-avatar {
  display: block;
  width: clamp(6rem, 12vw, 9rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.player-hero-container .details-container {
  flex: 1;
  min-width: 0;
}

.player-hero-container .name-container {
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.player-hero-container .name-container h2 {
  min-width: 0;
  max-width: 100%;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.player-hero-container .name-container .level-container {
  flex-shrink: 0;
}

.player-hero-container .info-text {
  line-height: 1.6;
}

.player-hero-container .stats-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.5rem, 2vw, 1rem);
  max-width: 28rem;
  margin-top: 1.5rem;
}

.player-hero-container .stat {
  min-width: 0;
  padding: 0.75rem 0.5rem;
}

.player-hero-container .stat-figure {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  line-height: 1.4;
}

/* Main profile layout */

.profile-grid-section {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.profile-grid-section > * {
  min-width: 0;
}

.profile-grid-section h3 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.profile-grid-section .top-badges-heading img {
  flex-shrink: 0;
}

/* Badges */

.profile-grid-section .badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.5vw, 1rem);
}

.profile-grid-section .badges .badge {
  min-width: 0;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  aspect-ratio: 1;
}

.profile-grid-section .badges .badge img {
  display: block;
  width: 100%;
  max-width: 3rem;
  height: auto;
  max-height: 3rem;
  object-fit: contain;
}

/* Recent activity */

.profile-grid-section .recent-activity-container {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.profile-grid-section .recent-activity .activity {
  box-sizing: border-box;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.profile-grid-section .recent-activity .activity .left-side {
  flex: 1 1 10rem;
  min-width: 0;
  gap: 0.75rem;
}

.profile-grid-section .recent-activity .activity img {
  flex-shrink: 0;
  object-fit: contain;
}

.profile-grid-section .activity-text {
  min-width: 0;
}

.profile-grid-section .recent-activity .activity .activity-name {
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.profile-grid-section .recent-activity .activity .points-earned {
  white-space: nowrap;
}

/* Favourites */

.profile-grid-section .favorites {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.profile-grid-section .favorite {
  min-width: 0;
}

.profile-grid-section .favorite .fav-hero {
  display: block;
  width: 100%;
  height: auto;
}

.profile-grid-section .favorite-info {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.profile-grid-section .favorite-info h4 {
  overflow-wrap: break-word;
  line-height: 1.4;
}

.profile-grid-section .high-score {
  line-height: 1.6;
}

.profile-grid-section .level-container {
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

/* Tablets */

@media (max-width: 1100px) {
  .profile-grid-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .profile-grid-section .badges {
    max-width: 24rem;
  }
}

@media (max-width: 750px) {
  .player-hero-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .player-hero-container .details-container {
    width: 100%;
  }

  .player-hero-container .name-container {
    justify-content: center;
  }

  .player-hero-container .stats-container {
    margin-inline: auto;
  }
}

/* Phones */

@media (max-width: 540px) {
  .player-hero-container .name-container {
    flex-direction: column;
  }

  .player-hero-container .lightning-icon {
    width: 2rem;
    height: 2rem;
    right: 0.25rem;
    bottom: 0.25rem;
  }

  .profile-grid-section .favorites {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
