
/* ===== Source: style.css ===== */
:root {
  /* Target Variables */
  --black: #000;
  --bg-color: #212429;
  --header-bg-clr: #171a21;
  --text-color: #fff;
  --text-clr-100: #dfe3e6;
  --text-clr-500: #96989a;
  --header-text-clr: #b8b6b4;
  --install-button-clr: #5c7e10;
  --input-clr: #32353c;
  --button-linear-gradient: linear-gradient(45deg, #28a2ff, #0051ff);
  /* Primary Color */
  --color-blue: #2076da;
  --color-green: #02b802;
  --color-yellow: #ecdd00;
  --color-orange: #ff8800;
  --color-purple: #6f5bd4;
  --color-red: #f50101;
  /* Background Color */
  --bg-color-light: var(--light);
  --bg-color-dark: var(--dark);
  /* Colors */
  --color-transparent-default: rgba(0, 0, 0, 0);
  --color-transparent-dark-01: rgba(0, 0, 0, 0.1);
  --color-transparent-dark-02: rgba(0, 0, 0, 0.2);
  --color-transparent-dark-03: rgba(0, 0, 0, 0.3);
  --color-transparent-dark-04: rgba(0, 0, 0, 0.4);
  --color-transparent-dark-05: rgba(0, 0, 0, 0.5);
  --color-transparent-dark-06: rgba(0, 0, 0, 0.6);
  --color-transparent-dark-07: rgba(0, 0, 0, 0.7);
  --color-transparent-dark-08: rgba(0, 0, 0, 0.8);
  --color-transparent-dark-09: rgba(0, 0, 0, 0.9);
  --color-transparent-light-01: rgba(255, 255, 255, 0.1);
  --color-transparent-light-02: rgba(255, 255, 255, 0.2);
  --color-transparent-light-03: rgba(255, 255, 255, 0.3);
  --color-transparent-light-04: rgba(255, 255, 255, 0.4);
  --color-transparent-light-06: rgba(255, 255, 255, 0.6);
  --color-transparent-light-07: rgba(255, 255, 255, 0.7);
  --color-transparent-light-08: rgba(255, 255, 255, 0.8);
  --color-transparent-light-09: rgba(255, 255, 255, 0.9);
  --color-gray-100: #f8f8f8;
  --color-gray-200: #ededed;
  --color-gray-300: #d9d9d9;
  --color-gray-400: #c3c3c3;
  --color-gray-500: #9c9a9a;
  --color-gray-600: #7b7b7b;
  --color-gray-700: #686868;
  --color-gray-800: #484848;
  --color-gray-900: #313131;
  --color-teal-050: #f1fef4;
  --color-teal-100: #e1fef1;
  --color-teal-200: #bffde7;
  --color-teal-300: #9ff9e1;
  --color-teal-400: #86f3df;
  --color-teal-500: #5cebdf;
  --color-teal-600: #31c9c9;
  --color-teal-700: #139baa;
  --color-teal-800: #0e6c81;
  --color-teal-900: #054861;
  --color-green-050: #f2fef1;
  --color-green-100: #e4fee1;
  --color-green-200: #c4fdbf;
  --color-green-200: #c4fdbf;
  --color-green-300: #9ff9a7;
  --color-green-400: #86f386;
  --color-green-500: #5ceb61;
  --color-green-600: #36c931;
  --color-green-700: #13aa25;
  --color-green-800: #1f810e;
  --color-green-900: #086105;
  --color-blue-050: #e5eeff;
  --color-blue-100: #d2e0fe;
  --color-blue-200: #a5befd;
  --color-blue-300: #799cfb;
  --color-blue-400: #597ef8;
  --color-blue-500: #2451f5;
  --color-blue-600: #193ed2;
  --color-blue-700: #112cb0;
  --color-blue-800: #0a1e8f;
  --color-blue-900: #061574;
  --color-gold-100: #fff7d1;
  --color-gold-200: #ffeba3;
  --color-gold-300: #ffdd75;
  --color-gold-400: #ffd152;
  --color-gold-500: #ffb914;
  --color-gold-600: #da9710;
  --color-gold-700: #b7780b;
  --color-gold-800: #925a07;
  --color-gold-900: #7c4a04;
  --color-gold-050: #fffceb;
  --color-red-100: #ffe0e0;
  --color-red-200: #ffbdbd;
  --color-red-300: #ff9e9e;
  --color-red-400: #ff8585;
  --color-red-500: #ff6161;
  --color-red-600: #f64e4e;
  --color-red-700: #d23232;
  --color-red-800: #a62323;
  --color-red-900: #781212;
  --color-red-050: #fff4f4;
  --color-overlay: var(--color-transparent-dark-02);
  /* Sizing */
  --header-height: 60px;
  --containr-max-width: 1000px;
  --containr-width: 90%;
  --helf-size: 50%;
  --helf-size-negative: -50%;
  --full-width: 100%;
  --full-height: 100%;
  --full-width-vw: 100vw;
  --full-height-vh: 100vh;
  --size-3rem: 3rem;
  --size-2_5rem: 2.5rem;
  --size-2rem: 2rem;
  --size-1_5rem: 1.5rem;
  --size-1rem: 1rem;
  --size-09rem: 0.9rem;
  --size-08rem: 0.8rem;
  --size-07rem: 0.7rem;
  --size-06rem: 0.6rem;
  --size-05rem: 0.5rem;
  --size-04rem: 0.4rem;
  --size-03rem: 0.3rem;
  --size-02rem: 0.2rem;
  --size-01rem: 0.1rem;
  /* Transition */
  --transition: 0.15s ease;
  /* Radius */
  --thin-radius: 0.2rem;
  --small-radius: 0.4rem;
  --big-radius: 0.8rem;
  --large-radius: 1.5rem;
  --large-radius-xl: 2rem;
  --large-radius-xxl: 3rem;
  --full-radius: 100%;
  /* Opacity */
  --opacity-0: 0;
  --opacity-10: 0.1;
  --opacity-20: 0.2;
  --opacity-30: 0.3;
  --opacity-40: 0.4;
  --opacity-50: 0.5;
  --opacity-60: 0.6;
  --opacity-70: 0.7;
  --opacity-80: 0.8;
  --opacity-90: 0.9;
  --opacity-100: 1;
  /* Padding */
  --card-padding-small: var(--size-05rem);
  --card-padding-medium: var(--size-1rem);
  --card-padding-big: var(--size-1_5rem);
  --card-padding-large: var(--size-2rem);
  --card-padding-large-xl: var(--size-2_5rem);
  --button-padding-small: var(--size-02rem --size-05rem);
  --button-padding-medium: var(--size-05rem --size-08rem);
  --button-padding-big: var(--size-07rem --size-1_5rem);
  --button-padding-large: var(--size-1rem --size-2rem);
  /* Shadow */
  --shadow-basic: 0 0.1rem 0.25rem 0 var(--color-transparent-dark-02);
  --shadow-hover: 0 0.5rem 0.7rem 0 var(--color-transparent-dark-03);
  --shadow-strong: 0 0.1rem 0.25rem 0 var(--color-transparent-dark-03);
  --shadow-stronger: 0 0.1rem 0.25rem 0 var(--color-transparent-dark-05);
  --shadow-big: 0 0 3rem var(--color-transparent-dark-03);
  --shadow-shallow: 0 0.1rem 0.5rem 0 var(--color-transparent-dark-04);
  --shadow-deep: 0 1rem 1.5rem var(--color-transparent-dark-02);
  /* Zindex */
  --z-index-sticky: 9;
  --z-index-header: 10;
  --z-index-dropdown: 20;
  --z-index-overlay: 100;
  --z-index-skip-main: 1000;
  /* Light color shades */
  --light: #ffffff;
  --light-50: #f9f9f9;
  --light-100: #f2f2f2;
  --light-200: #e6e6e6;
  --light-300: #cccccc;
  --light-400: #b3b3b3;
  --light-500: #999999;
  --light-600: #808080;
  --light-700: #666666;
  --light-800: #4d4d4d;
  --light-900: #333333;
  /* Dark color shades */
  --dark: #000000;
  --dark-50: #1a1a1a;
  --dark-100: #262626;
  --dark-200: #333333;
  --dark-300: #404040;
  --dark-400: #4d4d4d;
  --dark-500: #595959;
  --dark-600: #666666;
  --dark-700: #737373;
  --dark-800: #808080;
  --dark-900: #8c8c8c;
  /* Border variables */
  --border-thin: var(--border-xxs) solid;
  --border-medium: var(----border-xs) solid;
  --border-large: var(----border-m) solid;
  /* Border radius variables */
  --border-xxs: 1px;
  --border-xs: 2px;
  --border-s: 4px;
  --border-m: 8px;
  --border-l: 12px;
  --border-xl: 24px;
  --border-xxl: 44px;
  --border-rounded: 50%;
  /* Border color variables */
  --border-light: var(--light-300);
  --border-dark: var(--dark-300);
  /* Typography */
  --fw-thin: 100;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  --fs-tiny: 0.7rem;
  --fs-small: 0.8rem;
  --fs-small-xl: 0.9rem;
  --fs-medium: 1rem;
  --fs-medium-xl: 1.15rem;
  --fs-large: 1.25rem;
  --fs-large-xl: 1.4rem;
  --fs-large-xxl: 2rem;
  --fs-large-xxxl: 3.5rem;
  --fs-large-4xl: 5rem;

  /* Font family variable */
  --roboto: "Roboto", sans-serif;
  --noto-serif: "Noto Serif", serif;
  --kanit: "Kanit", sans-serif;
  --inter: "Inter", sans-serif;
  --lemonada: "Lemonada", cursive;
  --gluten: "Gluten", cursive;
  --ubunto: "Ubunto", sans-serif;
  --default-font: var(--roboto);
}

body {
  display: flex;
  flex-direction: column;
  min-width: var(--full-width-vw);
  min-height: var(--full-height-vh);
  background: var(--bg-color);
  scroll-behavior: smooth;
}

.body.bg-image {
  background-image: linear-gradient(135deg,#0e1720,#1b2838);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-content-overlay{
  position: fixed;
  display: none;
  inset: 0;
  background: var(--color-transparent-dark-05);
  transition: var(--transition);
  opacity: 0;
  z-index: 5;
}

.page-content-overlay.active{
  display: block;
  opacity: 1;
}

.container {
  margin: 0 auto;
  width: var(--containr-width);
  max-width: var(--containr-max-width);
}

header {
  position: relative;
  width: 100%;
  background: var(--header-bg-clr);
  color: var(--header-text-clr);
}

header .container .nav {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

header .container .nav .nav-left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 2rem;
}

header .container .nav .nav-left .button-open-navigation {
  position: relative;
  display: grid;
  place-items: center;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  display: none;
  cursor: pointer;
}

header .container .nav .nav-left .button-open-navigation i{
  color: var(--text-clr-500);
}

header .container .nav .nav-left .logo {
  max-width: 160px;
}

header .container .nav .nav-left .nav-item-wrapper {
  display: block;
}

header .container .nav .nav-left .nav-item-wrapper ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  list-style: none;
}

header .container .nav .nav-left .nav-item-wrapper .nav-item {
  text-decoration: none;
  font-size: var(--fs-medium);
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  color: var(--header-text-clr);
}

header .container .nav .nav-left .nav-item-wrapper .nav-item:hover{
  color: var(--color-blue);
  text-decoration: underline;
}

aside {
  position: fixed;
  display: flex;
  flex-direction: column;
  left: -380px;
  top: 0;
  width: 350px;
  height: var(--full-height-vh);
  background: var(--header-bg-clr);
  box-shadow: 0 0 0.5rem 0 rgb(0 0 0 / 85%);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: var(--transition);
  z-index: 100;
}

aside[active="true"]{
  left: 0px;
}

aside .menu-item-wrapper{
  display: flex;
  flex-direction: column;
}

aside .menu-item {
  position: relative;
  width: 100%;
  padding: 1rem 0.8rem;
  border-top: 0.05rem solid #2f3138;
  border-bottom: 0.05rem solid #000;
  font-size: 1.4rem;
  font-weight: var(--fw-light);
  text-transform: capitalize;
  color: var(--header-text-clr);
  text-decoration: none;
  cursor: pointer;
}

aside .menu-item.submenu-item-wrapper{
  cursor: default;
}

aside .menu-item-wrapper[menu-active-target="store"] .menu-item[dropdown-name="store"] {
  background: #192533;
  color: var(--text-color);
  border-bottom: 0.1rem solid #000;
}

aside .menu-item-wrapper[menu-active-target="community"] .menu-item[dropdown-name="community"] {
  background: #192533;
  color: var(--text-color);
  border-bottom: 0.1rem solid #000;
}

aside .menu-item i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition);
}

aside .menu-item-wrapper[menu-active-target="store"] .menu-item[dropdown-name="store"] i {
  transform: translateY(-50%) rotateZ(180deg);
}

aside .menu-item-wrapper[menu-active-target="community"] .menu-item[dropdown-name="community"] i {
  transform: translateY(-50%) rotateZ(180deg);
}

aside .submenu-item-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 0px;
  padding: 0;
  border: none;
  overflow: hidden;
  background: #192533;
  transition: var(--transition);
}

aside .menu-item-wrapper[menu-active-target="store"] .submenu-item-wrapper.store {
  border-top: 0.05rem solid #2f3138;
  border-bottom: 0.05rem solid #000;
  height: 300px;
}

aside .menu-item-wrapper[menu-active-target="community"] .submenu-item-wrapper.community {
  border-top: 0.05rem solid #2f3138;
  border-bottom: 0.05rem solid #000;
  height: 280px;
}

aside .submenu-item-wrapper .submenu-item{
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0.8rem 0rem 0.8rem 1.4rem;
  font-size: var(--fs-medium-xl);
  font-weight: var(--fw-light);
  text-transform: capitalize;
  color: var(--text-color);
  cursor: pointer;
}

aside .minor-menu-items{
  position: relative;
  display: flex;
  flex-direction: column;
  width: var(--full-width);
  margin-bottom: var(--size-1rem);
}

aside .minor-menu-items .menuitem{
  position: relative;
  width:var(--full-width);
  padding: var(--size-08rem);
  font-size: var(--fs-medium-xl);
  font-weight: var(--fw-light);
  text-transform: capitalize;
  color: var(--text-clr-500);
  cursor: pointer;
}

aside .mainmenu-footer-spacer{
  position: relative;
  height:var(--full-width);
}

aside .mainmenu-footer{
  position: relative;
  font-size: 0.7rem;
  white-space: normal;
  color: #8a8a8a;
  padding: 0 12px 24px 12px;
}

aside .mainmenu-footer .mainmenu-footer-logo{
  margin-bottom: 0.4rem;
}

aside .mainmenu-footer .mainmenu-footer-logo img{
  max-width: 100px;
}

aside .mainmenu-footer .mainmenu-valve-links a{
  color: #8a8a8a;
  font-size: 0.7rem;
}

header .nav .nav-right {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: var(--size-02rem);
  padding: var(--card-padding-small);
}

header .nav .nav-right .button {
  padding: var(--size-02rem) var(--size-05rem);
  text-decoration: none;
  font-size: var(--fs-small-xl);
  color: var(--header-text-clr);
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

header .nav .nav-right .button.login {
  border-right: var(--border-thin) var(--header-text-clr);
}

header .nav .nav-right .button.install {
  background: var(--install-button-clr);
  color: var(--text-color);
  box-shadow: var(--shadow-strong);
  text-wrap: nowrap;
}

header .nav .nav-right .button.language{
  width: var(--full-width);
  max-width: 100px;
  background: var(--header-bg-clr);
}


main {
  position: relative;
  width: 100%;
  min-height: 100%;
}

main .container{
  padding: calc(var(--size-3rem) + var(--size-3rem)) var(--size-3rem);
}

/* Auth pages only - center the login/register forms */
body[auth-mode] main .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

main .container .auth-container {
  display: none;
  flex-direction: column;
  width: var(--full-width);
  max-width:  700px;
}

body[auth-mode="sign-up"] main .container .sign-up-container,
body[auth-mode="sign-in"] main .container .sign-in-container  {
  display: flex;
}


main .container .auth-container .form-wrapper {
  position: relative;
  display: flex;
  gap: var(--size-2rem);
  padding: var(--card-padding-large);
  background: var(--header-bg-clr);
  border-radius: var(--big-radius);
  width: var(--full-width);
  box-shadow: var(--shadow-basic);
}

main .container .auth-container .form-wrapper .form{
  width: var(--full-width);
}

main .container .auth-container .form-title {
  font-size: var(--fs-large-xxl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--size-01rem);
  color: var(--text-color);
  margin-bottom: var(--size-2rem);
}

main .container .auth-container .form-wrapper .form-row {
  position: relative;
  display: flex;
  flex-direction: column;
  width: var(--full-width);
}

main .container .auth-container .form-wrapper .help-link{
  display: block;
  text-align: center;
  font-size: var(--fs-small-xl);
  font-weight: var(--fw-regular);
  color: var(--text-clr-500);
  width: var(--full-width);
  text-decoration: underline;
  margin-top: var(--size-2_5rem);
  cursor: pointer;
}

main .container .auth-container .form-wrapper .qr-wrapper{
  max-width:  250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

main .container .auth-container .form-wrapper .qr-wrapper .qr-title{
  font-size: var(--fs-small-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--size-05rem);
  color: var(--color-blue);
}

main .container .auth-container .form-wrapper .qr-wrapper .qr{
  width: var(--full-width);
  max-width:  250px;
  overflow: hidden;
  border-radius: var(--big-radius);
}

main .container .auth-container .form-wrapper .qr-wrapper .qr-description{
  font-size: var(--fs-small-xl);
  font-weight: var(--fw-medium);
  margin-bottom: var(--size-05rem);
  text-align: center;
  padding: var(--size-1rem);
  color: var(--text-clr-500);
}

main .container .auth-container .form-wrapper .qr-wrapper .qr-description a{
  color: var(--text-clr-500);
  text-decoration: underline;
  cursor: pointer;
}

main .container .auth-container .form-wrapper .form-row .input-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-bottom: var(--size-05rem);
}

main .container .auth-container .form-wrapper .form-row .input-item:last-child {
  margin-bottom: 0;
}

main .container .auth-container .form-wrapper .form-row .input-item label {
  font-size: var(--fs-small-xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--size-01rem);
  color: var(--header-text-clr);
  margin-bottom: var(--size-05rem);
}

main .container .auth-container.sign-in-container .form-wrapper .form-row .input-item:first-child label{
  color: var(--color-blue);
}

main .container .auth-container .form-wrapper .form-row .input-item .input {
  background: #32353C;
  border: none;
  border-radius: var(--border-s);
  height: 40px;
  color: var(--header-text-clr);
  font-size: var(--fs-medium-xl);
  padding: 0 var(--size-1rem);
  width: var(--full-width);
}

main .container .auth-container .form-wrapper .form-row .label-agree {
  color: var(--header-text-clr);
  font-size: var(--fs-medium);
  width: var(--full-width);
  margin: var(--size-1rem) 0;
}

main .container .auth-container .form-wrapper .form-row .label-agree .checkbox {
  width: 15px;
  height: 15px;
  background: var(--bg-color);
  accent-color: var(--bg-color);
  cursor: pointer;
}

main .container .auth-container .form-wrapper .form-row .label-agree a {
  color: var(--text-color);
  text-decoration: underline;
  font-weight: var(--fw-medium);
}

main .container .auth-container .form-wrapper .form-button-wrapper button {
  border: none;
  border-radius: var(--small-radius);
  width: var(--full-width);
  height: 55px;
  text-decoration: none;
  font-size: var(--fs-medium-xl);
  color: var(--color-teal-100);
  text-shadow: var(--shadow-strong);
  background: var(--button-linear-gradient);
  cursor: pointer;
}

footer{
  position: relative;
  background: var(--header-bg-clr);
  padding: var(--size-3rem) var(--size-1rem);
  width: var(--full-width);
  flex: 1;
}

footer .container{
  flex-direction: column;
}

footer .container .link-wrapper{
  padding: var(--size-1rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--size-1rem);
  padding-bottom: var(--size-2_5rem);
}

footer .container .link-wrapper .left-side .sign-up-link,
footer .container .link-wrapper .left-side .sign-in-link,
footer .container .link-wrapper .right-side{
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--size-1rem);
}

footer .container .link-wrapper .right-side{
  display: flex;
  gap: 0px;
  padding: var(--size-1_5rem);
}

body[auth-mode="sign-in"] footer .container .link-wrapper .sign-up-link,
body[auth-mode="sign-up"] footer .container .link-wrapper .sign-in-link {
  display: flex;
}

footer .container .link-wrapper .right-side p{
  font-size: var(--fs-medium);
  color: var(--text-clr-500);
  text-align: center;
  width: var(--full-width);
}

footer .container .link-wrapper .right-side a{
  color: var(--text-clr-500);
  font-size: var(--fs-small-xl);
  text-decoration: underline;
  cursor: pointer;
}

footer .container .link-wrapper .left-side h3{
  font-size: var(--fs-large-xl);
  color: var(--text-color);
}

footer .container .link-wrapper .left-side button {
  border: none;
  border-radius: var(--small-radius);
  width: auto;
  height: 35px;
  padding: 0 var(--size-1_5rem);
  text-decoration: none;
  font-size: var(--fs-medium);
  color: var(--color-teal-100);
  text-shadow: var(--shadow-strong);
  background: var(--button-linear-gradient);
  cursor: pointer;
}

footer .container .top,
footer .container .bottom{
  padding: var(--size-1rem);
  border-top: var(--border-thin) var(--input-clr);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--size-1rem);
}

footer .container .bottom{
  flex-wrap: wrap;
  justify-content: flex-start;
}

footer .container .top img{
  max-width: 100px;
  min-width: 100px;
}

footer .container .top p{
  color: var(--text-clr-500);
  font-size: var(--fs-small-xl);
}

footer .container .top p a{
  color: var(--text-clr-100);
  cursor: pointer;
}

footer .container .bottom li{
  padding: var(--card-padding-small);
}

footer .container .bottom li a{
  font-size: var(--fs-small-xl);
  color: var(--text-clr-100);
  text-wrap: nowrap;
  cursor: pointer;
}


/* ===== Source: media_query.css ===== */
@media screen and (max-width: 900px) {
  .body.bg-image {
    background-image: linear-gradient(135deg,#0e1720,#1b2838);
    background-size: 100% 100% cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  header {
    position: sticky;
    top: 0;
    box-shadow: var(--shadow-basic);
    z-index: 3;
  }

  .container,
  .main .container .sign-up-container .account-form-wrapper .form-row .submit-button-wrapper .continue-button,
  .main .container .sign-up-container .account-form-wrapper .form-row .label-agree {
    width: 100%;
  }

  header .container .nav .nav-left .button-open-navigation {
    display: grid;
  }

  header .container .nav .nav-left .logo {
    color: var(--text-color);
  }

  header .container .nav .nav-left {
    width: 100%;
    justify-content: space-between;
    padding: var(--size-1rem) var(--size-1_5rem);
  }

  header .container .nav .nav-left span{
    width: 40px;
  }

  header .container .nav .nav-left .nav-item-wrapper,
  header .nav .nav-right {
    display: none;
  }

  header .container .nav .nav-left {
    gap: 4rem;
  }

  .main .container .sign-up-container .account-form-wrapper .form-row .input-item .input {
    max-width: 100%;
  }

  .main .container .sign-up-container .account-form-wrapper .form-row .input-item {
    align-items: stretch;
  }
}


@media (max-width: 775px) {
  main .container .auth-container {
    align-items: center;
    max-width: 700px;
  }

  
main .container .auth-container .form-title {
  margin-bottom: calc(var(--size-3rem) + var(--size-1rem));
}

  main .container .auth-container .form-wrapper{
    flex-direction: column;
  }

  main .container .auth-container .form-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--size-2rem);
    padding: var(--card-padding-samll);
    background: transparent;
    border-radius: var(--big-radius);
    width: var(--full-width);
    box-shadow: none;
  }

  main .container .auth-container .form-wrapper .qr-wrapper{
    align-items: center;
  }

  footer .container {
    max-width: 90%;
    padding: 0;
  }

  footer .container .top{
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  footer .container .top img:first-child{
    order: 2;
  }
  footer .container .top img:last-child{
    order: 3;
  }
}

@media (max-width: 580px) {

  .main .container .sign-up-container .account-form-wrapper .form-row .input-item .input {
    max-width: 100%;
  }

  .main .container .sign-up-container .account-form-wrapper {
    padding: 1rem;
  }

  
  footer .container .link-wrapper{
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--size-1rem);
    padding-bottom: var(--size-2_5rem);
  }

}


/* ===== Source: variables.css ===== */
200;300;400;500;600;700;800;900&family=Noto+Serif:wght@100..900&family=Roboto:wght@100;300;400;500;700;900&family=Ubuntu:wght@300;400;500;700&display=swap');

:root {
    /* Current Project Variables */
    --black: #000;
    --bg-color: #212429;
    --header-bg-clr: #171a21;
    --text-color: #fff;
    --text-clr-100: #dfe3e6;
    --text-clr-500: #96989a;
    --header-text-clr: #b8b6b4;
    --install-btn-clr: #5c7e10;
    --input-clr: #32353c;
    --btn-linear-gradient: linear-gradient(45deg, #28a2ff, #0051ff);
    /* Primary Color */
    --color-blue: #2076da;
    --color-green: #02b802;
    --color-yellow: #ecdd00;
    --color-orange: #ff8800;
    --color-purple: #6f5bd4;
    --color-red: #f50101;
    /* Background Color */
    --bg-color-light: var(--light);
    --bg-color-dark: var(--dark);
    /* Colors */
    --color-transparent-default: rgba(0, 0, 0, 0);
    --color-transparent-dark-01: rgba(0, 0, 0, 0.1);
    --color-transparent-dark-02: rgba(0, 0, 0, 0.2);
    --color-transparent-dark-03: rgba(0, 0, 0, 0.3);
    --color-transparent-dark-04: rgba(0, 0, 0, 0.4);
    --color-transparent-dark-05: rgba(0, 0, 0, 0.5);
    --color-transparent-dark-06: rgba(0, 0, 0, 0.6);
    --color-transparent-dark-07: rgba(0, 0, 0, 0.7);
    --color-transparent-dark-08: rgba(0, 0, 0, 0.8);
    --color-transparent-dark-09: rgba(0, 0, 0, 0.9);
    --color-transparent-light-01: rgba(255, 255, 255, 0.1);
    --color-transparent-light-02: rgba(255, 255, 255, 0.2);
    --color-transparent-light-03: rgba(255, 255, 255, 0.3);
    --color-transparent-light-04: rgba(255, 255, 255, 0.4);
    --color-transparent-light-06: rgba(255, 255, 255, 0.6);
    --color-transparent-light-07: rgba(255, 255, 255, 0.7);
    --color-transparent-light-08: rgba(255, 255, 255, 0.8);
    --color-transparent-light-09: rgba(255, 255, 255, 0.9);
    --color-gray-100: #f8f8f8;
    --color-gray-200: #ededed;
    --color-gray-300: #d9d9d9;
    --color-gray-400: #c3c3c3;
    --color-gray-500: #9c9a9a;
    --color-gray-600: #7b7b7b;
    --color-gray-700: #686868;
    --color-gray-800: #484848;
    --color-gray-900: #313131;
    --color-teal-050: #f1fef4;
    --color-teal-100: #e1fef1;
    --color-teal-200: #bffde7;
    --color-teal-300: #9ff9e1;
    --color-teal-400: #86f3df;
    --color-teal-500: #5cebdf;
    --color-teal-600: #31c9c9;
    --color-teal-700: #139baa;
    --color-teal-800: #0e6c81;
    --color-teal-900: #054861;
    --color-green-050: #f2fef1;
    --color-green-100: #e4fee1;
    --color-green-200: #c4fdbf;
    --color-green-200: #c4fdbf;
    --color-green-300: #9ff9a7;
    --color-green-400: #86f386;
    --color-green-500: #5ceb61;
    --color-green-600: #36c931;
    --color-green-700: #13aa25;
    --color-green-800: #1f810e;
    --color-green-900: #086105;
    --color-blue-050: #e5eeff;
    --color-blue-100: #d2e0fe;
    --color-blue-200: #a5befd;
    --color-blue-300: #799cfb;
    --color-blue-400: #597ef8;
    --color-blue-500: #2451f5;
    --color-blue-600: #193ed2;
    --color-blue-700: #112cb0;
    --color-blue-800: #0a1e8f;
    --color-blue-900: #061574;
    --color-gold-100: #fff7d1;
    --color-gold-200: #ffeba3;
    --color-gold-300: #ffdd75;
    --color-gold-400: #ffd152;
    --color-gold-500: #ffb914;
    --color-gold-600: #da9710;
    --color-gold-700: #b7780b;
    --color-gold-800: #925a07;
    --color-gold-900: #7c4a04;
    --color-gold-050: #fffceb;
    --color-red-100: #ffe0e0;
    --color-red-200: #ffbdbd;
    --color-red-300: #ff9e9e;
    --color-red-400: #ff8585;
    --color-red-500: #ff6161;
    --color-red-600: #f64e4e;
    --color-red-700: #d23232;
    --color-red-800: #a62323;
    --color-red-900: #781212;
    --color-red-050: #fff4f4;
    --color-overlay: var(--color-transparent-dark-02);
    /* Sizing */
    --header-height: 60px;
    --containr-max-width: 1000px;
    --containr-width: 90%;
    --helf-size: 50%;
    --helf-size-negative: -50%;
    --full-width: 100%;
    --full-height: 100%;
    --full-width-vw: 100vw;
    --full-height-vh: 100vh;
    --size-3rem: 3rem;
    --size-2_5rem: 2.5rem;
    --size-2rem: 2rem;
    --size-1_5rem: 1.5rem;
    --size-1rem: 1rem;
    --size-09rem: 0.9rem;
    --size-08rem: 0.8rem;
    --size-07rem: 0.7rem;
    --size-06rem: 0.6rem;
    --size-05rem: 0.5rem;
    --size-04rem: 0.4rem;
    --size-03rem: 0.3rem;
    --size-02rem: 0.2rem;
    --size-01rem: 0.1rem;
    /* Transition */
    --transition: 0.15s ease;
    /* Radius */
    --thin-radius: 0.2rem;
    --small-radius: 0.4rem;
    --big-radius: 0.8rem;
    --large-radius: 1.5rem;
    --large-radius-xl: 2rem;
    --large-radius-xxl: 3rem;
    --full-radius: 100%;
    /* Opacity */
    --opacity-0: 0;
    --opacity-10: 0.1;
    --opacity-20: 0.2;
    --opacity-30: 0.3;
    --opacity-40: 0.4;
    --opacity-50: 0.5;
    --opacity-60: 0.6;
    --opacity-70: 0.7;
    --opacity-80: 0.8;
    --opacity-90: 0.9;
    --opacity-100: 1;
    /* Padding */
    --card-padding-small: var(--size-05rem);
    --card-padding-medium: var(--size-1rem);
    --card-padding-big: var(--size-1_5rem);
    --card-padding-large: var(--size-2rem);
    --card-padding-large-xl: var(--size-2_5rem);
    --button-padding-small: var(--size-02rem --size-05rem);
    --button-padding-medium: var(--size-05rem --size-08rem);
    --button-padding-big: var(--size-07rem --size-1_5rem);
    --button-padding-large: var(--size-1rem --size-2rem);
    /* Shadow */
    --shadow-basic: 0 0.1rem 0.25rem 0 var(--color-transparent-dark-02);
    --shadow-hover: 0 0.5rem 0.7rem 0 var(--color-transparent-dark-03);
    --shadow-strong: 0 0.1rem 0.25rem 0 var(--color-transparent-dark-03);
    --shadow-stronger: 0 0.1rem 0.25rem 0 var(--color-transparent-dark-05);
    --shadow-big: 0 0 3rem var(--color-transparent-dark-03);
    --shadow-shallow: 0 0.1rem 0.5rem 0 var(--color-transparent-dark-04);
    --shadow-deep: 0 1rem 1.5rem var(--color-transparent-dark-02);
    /* Zindex */
    --z-index-sticky: 9;
    --z-index-header: 10;
    --z-index-dropdown: 20;
    --z-index-overlay: 100;
    --z-index-skip-main: 1000;
    /* Light color shades */
    --light: #ffffff;
    --light-50: #f9f9f9;
    --light-100: #f2f2f2;
    --light-200: #e6e6e6;
    --light-300: #cccccc;
    --light-400: #b3b3b3;
    --light-500: #999999;
    --light-600: #808080;
    --light-700: #666666;
    --light-800: #4d4d4d;
    --light-900: #333333;
    /* Dark color shades */
    --dark: #000000;
    --dark-50: #1a1a1a;
    --dark-100: #262626;
    --dark-200: #333333;
    --dark-300: #404040;
    --dark-400: #4d4d4d;
    --dark-500: #595959;
    --dark-600: #666666;
    --dark-700: #737373;
    --dark-800: #808080;
    --dark-900: #8c8c8c;
    /* Border variables */
    --border-thin: var(--border-xxs) solid;
    --border-medium: var(--border-m) solid;
    --border-large: var(--border-l) solid;
    /* Border radius variables */
    --border-xxs: 1px;
    --border-xs: 2px;
    --border-s: 4px;
    --border-m: 8px;
    --border-l: 12px;
    --border-xl: 24px;
    --border-xxl: 44px;
    --border-rounded: 50%;
    /* Border color variables */
    --border-light: var(--light-300);
    --border-dark: var(--dark-300);
    /* Typography */
    --fw-thin: 100;
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-black: 900;

    --fs-tiny: 0.7rem;
    --fs-small: 0.8rem;
    --fs-small-xl: 0.9rem;
    --fs-medium: 1rem;
    --fs-medium-xl: 1.15rem;
    --fs-large: 1.25rem;
    --fs-large-xl: 1.4rem;
    --fs-large-xxl: 2rem;
    --fs-large-xxxl: 3.5rem;
    --fs-large-4xl: 5rem;

    /* Font family variable */
    --roboto: "Roboto", sans-serif;
    --noto-serif: "Noto Serif", serif;
    --kanit: "Kanit", sans-serif;
    --inter: "Inter", sans-serif;
    --lemonada: "Lemonada", cursive;
    --gluten: "Gluten", cursive;
    --ubunto: "Ubunto", sans-serif;
    --default-font: var(--roboto);
}

:root[dark-theme="true"] {
    /* Light color shades */
    --dark: #ffffff;
    --dark-50: #f9f9f9;
    --dark-100: #f2f2f2;
    --dark-200: #e6e6e6;
    --dark-300: #cccccc;
    --dark-400: #b3b3b3;
    --dark-500: #999999;
    --dark-600: #808080;
    --dark-700: #666666;
    --dark-800: #4d4d4d;
    --dark-900: #333333;
    /* Dark color shades */
    --light: #000000;
    --light-50: #1a1a1a;
    --light-100: #262626;
    --light-200: #333333;
    --light-300: #404040;
    --light-400: #4d4d4d;
    --light-500: #595959;
    --light-600: #666666;
    --light-700: #737373;
    --light-800: #808080;
    --light-900: #8c8c8c;
}

:root[default-font="roboto"]{
    --default-font: var(--roboto);
}
:root[default-font="noto-serif"]{
    --default-font: var(--noto-serif);
}
:root[default-font="kanit"]{
    --default-font: var(--kanit);
}
:root[default-font="inter"]{
    --default-font: var(--inter);
}
:root[default-font="lemonada"]{
    --default-font: var(--lemonada);
}
:root[default-font="gluten"]{
    --default-font: var(--gluten);
}
:root[default-font="ubunto"]{
    --default-font: var(--ubunto);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: var(--transition);
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
span {
    /* display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical; */
    overflow: hidden; 
}

*::-webkit-scrollbar {
    width: 0.2rem;
    height: 0.2rem;
    background: var(--light);
    font-family: var(--default-font);
}

*::-webkit-scrollbar-thumb {
    border-radius: var(--border-xl);
    background: var(--dark);
}

html {
    font-family: var(--default-font);
    user-select: none;
}

body {
    min-height: var(--full-height-vh);
    background: var(--bg-color-light);
}

input,
textarea {
    border: 0;
    outline: 0;
    background: none;
    font-family: var(--default-font);
}

ul{
    list-style: none;
}

a{
    appearance: none;
    text-decoration: none;
    color: var(--light);
}

img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

button {
    user-select: none;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}

button:hover{
    opacity: var(--opacity-90);
}

button:active{
    opacity: var(--opacity-80);
}

[disabled]{
    opacity: 0.5;
    pointer-events: none;
}

[hidden]{
    display: none;
}

a{
    text-decoration: none;
}

::-webkit-scrollbar {
    width: 0.8rem;
}

::-webkit-scrollbar-track-piece {
    background-color: #1D1D1D;
}

::-webkit-scrollbar-thumb {
    background-color: #7D7D7D;
}

::-webkit-scrollbar-track {
    background-color: #1D1D1D;
}


/* ===== Source: platform.css ===== */
/* ============================================
   CONTAINER & LAYOUT FIXES
   ============================================ */

/* Widen the container for platform pages (original was 1000px, too narrow) */
.platform-main .container,
.store-subnav .container,
.game-title-bar .container,
.about-hero .container,
.about-hero > .container {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
}

/* Reset the auth-page forced flex centering for platform pages */
.platform-main.platform-main {
  display: block;
}

/* Ensure platform main containers are block, not flex */
.platform-main > .container {
  display: block;
  padding-top: 0;
  padding-bottom: 0;
}

/* ============================================
   platform.css — Aeria Games Platform Styles
   ============================================ */

/* ── Flash Messages ── */
.flash-message {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: .75rem 1.5rem;
  border-radius: .5rem;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 300px;
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  animation: slideDown .3s ease;
}
@keyframes slideDown {
  from { opacity:0; transform: translateX(-50%) translateY(-10px); }
  to   { opacity:1; transform: translateX(-50%) translateY(0); }
}
.flash-success { background: #1a3a1a; border: 1px solid #02b802; color: #7dff7d; }
.flash-error   { background: #3a1a1a; border: 1px solid #f50101; color: #ff7d7d; }
.flash-close   { margin-left: auto; background: none; border: none; color: inherit; cursor: pointer; font-size: 1.2rem; line-height: 1; padding: 0 .25rem; }

/* ── Nav User Menu ── */
.nav-user-menu {
  display: flex;
  align-items: center;
  gap: .75rem;
  position: relative;
}
.nav-avatar-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}
.nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #2076da;
}
.nav-username {
  color: #dfe3e6;
  font-size: .85rem;
  font-weight: 500;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-icon-btn {
  color: #96989a;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  padding: .25rem;
  transition: color .15s;
}
.nav-icon-btn:hover { color: #dfe3e6; }
.badge-count {
  position: absolute;
  top: -6px; right: -6px;
  background: #f50101;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 50%;
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #1b2838;
  border: 1px solid #2a475e;
  border-radius: .5rem;
  min-width: 200px;
  z-index: 200;
  padding: .5rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.nav-user-menu:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 1rem;
  color: #c6d4df;
  text-decoration: none;
  font-size: .85rem;
  transition: background .1s;
}
.nav-dropdown a:hover { background: #2a475e; color: #fff; }
.nav-dropdown hr { border-color: #2a475e; margin: .25rem 0; }

/* ── Platform Main ── */
.platform-main {
  padding: 2rem 0 4rem;
  min-height: calc(100vh - 60px);
}
.page-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #dfe3e6;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.page-title i { color: #2076da; }

/* ── Cards ── */
.platform-card {
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .75rem;
  padding: 1.5rem;
  margin-bottom: 0;
}
.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #c6d4df;
  margin: 0 0 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid #2a3f5f;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.card-title i { color: #2076da; }

/* ── Buttons ── */
.btn-platform {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.25rem;
  border-radius: .4rem;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: filter .15s, transform .1s;
  line-height: 1.4;
}
.btn-platform:hover { filter: brightness(1.15); }
.btn-platform:active { transform: scale(.97); }
.btn-primary   { background: linear-gradient(135deg, #1a6fb5, #2076da); color: #fff; }
.btn-secondary { background: #2a3f5f; color: #c6d4df; }
.btn-danger    { background: #7a1a1a; color: #ff9d9d; }

/* ── Profile ── */
.profile-header-card {
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .75rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.profile-cover {
  height: 160px;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 50%, #0d1b2a 100%);
}
.profile-header-body {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1rem 1.5rem 1.5rem;
  position: relative;
}
.profile-avatar-wrap {
  position: relative;
  margin-top: -60px;
}
.profile-avatar-lg {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #1b2838;
  display: block;
}
.avatar-edit-btn {
  position: absolute;
  bottom: 0; right: 0;
  background: #2076da;
  color: #fff;
  border-radius: 50%;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  text-decoration: none;
}
.profile-meta { flex: 1; }
.profile-display-name { font-size: 1.5rem; font-weight: 700; color: #fff; margin: 0 0 .2rem; }
.profile-username { color: #96989a; font-size: .85rem; margin: 0 0 .6rem; }
.profile-stats-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: .75rem; }
.profile-stats-row span { color: #96989a; font-size: .85rem; display: flex; align-items: center; gap: .3rem; }
.profile-stats-row i { color: #2076da; }
.profile-bio { color: #c6d4df; font-size: .9rem; line-height: 1.5; margin: 0; }
.profile-actions { display: flex; flex-direction: column; gap: .5rem; }

.profile-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.profile-col-left, .profile-col-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Badges */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  background: #12202e;
  border-radius: .5rem;
  padding: .6rem .4rem;
  text-align: center;
  cursor: default;
  transition: background .15s;
}
.badge-item:hover { background: #1e3250; }
.badge-icon { font-size: 1.4rem; }
.badge-name { font-size: .7rem; color: #96989a; line-height: 1.2; }

/* Level / XP */
.level-badge {
  background: linear-gradient(135deg, #2076da, #1a3a6e);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.xp-bar {
  height: 8px;
  background: #12202e;
  border-radius: 4px;
  overflow: hidden;
}
.xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #2076da, #02b802);
  border-radius: 4px;
  transition: width .5s ease;
}

/* Activity */
.activity-list { list-style: none; padding: 0; margin: 0; }
.activity-list li {
  padding: .5rem 0;
  border-bottom: 1px solid #12202e;
  font-size: .85rem;
  color: #96989a;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.activity-action { color: #c6d4df; font-weight: 600; }
.activity-time { margin-left: auto; font-size: .75rem; color: #686868; }

/* Library mini */
.library-mini-grid { display: flex; flex-direction: column; gap: .5rem; }
.library-mini-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .4rem 0;
  border-bottom: 1px solid #12202e;
}
.library-mini-cover {
  width: 40px; height: 40px;
  background: #12202e;
  border-radius: .3rem;
  display: flex; align-items: center; justify-content: center;
  color: #2076da;
}
.library-mini-info { display: flex; flex-direction: column; }
.library-mini-info strong { font-size: .85rem; color: #dfe3e6; }
.library-mini-info small { font-size: .75rem; color: #96989a; }

/* ── Settings ── */
.settings-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.settings-sidebar {
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .75rem;
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.settings-tab {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1.2rem;
  color: #96989a;
  text-decoration: none;
  font-size: .88rem;
  transition: background .1s, color .1s;
  border-left: 3px solid transparent;
}
.settings-tab:hover { background: #12202e; color: #c6d4df; }
.settings-tab.active { background: #12202e; color: #fff; border-left-color: #2076da; }
.settings-tab i { width: 16px; text-align: center; }

.settings-form { display: flex; flex-direction: column; gap: 1.1rem; }
.settings-content .platform-card { margin-bottom: 0; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label { font-size: .85rem; color: #96989a; font-weight: 500; }
.form-group .input {
  background: #12202e;
  border: 1px solid #2a3f5f;
  border-radius: .4rem;
  color: #dfe3e6;
  padding: .6rem .85rem;
  font-size: .9rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .15s;
}
.form-group .input:focus { outline: none; border-color: #2076da; }
.form-group textarea.input { font-family: inherit; }

/* ── Payment Methods ── */
.payment-method-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1rem;
  background: #12202e;
  border: 1px solid #2a3f5f;
  border-radius: .5rem;
  transition: border-color .15s;
}
.pm-default { border-color: #2076da; }
.pm-icon { flex-shrink: 0; }
.pm-info { flex: 1; }
.pm-info strong { display: block; color: #dfe3e6; font-size: .9rem; }
.pm-info small { color: #96989a; font-size: .8rem; }
.pm-badge {
  display: inline-block;
  background: #1a3a6e;
  color: #79b4f5;
  font-size: .7rem;
  padding: .1rem .4rem;
  border-radius: .25rem;
  margin-left: .5rem;
}
.pm-actions { display: flex; gap: .4rem; }

/* ── Platform Table ── */
.platform-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}
.platform-table th {
  text-align: left;
  padding: .6rem .75rem;
  color: #96989a;
  border-bottom: 1px solid #2a3f5f;
  font-weight: 600;
}
.platform-table td {
  padding: .6rem .75rem;
  color: #c6d4df;
  border-bottom: 1px solid #12202e;
}
.platform-table tr:last-child td { border-bottom: none; }
.tag {
  display: inline-block;
  background: #1e3250;
  color: #79b4f5;
  font-size: .75rem;
  padding: .1rem .45rem;
  border-radius: .25rem;
  text-transform: capitalize;
}
.status-badge {
  display: inline-block;
  font-size: .75rem;
  padding: .1rem .45rem;
  border-radius: .25rem;
  text-transform: capitalize;
}
.status-completed { background: #1a3a1a; color: #7dff7d; }
.status-pending   { background: #3a3000; color: #ffd700; }
.status-failed    { background: #3a1a1a; color: #ff7d7d; }
.status-refunded  { background: #1e1e3a; color: #9d9dff; }

/* ── Wallet ── */
.wallet-balance-card {
  background: linear-gradient(135deg, #0d1b2a, #1a3a5c);
  border-color: #2076da;
}

/* ── Friends ── */
.friend-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #12202e;
  border-radius: .5rem;
  padding: .75rem;
}
.friend-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.friend-info { flex: 1; min-width: 0; }
.friend-info a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Notifications ── */
.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid #12202e;
  transition: background .1s;
}
.notification-item.unread { background: rgba(32, 118, 218, .07); border-radius: .4rem; padding: .85rem .75rem; margin: 0 -.75rem; }
.notif-icon {
  width: 36px; height: 36px;
  background: #12202e;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #2076da;
  flex-shrink: 0;
}
.notif-body { flex: 1; }
.notif-body p { margin: 0 0 .2rem; color: #c6d4df; font-size: .9rem; }
.notif-body small { color: #686868; font-size: .78rem; }

/* ── Game Library Grid ── */
.game-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.game-library-card {
  background: #12202e;
  border: 1px solid #2a3f5f;
  border-radius: .5rem;
  overflow: hidden;
  transition: border-color .15s;
}
.game-library-card:hover { border-color: #2076da; }
.game-library-card.owned { border-color: #1a5c1a; }
.game-cover-placeholder {
  height: 90px;
  background: linear-gradient(135deg, #0d1b2a, #1a3a5c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #2076da;
}
.game-lib-info {
  padding: .65rem .75rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.game-lib-info strong { font-size: .85rem; color: #dfe3e6; }
.game-lib-info small { font-size: .75rem; color: #96989a; }

/* ── Admin ── */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stat-card {
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .6rem;
  padding: 1.2rem;
  text-align: center;
}
.stat-card .stat-num { font-size: 2rem; font-weight: 700; color: #2076da; }
.stat-card .stat-label { font-size: .8rem; color: #96989a; margin-top: .2rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-sidebar { position: static; display: flex; flex-wrap: wrap; border-radius: .5rem; }
  .settings-tab { flex: 1; justify-content: center; min-width: 120px; border-left: none; border-bottom: 3px solid transparent; }
  .settings-tab.active { border-left: none; border-bottom-color: #2076da; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
  .profile-header-body { flex-direction: column; }
  .nav-username { display: none; }
}
@media (max-width: 600px) {
  .admin-stats-grid { grid-template-columns: 1fr; }
  .game-library-grid { grid-template-columns: repeat(2, 1fr); }
  .badges-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-stats-row { gap: .5rem; }
}

/* ── Store ── */
.store-subnav {
  background: #131a22;
  border-bottom: 1px solid #2a3f5f;
  position: sticky;
  top: 60px;
  z-index: 50;
}
.store-subnav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .6rem 0;
  flex-wrap: wrap;
}
.store-subnav-inner a {
  color: #96989a;
  text-decoration: none;
  font-size: .85rem;
  transition: color .15s;
}
.store-subnav-inner a:hover, .store-subnav-inner a.active { color: #c6d4df; }
.store-search-form { display: flex; margin-left: auto; }
.store-search-input {
  background: #12202e;
  border: 1px solid #2a3f5f;
  color: #dfe3e6;
  padding: .4rem .75rem;
  border-radius: .35rem 0 0 .35rem;
  font-size: .85rem;
  width: 200px;
  outline: none;
}
.store-search-form button {
  background: #2076da;
  border: none;
  color: #fff;
  padding: .4rem .75rem;
  border-radius: 0 .35rem .35rem 0;
  cursor: pointer;
}
.store-section-title { font-size: 1.1rem; font-weight: 700; color: #c6d4df; margin-bottom: 1rem; }
.store-featured-section { margin-bottom: 2rem; }
.store-featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  height: 220px;
}
.featured-game-card {
  border-radius: .6rem;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid #2a3f5f;
  transition: border-color .15s;
}
.featured-game-card:hover { border-color: #2076da; }
.featured-game-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.featured-game-icon { font-size: 4rem; color: #2076da; opacity: .3; }
.featured-game-info {
  position: relative;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, transparent 100%);
  padding: .75rem;
}
.featured-game-title { display: block; color: #fff; font-weight: 700; font-size: .95rem; }
.featured-game-genre { display: block; color: #96989a; font-size: .78rem; margin-bottom: .3rem; }
.featured-game-price { display: flex; align-items: center; gap: .4rem; }
.store-layout { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: start; }
.store-sidebar { position: sticky; top: 100px; }
.filter-group { margin-bottom: 1rem; }
.filter-group h4 { color: #96989a; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }
.filter-tag {
  display: inline-block;
  background: #12202e;
  color: #96989a;
  font-size: .78rem;
  padding: .2rem .5rem;
  border-radius: .25rem;
  text-decoration: none;
  margin: .15rem .1rem;
  border: 1px solid transparent;
  transition: all .1s;
}
.filter-tag:hover { color: #c6d4df; border-color: #2a3f5f; }
.filter-tag.active { background: #1a3a6e; color: #79b4f5; border-color: #2076da; }
.store-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: #96989a;
  font-size: .85rem;
}
.store-sort-select {
  background: #12202e;
  border: 1px solid #2a3f5f;
  color: #c6d4df;
  padding: .3rem .5rem;
  border-radius: .3rem;
  font-size: .82rem;
}
.store-game-list { display: flex; flex-direction: column; gap: .5rem; }
.store-game-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .5rem;
  padding: .6rem .75rem;
  text-decoration: none;
  transition: border-color .1s, background .1s;
}
.store-game-row:hover { border-color: #2076da; background: #1e3250; }
.store-game-cover { flex-shrink: 0; }
.store-game-cover-placeholder {
  width: 90px; height: 34px;
  border-radius: .3rem;
  display: flex; align-items: center; justify-content: center;
  color: #2076da;
  font-size: 1rem;
}
.store-game-info { flex: 1; min-width: 0; }
.store-game-title { display: block; color: #c6d4df; font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-game-genre { display: block; color: #686868; font-size: .75rem; }
.store-game-tags { display: flex; flex-wrap: wrap; gap: .2rem; margin-top: .2rem; }
.store-tag {
  background: #12202e;
  color: #96989a;
  font-size: .7rem;
  padding: .1rem .35rem;
  border-radius: .2rem;
  text-decoration: none;
  border: 1px solid #2a3f5f;
}
.store-game-review { width: 100px; text-align: right; }
.review-score { font-size: .78rem; padding: .15rem .4rem; border-radius: .25rem; }
.review-score.positive     { color: #66c0f4; }
.review-score.very-positive{ color: #66c0f4; }
.review-score.mixed        { color: #a0a0a0; }
.review-score.negative     { color: #c6102e; }
.store-game-price-block {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-shrink: 0;
  min-width: 90px;
  justify-content: flex-end;
}
.price-free    { color: #4c6b22; font-weight: 700; font-size: .85rem; background: #a4d007; padding: .2rem .5rem; border-radius: .25rem; }
.price-final   { color: #fff; font-weight: 700; font-size: .9rem; }
.price-original{ color: #96989a; font-size: .78rem; text-decoration: line-through; }
.price-discount-badge { background: #4c6b22; color: #a4d007; font-weight: 700; font-size: .82rem; padding: .2rem .4rem; border-radius: .25rem; }
.price-owned   { color: #5ba32b; font-size: .82rem; font-weight: 600; }
.price-stack   { display: flex; flex-direction: column; align-items: flex-end; }

/* ── Game Detail Page ── */
.game-title-bar { background: #131a22; padding: .75rem 0; border-bottom: 1px solid #2a3f5f; }
.game-title-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.game-page-title { font-size: 1.5rem; font-weight: 700; color: #fff; margin: 0; }
.game-top-section { display: grid; grid-template-columns: 1fr 320px; gap: 1rem; margin-bottom: 1.5rem; }
.game-main-screenshot {
  background: #12202e;
  border-radius: .5rem;
  height: 340px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.game-screenshot-placeholder { text-align: center; }
.game-thumbs-row { display: flex; gap: .3rem; margin-top: .3rem; }
.game-thumb-placeholder {
  flex: 1; height: 60px;
  background: #12202e;
  border-radius: .3rem;
  display: flex; align-items: center; justify-content: center;
  color: #2a3f5f; font-size: .9rem;
  border: 1px solid #2a3f5f;
  cursor: pointer;
}
.game-summary-banner {
  background: linear-gradient(135deg, #0d1b2a, #1a3a5c);
  border-radius: .5rem .5rem 0 0;
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.game-summary-banner-inner { text-align: center; }
.game-summary-body { background: #1b2838; border: 1px solid #2a3f5f; border-top: none; border-radius: 0 0 .5rem .5rem; padding: .75rem; }
.game-short-desc { color: #96989a; font-size: .82rem; line-height: 1.5; margin-bottom: .75rem; }
.game-summary-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .4rem; gap: .5rem; font-size: .8rem; }
.summary-label { color: #96989a; flex-shrink: 0; }
.review-label { font-weight: 600; }
.review-label.very-positive, .review-label.positive { color: #66c0f4; }
.review-label.mixed { color: #a0a0a0; }
.review-label.negative { color: #c6102e; }
.game-popular-tags { margin-top: .6rem; }
.game-login-bar {
  background: #1e3250;
  border: 1px solid #2076da;
  border-radius: .5rem;
  padding: .75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  color: #c6d4df;
  font-size: .88rem;
  gap: 1rem;
}
.game-detail-columns { display: grid; grid-template-columns: 1fr 250px; gap: 1.5rem; align-items: start; }
.game-left-col, .game-right-col { display: flex; flex-direction: column; gap: 1rem; }
.game-purchase-block {
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .5rem;
  padding: 1rem;
}
.game-purchase-title { display: flex; justify-content: space-between; align-items: center; color: #c6d4df; font-size: .9rem; font-weight: 600; margin-bottom: .5rem; }
.game-purchase-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.game-section-title { font-size: 1rem; font-weight: 700; color: #c6d4df; margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.game-description-block { background: #1b2838; border: 1px solid #2a3f5f; border-radius: .5rem; padding: 1rem; }
.game-description-text { color: #96989a; font-size: .88rem; line-height: 1.7; }
.sysreq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sysreq-col { font-size: .82rem; color: #96989a; }
.sysreq-col h4 { color: #c6d4df; margin-bottom: .5rem; font-size: .88rem; }
.game-features-card { display: flex; flex-direction: column; gap: .5rem; }
.game-feature-row { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: #96989a; }
.game-details-card .details-row { display: flex; justify-content: space-between; padding: .35rem 0; border-bottom: 1px solid #12202e; font-size: .82rem; }
.game-details-card .details-row span:first-child { color: #96989a; }
.write-review-block { background: #12202e; border-radius: .5rem; padding: 1rem; margin-bottom: 1rem; }
.reviews-list { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
.review-card { background: #12202e; border-radius: .5rem; padding: 1rem; }
.review-header { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .5rem; }
.review-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.review-verdict { font-size: .8rem; font-weight: 600; padding: .2rem .5rem; border-radius: .25rem; }
.review-verdict.recommended     { background: #1a3a1a; color: #7dff7d; }
.review-verdict.not-recommended { background: #3a1a1a; color: #ff7d7d; }
.review-stars { margin-left: auto; }
.review-title { color: #c6d4df; font-weight: 600; font-size: .88rem; margin-bottom: .3rem; }
.review-body { color: #96989a; font-size: .85rem; line-height: 1.6; }

/* ── Community / Forum ── */
.community-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; gap: 1rem; flex-wrap: wrap; }
.community-stats { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; background: #1b2838; border: 1px solid #2a3f5f; border-radius: .5rem; padding: .75rem 1.25rem; }
.community-stat { display: flex; flex-direction: column; align-items: center; }
.community-stat strong { font-size: 1.3rem; color: #2076da; font-weight: 700; }
.community-stat span { font-size: .75rem; color: #96989a; }
.community-layout { display: grid; grid-template-columns: 1fr 300px; gap: 1.5rem; align-items: start; }
.community-sidebar { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 100px; }
.forum-category-list { display: flex; flex-direction: column; }
.forum-category-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem .5rem;
  border-bottom: 1px solid #12202e;
  text-decoration: none;
  transition: background .1s;
  border-radius: .3rem;
}
.forum-category-row:hover { background: #12202e; }
.forum-cat-icon { width: 44px; height: 44px; border-radius: .5rem; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #2076da; flex-shrink: 0; }
.forum-cat-info { flex: 1; }
.forum-cat-name { display: block; color: #c6d4df; font-weight: 600; font-size: .92rem; }
.forum-cat-desc { display: block; color: #686868; font-size: .78rem; margin-top: .1rem; }
.forum-cat-stats { text-align: right; font-size: .78rem; color: #96989a; display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; }
.recent-thread-item { display: flex; align-items: flex-start; gap: .6rem; padding: .5rem 0; border-bottom: 1px solid #12202e; }
.thread-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; margin-top: .1rem; }
.recent-thread-info { flex: 1; min-width: 0; }
.thread-link-title { display: block; color: #c6d4df; font-size: .85rem; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-link-title:hover { color: #67c1f5; }
.thread-meta { display: block; color: #686868; font-size: .72rem; margin-top: .1rem; }
.thread-reply-count { font-size: .75rem; color: #96989a; flex-shrink: 0; background: #12202e; padding: .1rem .35rem; border-radius: .25rem; }
.thread-list-header { display: flex; align-items: center; padding: .5rem .5rem; color: #96989a; font-size: .78rem; font-weight: 600; text-transform: uppercase; border-bottom: 2px solid #2a3f5f; }
.thread-list-row { display: flex; align-items: center; padding: .6rem .5rem; border-bottom: 1px solid #12202e; gap: .5rem; transition: background .1s; }
.thread-list-row:hover { background: #12202e; }
.thread-list-row.pinned { background: rgba(255,185,20,.04); }
.thread-list-main { flex: 1; display: flex; align-items: center; gap: .6rem; min-width: 0; }
.forum-post {
  display: flex;
  gap: 0;
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .6rem;
  overflow: hidden;
  margin-bottom: .75rem;
}
.forum-post-user {
  width: 130px;
  flex-shrink: 0;
  background: #12202e;
  padding: 1rem .75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  text-align: center;
  border-right: 1px solid #2a3f5f;
}
.forum-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid #2076da; }
.forum-user-level { background: #1a3a6e; color: #79b4f5; font-size: .7rem; padding: .1rem .4rem; border-radius: .25rem; }
.solution-badge { background: #1a3a1a; color: #7dff7d; font-size: .72rem; padding: .15rem .4rem; border-radius: .25rem; }
.forum-post-body { flex: 1; padding: 1rem; display: flex; flex-direction: column; }
.forum-post-content { color: #c6d4df; font-size: .9rem; line-height: 1.7; flex: 1; white-space: pre-wrap; word-break: break-word; }
.forum-post-footer { display: flex; align-items: center; gap: 1rem; margin-top: .75rem; padding-top: .5rem; border-top: 1px solid #2a3f5f; }
.forum-like-btn { color: #96989a; text-decoration: none; font-size: .82rem; display: flex; align-items: center; gap: .3rem; transition: color .1s; }
.forum-like-btn:hover, .forum-like-btn.liked { color: #2076da; }

/* ── Support ── */
.support-message { border-radius: .5rem; padding: .85rem; }
.user-message  { background: #12202e; border-left: 3px solid #2a3f5f; }
.staff-message { background: #1a2f4a; border-left: 3px solid #2076da; }
.support-msg-header { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.support-msg-header strong { color: #c6d4df; font-size: .88rem; }
.support-msg-body { color: #96989a; font-size: .88rem; line-height: 1.6; white-space: pre-wrap; }
.faq-item { border-bottom: 1px solid #2a3f5f; }
.faq-item summary { padding: .75rem 0; color: #c6d4df; font-size: .9rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; color: #2076da; font-size: 1.1rem; }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { color: #96989a; font-size: .85rem; padding: 0 0 .75rem; line-height: 1.6; }

/* ── About ── */
.about-hero { background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 50%, #0d1b2a 100%); border-bottom: 1px solid #2a3f5f; }
/* about styles consolidated below */
.about-stat-card { background: #1b2838; border: 1px solid #2a3f5f; border-radius: .6rem; padding: 1.2rem; text-align: center; }
.about-stat-num { font-size: 2rem; font-weight: 700; color: #2076da; }
.about-stat-label { font-size: .8rem; color: #96989a; margin-top: .2rem; }
.about-features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.about-feature-card { background: #1b2838; border: 1px solid #2a3f5f; border-radius: .6rem; padding: 1.2rem; }
.about-feature-icon { font-size: 1.5rem; color: #2076da; margin-bottom: .6rem; }
.about-feature-card h3 { color: #c6d4df; font-size: .95rem; margin-bottom: .4rem; }
.about-feature-card p { color: #96989a; font-size: .82rem; line-height: 1.5; }

/* ── Legal Content ── */
.legal-content { color: #96989a; font-size: .9rem; line-height: 1.8; }
.legal-content h2 { color: #c6d4df; font-size: 1.3rem; margin-bottom: 1rem; }
.legal-content h3 { color: #c6d4df; font-size: 1rem; margin: 1.5rem 0 .5rem; }
.legal-content p  { margin-bottom: .75rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: .75rem; }
.legal-content li { margin-bottom: .25rem; }
.legal-content a  { color: #67c1f5; }

/* ── Responsive extras ── */
@media (max-width: 900px) {
  .store-layout { grid-template-columns: 1fr; }
  .store-sidebar { position: static; }
  .store-featured-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .featured-main { grid-column: span 2; height: 180px; }
  .game-top-section { grid-template-columns: 1fr; }
  .game-detail-columns { grid-template-columns: 1fr; }
  .community-layout { grid-template-columns: 1fr; }
  .community-sidebar { position: static; }
  .about-stats-grid { grid-template-columns: 1fr 1fr; }
  .about-features-grid { grid-template-columns: 1fr 1fr; }
  .forum-post-user { width: 80px; }
}
@media (max-width: 600px) {
  .store-featured-grid { grid-template-columns: 1fr; height: auto; }
  .featured-main { grid-column: span 1; }
  .about-stats-grid, .about-features-grid { grid-template-columns: 1fr; }
  .forum-post { flex-direction: column; }
  .forum-post-user { width: 100%; flex-direction: row; padding: .6rem; border-right: none; border-bottom: 1px solid #2a3f5f; }
  .store-game-cover-placeholder { width: 50px; }
}

/* ============================================
   STORE
   ============================================ */
.store-subnav {
  background: #171d25;
  border-bottom: 1px solid #2a3f5f;
  position: sticky;
  top: 60px;
  z-index: 50;
}
.store-subnav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .6rem 0;
  flex-wrap: wrap;
}
.store-subnav-inner a {
  color: #96989a;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.store-subnav-inner a:hover, .store-subnav-inner a.active { color: #c6d4df; border-bottom-color: #2076da; }
.store-search-form { display: flex; margin-left: auto; gap: 0; }
.store-search-input {
  background: #12202e;
  border: 1px solid #2a3f5f;
  border-right: none;
  color: #dfe3e6;
  padding: .4rem .75rem;
  font-size: .85rem;
  border-radius: .4rem 0 0 .4rem;
  width: 200px;
  outline: none;
}
.store-search-input:focus { border-color: #2076da; }
.store-search-form button {
  background: #2076da;
  border: none;
  color: #fff;
  padding: .4rem .7rem;
  border-radius: 0 .4rem .4rem 0;
  cursor: pointer;
}

/* Featured section */
.store-featured-section { margin-bottom: 2rem; }
.store-section-title { font-size: 1rem; font-weight: 700; color: #c6d4df; margin-bottom: .75rem; }
.store-featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: .5rem;
  height: 240px;
}
.featured-game-card {
  position: relative;
  border-radius: .5rem;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: filter .15s;
}
.featured-game-card:hover { filter: brightness(1.1); }
.featured-main { grid-row: 1 / -1; }
.featured-side { height: 115px; }
.featured-game-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.featured-game-icon { font-size: 5rem; color: rgba(255,255,255,.15); }
.featured-game-info {
  position: relative;
  padding: .75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.featured-game-title { color: #fff; font-weight: 700; font-size: .95rem; }
.featured-game-genre { color: #96989a; font-size: .78rem; }
.featured-game-price { display: flex; align-items: center; gap: .4rem; margin-top: .2rem; }

/* Store layout */
.store-layout { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: start; }
.store-sidebar { position: sticky; top: 110px; }
.filter-group { margin-bottom: 1rem; }
.filter-group h4 { font-size: .78rem; color: #686868; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }
.filter-tag {
  display: inline-block;
  background: #12202e;
  color: #96989a;
  font-size: .78rem;
  padding: .2rem .55rem;
  border-radius: .3rem;
  margin: .15rem .15rem 0 0;
  text-decoration: none;
  transition: background .1s, color .1s;
}
.filter-tag:hover { background: #1e3250; color: #c6d4df; }
.filter-tag.active { background: #2076da; color: #fff; }

/* Store results */
.store-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .75rem;
  color: #96989a;
  font-size: .85rem;
}
.store-sort-select {
  background: #12202e;
  border: 1px solid #2a3f5f;
  color: #c6d4df;
  padding: .35rem .6rem;
  font-size: .82rem;
  border-radius: .3rem;
  cursor: pointer;
}
.store-game-list { display: flex; flex-direction: column; }
.store-game-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .6rem .75rem;
  text-decoration: none;
  border-radius: .4rem;
  transition: background .1s;
  border-bottom: 1px solid #12202e;
}
.store-game-row:hover { background: #1e2d3d; }
.store-game-cover { flex-shrink: 0; }
.store-game-cover-placeholder {
  width: 100px;
  height: 48px;
  border-radius: .3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2076da;
  font-size: 1.4rem;
}
.store-game-info { flex: 1; min-width: 0; }
.store-game-title { display: block; color: #c6d4df; font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-game-genre { display: block; font-size: .75rem; color: #686868; }
.store-game-tags { margin-top: .2rem; display: flex; flex-wrap: wrap; gap: .2rem; }
.store-tag {
  display: inline-block;
  background: #12202e;
  color: #96989a;
  font-size: .72rem;
  padding: .1rem .4rem;
  border-radius: .25rem;
  text-decoration: none;
  transition: background .1s;
}
.store-tag:hover { background: #1e3250; color: #c6d4df; }
.store-game-review { width: 110px; text-align: right; }
.store-game-price-block { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; min-width: 100px; justify-content: flex-end; }
.review-score { font-size: .78rem; padding: .15rem .4rem; border-radius: .25rem; }
.review-score.positive, .review-score.very-positive { background: #1a3a1a; color: #7dff7d; }
.review-score.mixed   { background: #3a3000; color: #ffd700; }
.review-score.negative{ background: #3a1a1a; color: #ff7d7d; }

/* Price elements */
.price-free     { color: #7dff7d; font-weight: 700; font-size: .88rem; }
.price-owned    { color: #7dff7d; font-size: .85rem; }
.price-final    { color: #c6d4df; font-weight: 700; }
.price-original { color: #686868; text-decoration: line-through; font-size: .8rem; }
.price-discount-badge {
  background: #4c7a1e;
  color: #d2e885;
  font-size: .78rem;
  font-weight: 700;
  padding: .15rem .45rem;
  border-radius: .25rem;
}
.price-stack { display: flex; flex-direction: column; align-items: flex-end; }

/* ============================================
   GAME DETAIL PAGE
   ============================================ */
.game-title-bar {
  background: rgba(0,0,0,.3);
  border-bottom: 1px solid #2a3f5f;
  padding: .6rem 0;
}
.game-title-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.game-page-title { font-size: 1.3rem; font-weight: 700; color: #c6d4df; margin: 0; }

.game-top-section {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.game-main-screenshot {
  background: #12202e;
  border-radius: .5rem;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .5rem;
}
.game-screenshot-placeholder { text-align: center; }
.game-thumbs-row { display: flex; gap: .4rem; }
.game-thumb-placeholder {
  flex: 1;
  height: 56px;
  background: #12202e;
  border-radius: .3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2a3f5f;
  cursor: pointer;
  transition: background .1s;
}
.game-thumb-placeholder:hover { background: #1e3250; }
.game-summary-col { display: flex; flex-direction: column; }
.game-summary-banner {
  background: #12202e;
  border-radius: .5rem .5rem 0 0;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-summary-banner-inner { text-align: center; }
.game-summary-body {
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-top: none;
  border-radius: 0 0 .5rem .5rem;
  padding: .85rem;
  flex: 1;
}
.game-short-desc { color: #96989a; font-size: .82rem; line-height: 1.5; margin-bottom: .75rem; }
.game-summary-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .5rem; font-size: .82rem; gap: .5rem; }
.summary-label { color: #686868; white-space: nowrap; flex-shrink: 0; }
.review-label { font-size: .82rem; padding: .1rem .4rem; border-radius: .25rem; }
.review-label.very-positive, .review-label.positive { background: #1a3a1a; color: #7dff7d; }
.review-label.mixed   { background: #3a3000; color: #ffd700; }
.review-label.negative{ background: #3a1a1a; color: #ff7d7d; }
.game-popular-tags { margin-top: .75rem; }
.game-login-bar {
  background: #1a3a5c;
  border: 1px solid #2076da;
  border-radius: .5rem;
  padding: .85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: .88rem;
  color: #c6d4df;
}

.game-detail-columns {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 1.5rem;
  align-items: start;
}
.game-left-col, .game-right-col { display: flex; flex-direction: column; gap: 1.5rem; }

.game-purchase-block {
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .75rem;
  padding: 1.25rem;
}
.game-purchase-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #c6d4df;
  margin-bottom: .5rem;
}
.game-purchase-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.game-description-block {
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .75rem;
  padding: 1.25rem;
}
.game-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #c6d4df;
  margin: 0 0 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid #2a3f5f;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.game-description-text { color: #96989a; font-size: .88rem; line-height: 1.7; }
.sysreq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sysreq-col { font-size: .82rem; color: #96989a; }
.sysreq-col h4 { color: #c6d4df; margin-bottom: .5rem; }

/* Reviews */
.write-review-block {
  background: #12202e;
  border-radius: .5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.reviews-list { display: flex; flex-direction: column; gap: 1rem; }
.review-card {
  background: #12202e;
  border-radius: .5rem;
  padding: 1rem;
}
.review-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .6rem;
  flex-wrap: wrap;
}
.review-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review-verdict { font-size: .8rem; margin-left: auto; }
.review-verdict.recommended    { color: #7dff7d; }
.review-verdict.not-recommended{ color: #ff7d7d; }
.review-stars { display: flex; gap: .1rem; }
.review-title { font-weight: 700; color: #c6d4df; margin-bottom: .3rem; font-size: .9rem; }
.review-body  { color: #96989a; font-size: .85rem; line-height: 1.6; }

/* Right column cards */
.game-features-card { display: flex; flex-direction: column; gap: .6rem; }
.game-feature-row { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: #c6d4df; }
.game-details-card { display: flex; flex-direction: column; gap: .5rem; }
.details-row { display: flex; justify-content: space-between; font-size: .82rem; gap: .5rem; }
.details-row span:first-child { color: #686868; flex-shrink: 0; }
.details-row strong, .details-row span:last-child { color: #c6d4df; text-align: right; }

/* ============================================
   COMMUNITY / FORUM
   ============================================ */
.community-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.community-stats {
  display: flex;
  gap: 2rem;
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .6rem;
  padding: .85rem 1.5rem;
  margin-bottom: 1.5rem;
}
.community-stat { text-align: center; }
.community-stat strong { display: block; font-size: 1.4rem; font-weight: 700; color: #2076da; }
.community-stat span  { font-size: .78rem; color: #686868; }
.community-layout { display: grid; grid-template-columns: 1fr 280px; gap: 1.5rem; align-items: start; }
.community-main, .community-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

/* Forum category list */
.forum-category-list { display: flex; flex-direction: column; }
.forum-category-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem .5rem;
  text-decoration: none;
  border-bottom: 1px solid #12202e;
  transition: background .1s;
  border-radius: .3rem;
}
.forum-category-row:hover { background: #12202e; }
.forum-cat-icon {
  width: 44px; height: 44px;
  border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #2076da;
  flex-shrink: 0;
}
.forum-cat-info { flex: 1; min-width: 0; }
.forum-cat-name { display: block; color: #c6d4df; font-weight: 600; font-size: .92rem; }
.forum-cat-desc { display: block; color: #686868; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.forum-cat-stats { text-align: right; }
.forum-cat-stats span { display: block; font-size: .78rem; color: #96989a; }

/* Recent thread sidebar */
.recent-thread-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .6rem 0;
  border-bottom: 1px solid #12202e;
}
.thread-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; margin-top: .1rem; }
.recent-thread-info { flex: 1; min-width: 0; }
.thread-link-title {
  display: block;
  color: #c6d4df;
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.thread-link-title:hover { color: #67c1f5; }
.thread-meta { font-size: .72rem; color: #686868; }
.thread-reply-count {
  background: #12202e;
  color: #96989a;
  font-size: .72rem;
  border-radius: .25rem;
  padding: .1rem .35rem;
  flex-shrink: 0;
}

/* Thread list */
.thread-list-header {
  display: flex;
  align-items: center;
  padding: .5rem .5rem;
  font-size: .75rem;
  color: #686868;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid #2a3f5f;
  margin-bottom: .25rem;
}
.thread-list-row {
  display: flex;
  align-items: center;
  padding: .65rem .5rem;
  border-bottom: 1px solid #12202e;
  transition: background .1s;
}
.thread-list-row:hover { background: #12202e; }
.thread-list-row.pinned { background: rgba(32,118,218,.06); }
.thread-list-main { display: flex; align-items: center; gap: .6rem; flex: 1; min-width: 0; }

/* Forum post */
.forum-post {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .6rem;
  margin-bottom: 1rem;
}
.forum-post-user {
  width: 110px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  text-align: center;
}
.forum-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid #2a3f5f; }
.forum-user-level {
  background: #2076da;
  color: #fff;
  font-size: .7rem;
  padding: .1rem .35rem;
  border-radius: .25rem;
}
.solution-badge { background: #1a3a1a; color: #7dff7d; font-size: .72rem; padding: .15rem .4rem; border-radius: .25rem; }
.forum-post-body { flex: 1; min-width: 0; }
.forum-post-content { color: #c6d4df; font-size: .9rem; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.forum-post-footer { display: flex; align-items: center; gap: 1rem; margin-top: .75rem; }
.forum-like-btn {
  color: #96989a;
  font-size: .82rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .5rem;
  border-radius: .25rem;
  background: #12202e;
  transition: background .1s, color .1s;
}
.forum-like-btn:hover, .forum-like-btn.liked { background: #1e3250; color: #67c1f5; }

/* ============================================
   SUPPORT
   ============================================ */
.support-message {
  border-radius: .5rem;
  padding: 1rem;
}
.user-message  { background: #12202e; }
.staff-message { background: #1a2e1a; border: 1px solid #2a5c2a; }
.support-msg-header { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; font-size: .85rem; color: #c6d4df; }
.support-msg-body { color: #96989a; font-size: .88rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid #2a3f5f;
  padding: .75rem 0;
}
.faq-item summary {
  cursor: pointer;
  color: #c6d4df;
  font-weight: 500;
  font-size: .9rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: '+'; color: #2076da; font-size: 1.1rem; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: #96989a; font-size: .85rem; line-height: 1.6; margin-top: .6rem; padding-left: .5rem; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero { background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 50%, #0d1b2a 100%); }
.about-section { margin-bottom: 2.5rem; }
.about-text-card {
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .75rem;
  padding: 2rem;
}
.about-text-card h2 { color: #c6d4df; font-size: 1.3rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.about-text-card p { color: #96989a; line-height: 1.8; margin-bottom: .75rem; font-size: .95rem; }
.about-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-bottom: 2.5rem; }
.about-stat-card { background: #1b2838; border: 1px solid #2a3f5f; border-radius: .6rem; padding: 1.5rem; text-align: center; }
.about-stat-num   { font-size: 2.2rem; font-weight: 800; color: #2076da; }
.about-stat-label { font-size: .82rem; color: #686868; margin-top: .2rem; }
.about-features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.about-feature-card {
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .6rem;
  padding: 1.5rem;
  text-align: center;
}
.about-feature-icon { font-size: 2rem; color: #2076da; margin-bottom: .75rem; }
.about-feature-card h3 { color: #c6d4df; font-size: .95rem; margin-bottom: .4rem; }
.about-feature-card p  { color: #686868; font-size: .82rem; line-height: 1.5; }

/* ============================================
   LEGAL PAGE
   ============================================ */
.legal-content h2 { color: #c6d4df; font-size: 1.3rem; margin: 0 0 1rem; }
.legal-content h3 { color: #c6d4df; font-size: 1rem; margin: 1.5rem 0 .5rem; }
.legal-content p  { color: #96989a; line-height: 1.8; margin-bottom: .75rem; font-size: .9rem; }
.legal-content ul { color: #96989a; padding-left: 1.5rem; margin-bottom: .75rem; }
.legal-content ul li { margin-bottom: .3rem; line-height: 1.7; font-size: .9rem; }
.legal-content a  { color: #67c1f5; }
.legal-content strong { color: #c6d4df; }

/* ============================================
   RESPONSIVE ADDITIONS
   ============================================ */
@media (max-width: 900px) {
  .store-layout       { grid-template-columns: 1fr; }
  .store-sidebar      { position: static; }
  .game-top-section   { grid-template-columns: 1fr; }
  .game-detail-columns{ grid-template-columns: 1fr; }
  .community-layout   { grid-template-columns: 1fr; }
  .about-stats-grid   { grid-template-columns: 1fr 1fr; }
  .about-features-grid{ grid-template-columns: 1fr 1fr; }
  .forum-post         { flex-direction: column; }
  .forum-post-user    { width: 100%; flex-direction: row; text-align: left; }
  .store-featured-grid{ grid-template-columns: 1fr; height: auto; }
  .featured-side      { height: 100px; }
}
@media (max-width: 600px) {
  .community-stats      { gap: 1rem; flex-wrap: wrap; }
  .about-stats-grid     { grid-template-columns: 1fr 1fr; }
  .about-features-grid  { grid-template-columns: 1fr; }
  .sysreq-grid          { grid-template-columns: 1fr; }
  .store-search-input   { width: 130px; }
  .store-subnav-inner   { gap: .75rem; }
}

/* ============================================
   CRITICAL LAYOUT FIX - overrides style.css
   main .container padding which was squishing
   all platform pages into a narrow column
   ============================================ */

.platform-main > .container,
body:not([auth-mode]) main > .container {
  display: block !important;
  padding: 1.5rem 1rem !important;
  max-width: 1200px !important;
  width: 92% !important;
  margin: 0 auto !important;
}

/* Store subnav and game title bar also need full width */
.store-subnav > .container,
.game-title-bar > .container,
.about-hero > .container {
  max-width: 1200px !important;
  width: 92% !important;
  margin: 0 auto !important;
}

/* Preserve auth page (index.php) behavior */
body[auth-mode] main > .container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: calc(var(--size-3rem) + var(--size-3rem)) var(--size-3rem) !important;
  max-width: var(--containr-max-width) !important;
  width: var(--containr-width) !important;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #0d1b2a, #1a3a5c);
  border: 1px solid #2a3f5f;
  border-radius: .75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.dash-stat-card {
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .6rem;
  padding: 1rem .75rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  transition: border-color .15s, background .15s;
}
.dash-stat-card:hover { background: #1e3250; border-color: #2076da; }
.dash-stat-card i      { font-size: 1.3rem; color: #2076da; }
.dash-stat-card strong { font-size: 1.2rem; font-weight: 700; color: #c6d4df; }
.dash-stat-card span   { font-size: .72rem; color: #686868; }
.dash-badge {
  display: inline-block;
  background: #f59e0b;
  color: #000;
  font-size: .65rem;
  font-weight: 700;
  padding: .1rem .35rem;
  border-radius: .25rem;
  margin-top: .1rem;
}

@media (max-width: 900px) {
  .dashboard-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .dashboard-welcome { flex-direction: column; align-items: flex-start; }
}

/* Active nav item */
.nav-item.nav-active {
  color: #fff !important;
  border-bottom: 2px solid #2076da;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  align-items: center;
  gap: .3rem;
  flex-wrap: wrap;
  margin: 1.25rem 0 .5rem;
  justify-content: center;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 .5rem;
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .3rem;
  color: #96989a;
  text-decoration: none;
  font-size: .82rem;
  transition: background .12s, color .12s, border-color .12s;
}
.page-btn:hover   { background:#2a3f5f; color:#fff; }
.page-btn.active  { background:#2076da; border-color:#2076da; color:#fff; font-weight:700; }
.page-ellipsis    { color:#686868; font-size:.82rem; padding:0 .2rem; }
.page-info        { color:#686868; font-size:.75rem; margin-left:.5rem; }

/* ============================================
   REAL-TIME BADGE PULSE
   ============================================ */
.badge-count.pulse {
  animation: badgePulse .4s ease;
}
@keyframes badgePulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* ============================================
   2FA SETUP PAGE
   ============================================ */
.totp-qr-wrap {
  text-align: center;
  padding: 1.5rem;
  background: #12202e;
  border-radius: .6rem;
  margin-bottom: 1.25rem;
}
.totp-qr-wrap img { border-radius: .3rem; }
.totp-manual-key {
  background: #0d1520;
  border: 1px solid #2a3f5f;
  border-radius: .4rem;
  padding: .6rem 1rem;
  font-family: monospace;
  font-size: .95rem;
  color: #67c1f5;
  letter-spacing: .1em;
  word-break: break-all;
  text-align: center;
  margin: .75rem 0;
}
.totp-verify-form {
  display: flex;
  gap: .5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.totp-code-input {
  width: 140px;
  text-align: center;
  font-size: 1.4rem;
  letter-spacing: .25em;
  font-family: monospace;
  padding: .6rem;
  background: #12202e;
  border: 2px solid #2a3f5f;
  border-radius: .4rem;
  color: #fff;
  outline: none;
}
.totp-code-input:focus { border-color: #2076da; }

/* ============================================
   SEARCH PAGE
   ============================================ */
.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}
.search-filters .form-group { margin: 0; flex: 1; min-width: 140px; }
.search-result-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem;
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .5rem;
  margin-bottom: .6rem;
  transition: border-color .12s;
}
.search-result-row:hover { border-color: #2076da; }
.search-result-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.search-result-info { flex: 1; min-width: 0; }
.search-result-name { font-size: 1rem; font-weight: 700; color: #fff; }
.search-result-meta { font-size: .78rem; color: #96989a; margin-top: .15rem; }
.search-result-actions { display: flex; gap: .4rem; flex-shrink: 0; }

/* ============================================
   POINTS SHOP
   ============================================ */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.shop-item-card {
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .6rem;
  overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.shop-item-card:hover { border-color: #6f5bd4; transform: translateY(-2px); }
.shop-item-card.owned { border-color: #02b802; }
.shop-item-preview {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #12202e, #1b2838);
}
.shop-item-body { padding: .85rem; }
.shop-item-name  { font-weight: 700; color: #c6d4df; margin-bottom: .2rem; }
.shop-item-desc  { font-size: .78rem; color: #686868; margin-bottom: .6rem; }
.shop-item-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shop-item-cost { font-weight: 700; color: #c4b5fd; font-size: .9rem; }
.shop-item-owned-badge { font-size: .75rem; color: #02b802; font-weight: 600; }

@media (max-width: 600px) {
  .search-filters { flex-direction: column; }
  .search-result-row { flex-wrap: wrap; }
}

/* ── Community header alignment fix ── */
.community-header {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.community-header .page-title {
  margin-bottom: .2rem !important;
}
.community-header > a.btn-platform,
.community-header > div + a {
  flex-shrink: 0;
  align-self: center;
}


/* ===== Fonts: system stack only ===== */
/* ===== Page-specific: about.php ===== */
/* Prefixed ag- to avoid conflicts with platform.css .about-hero rules */
.ag-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 55%, #0d1b2a 100%);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
}
/* Logo: same size as header logo — hard caps prevent any stretching */
.ag-hero-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: 160px;
  max-height: 32px;
  margin: 0 auto 1rem;
  object-fit: contain;
  object-position: center;
}
.ag-hero h1 { font-size: 1.9rem; font-weight: 800; color: #fff; margin: 0 0 .55rem; }
.ag-hero p  { color: #96989a; font-size: .93rem; max-width: 510px; margin: 0 auto; line-height: 1.7; }

.ag-wrap { max-width: 1060px; width: 92%; margin: 0 auto; padding: 2rem 0 4rem; }

/* Cards */
.ag-card { background: #1b2838; border: 1px solid #2a3f5f; border-radius: .65rem; padding: 1.75rem; margin-bottom: 1.5rem; }
.ag-card h2 { color: #c6d4df; font-size: 1.1rem; font-weight: 700; margin: 0 0 .85rem; display: flex; align-items: center; gap: .5rem; }
.ag-card p  { color: #96989a; line-height: 1.8; font-size: .91rem; margin: 0 0 .65rem; }

/* Stats */
.ag-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-bottom: 1.5rem; }
.ag-stat  { background: #1b2838; border: 1px solid #2a3f5f; border-radius: .6rem; padding: 1.3rem 1rem; text-align: center; }
.ag-stat-n { font-size: 1.85rem; font-weight: 800; color: #2076da; line-height: 1; }
.ag-stat-l { font-size: .78rem; color: #686868; margin-top: .3rem; }

/* Features */
.ag-sect-title { text-align: center; color: #c6d4df; font-size: 1.05rem; font-weight: 700; margin: 0 0 1rem; }
.ag-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-bottom: 1.5rem; }
.ag-feat { background: #1b2838; border: 1px solid #2a3f5f; border-radius: .6rem; padding: 1.3rem; text-align: center; }
.ag-feat i  { font-size: 1.6rem; color: #2076da; display: block; margin-bottom: .6rem; }
.ag-feat h3 { color: #c6d4df; font-size: .9rem; font-weight: 700; margin: 0 0 .3rem; }
.ag-feat p  { color: #686868; font-size: .79rem; line-height: 1.55; margin: 0; }

/* Legal */
.ag-legal { text-align: center; }
.ag-legal p { color: #96989a; font-size: .82rem; margin-bottom: .6rem; }
.ag-legal-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }

@media (max-width: 880px) {
  .ag-stats    { grid-template-columns: 1fr 1fr; }
  .ag-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .ag-features { grid-template-columns: 1fr; }
  .ag-hero h1  { font-size: 1.5rem; }
}


/* ===== Page-specific: community.php ===== */
/* ── Community page scoped fixes ── */
.comm-hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.comm-hero-text h1 { margin: 0 0 .2rem; }
.comm-hero-text p  { margin: 0; color: #96989a; font-size: .9rem; }

.comm-stats {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    background: #1b2838;
    border: 1px solid #2a3f5f;
    border-radius: .5rem;
    padding: .75rem 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.comm-stat { display: flex; flex-direction: column; align-items: center; gap: .1rem; }
.comm-stat strong { color: #fff; font-size: 1.1rem; }
.comm-stat span   { color: #686868; font-size: .75rem; }

.comm-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1.5rem;
    align-items: start;
}
.comm-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 80px;
}

/* Forum category rows */
.forum-cat-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: .85rem .6rem;
    border-bottom: 1px solid #12202e;
    text-decoration: none;
    border-radius: .3rem;
    transition: background .1s;
}
.forum-cat-row:last-child { border-bottom: none; }
.forum-cat-row:hover { background: #12202e; }
.forum-cat-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: .5rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: #2076da;
}
.forum-cat-info    { flex: 1; min-width: 0; }
.forum-cat-name    { display: block; color: #c6d4df; font-weight: 600; font-size: .92rem; }
.forum-cat-desc    { display: block; color: #686868; font-size: .78rem; margin-top: .15rem; }
.forum-cat-stats   { text-align: right; flex-shrink: 0; font-size: .78rem; color: #96989a; }

/* Recent thread items */
.recent-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: .6rem;
    padding: .5rem 0;
    border-bottom: 1px solid #12202e;
}
.recent-item:last-child { border-bottom: none; }
.recent-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.recent-info   { flex: 1; min-width: 0; }
.recent-title  { display: block; color: #c6d4df; font-size: .85rem; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-title:hover { color: #67c1f5; }
.recent-meta   { display: block; color: #686868; font-size: .72rem; margin-top: .1rem; }
.recent-count  { flex-shrink: 0; font-size: .75rem; color: #96989a; background: #12202e; padding: .1rem .4rem; border-radius: .25rem; }

@media (max-width: 768px) {
    .comm-layout { grid-template-columns: 1fr; }
    .comm-sidebar { position: static; }
    .comm-stats   { gap: 1.5rem; }
}


/* ===== Page-specific: store.php ===== */
/* ── Store page reset ── */
body.store-page, body.store-page *, body.store-page *::before, body.store-page *::after { box-sizing: border-box; }
body.store-page { margin:0; background:#1b2838; color:#c6d4df; font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }

  /* ── Top auth bar ── */
  .s-topbar { background:#171d25; font-size:11px; color:#cee1f3; border-bottom:1px solid #000; }
  .s-topbar-inner { max-width:940px; margin:0 auto; padding:6px 16px; display:flex; justify-content:flex-end; align-items:center; gap:10px; }
  .s-topbar a { color:#cee1f3; text-decoration:none; } .s-topbar a:hover { color:#fff; }
  .s-topbar-sep { color:#4c6b82; }

  /* ── Main header ── */
  .s-header { background:linear-gradient(to bottom,#1b2838,#2a475e); padding:12px 0; }
  .s-header-inner { max-width:940px; margin:0 auto; padding:0 16px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
  .s-logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
  .s-logo img { height:28px; width:auto; }
  .s-logo span { color:#fff; font-size:16px; font-weight:700; letter-spacing:.06em; }
  .s-nav { display:flex; gap:4px; }
  .s-nav a { color:#cee1f3; text-decoration:none; font-size:13px; padding:6px 12px; border-radius:3px; transition:background .12s; }
  .s-nav a:hover { background:rgba(255,255,255,.1); color:#fff; }
  .s-nav a.active { background:rgba(255,255,255,.15); color:#fff; }

  /* ── Store sub-nav ── */
  .s-subnav { background:rgba(0,0,0,.3); border-bottom:1px solid #2a475e; }
  .s-subnav-inner { max-width:940px; margin:0 auto; padding:0 16px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; min-height:40px; }
  .s-subnav-links { display:flex; gap:2px; }
  .s-subnav-links a { color:#c7d5e0; font-size:13px; padding:8px 12px; text-decoration:none; border-bottom:2px solid transparent; transition:border-color .12s,color .12s; }
  .s-subnav-links a:hover { color:#fff; }
  .s-subnav-links a.active { color:#fff; border-bottom-color:#67c1f5; }
  .s-search { display:flex; }
  .s-search input { background:#316282; border:none; color:#c7d5e0; padding:5px 10px; font-size:13px; outline:none; border-radius:3px 0 0 3px; width:180px; }
  .s-search input::placeholder { color:#669ac1; }
  .s-search button { background:#1b9fd1; border:none; color:#fff; padding:5px 10px; cursor:pointer; border-radius:0 3px 3px 0; }

  /* ── Page wrapper ── */
  .s-page { max-width:940px; margin:0 auto; padding:24px 16px 60px; }

  /* ── Flash ── */
  .s-flash { padding:10px 16px; border-radius:3px; margin-bottom:16px; font-size:13px; display:flex; align-items:center; gap:8px; }
  .s-flash.success { background:#1a4a1a; border:1px solid #2e7d32; color:#7dff7d; }
  .s-flash.error   { background:#4a1a1a; border:1px solid #7d2e2e; color:#ff7d7d; }

  /* ── Featured hero panel ── */
  .s-hero { display:grid; grid-template-columns:1fr 300px; gap:0; border-radius:3px; overflow:hidden; margin-bottom:16px; background:#000; }
  .s-hero-main { position:relative; height:320px; overflow:hidden; }
  .s-hero-main img.hero-bg { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
  .s-hero-main:hover img.hero-bg { transform:scale(1.03); }
  .s-hero-overlay { position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.7) 0%,rgba(0,0,0,.1) 100%); pointer-events:none; }
  .s-hero-label { position:absolute; top:12px; left:12px; background:rgba(0,0,0,.6); color:#fff; font-size:11px; padding:3px 8px; border-radius:2px; text-transform:uppercase; letter-spacing:.06em; }
  .s-hero-info { position:absolute; bottom:0; left:0; right:0; padding:20px; }
  .s-hero-title { font-size:28px; font-weight:700; color:#fff; margin:0 0 6px; text-shadow:0 2px 8px rgba(0,0,0,.8); }
  .s-hero-tags  { display:flex; flex-wrap:wrap; gap:4px; margin-bottom:12px; }
  .s-hero-tag   { background:rgba(0,0,0,.5); border:1px solid rgba(255,255,255,.2); color:#c7d5e0; font-size:10px; padding:2px 7px; border-radius:2px; }
  .s-hero-price { display:flex; align-items:center; gap:12px; }

  /* Side panel */
  .s-hero-side { background:#c2c2c2; display:flex; flex-direction:column; overflow:hidden; }
  .s-hero-side img.thumb { width:100%; height:70px; object-fit:cover; cursor:pointer; opacity:.8; border-bottom:2px solid transparent; transition:opacity .12s,border-color .12s; }
  .s-hero-side img.thumb:hover, .s-hero-side img.thumb.active { opacity:1; border-bottom-color:#67c1f5; }
  .s-hero-side-info { background:#1b2838; flex:1; padding:16px; display:flex; flex-direction:column; justify-content:flex-end; gap:8px; }
  .s-hero-side-cover { width:100%; border-radius:2px; object-fit:cover; max-height:120px; }
  .s-hero-side-name  { color:#fff; font-size:14px; font-weight:700; margin:0; }
  .s-hero-side-free  { color:#7dff7d; font-size:15px; font-weight:700; }
  .s-hero-side-btn   { display:block; text-align:center; background:linear-gradient(to bottom,#75b022,#588a1b); color:#fff; text-decoration:none; padding:10px; border-radius:2px; font-size:14px; font-weight:700; transition:filter .12s; }
  .s-hero-side-btn:hover { filter:brightness(1.15); }

  /* ── Section heading ── */
  .s-section-head { display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #2a475e; padding-bottom:8px; margin:24px 0 12px; }
  .s-section-title { color:#cee1f3; font-size:14px; font-weight:600; text-transform:uppercase; letter-spacing:.05em; margin:0; }
  .s-section-all   { color:#67c1f5; font-size:12px; text-decoration:none; } .s-section-all:hover { color:#fff; }

  /* ── Game row ── */
  .s-game-row { display:flex; align-items:center; gap:12px; padding:6px 4px; border-radius:3px; text-decoration:none; transition:background .1s; }
  .s-game-row:hover { background:#16202c; }
  .s-game-cover { width:184px; height:69px; object-fit:cover; border-radius:2px; flex-shrink:0; background:#12202e; }
  .s-game-info { flex:1; min-width:0; }
  .s-game-name { display:block; color:#cee1f3; font-size:14px; margin-bottom:4px; }
  .s-game-tags { display:flex; flex-wrap:wrap; gap:3px; }
  .s-game-tag  { background:#1b2838; border:1px solid #2a3f5f; color:#8f9095; font-size:10px; padding:1px 6px; border-radius:2px; }
  .s-game-date { width:90px; flex-shrink:0; text-align:center; color:#8f9095; font-size:11px; }
  .s-game-price-col { min-width:90px; text-align:right; flex-shrink:0; }
  .s-price-free  { color:#7dff7d; font-size:13px; font-weight:700; }
  .s-price-final { color:#c6d4df; font-size:13px; font-weight:700; }
  .s-price-owned { color:#7dff7d; font-size:12px; }
  .s-price-disc  { display:inline-flex; align-items:center; gap:4px; }
  .s-disc-badge  { background:#4c6b22; color:#a4d007; font-size:12px; font-weight:700; padding:2px 5px; border-radius:2px; }
  .s-disc-orig   { color:#738895; font-size:11px; text-decoration:line-through; display:block; }
  .s-disc-new    { color:#a4d007; font-size:13px; font-weight:700; }

  /* ── Info panels ── */
  .s-info-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px; margin-top:32px; }
  .s-info-card { background:#1b2838; border:1px solid #2a3f5f; border-radius:3px; padding:16px; text-align:center; }
  .s-info-card i    { font-size:1.8rem; color:#2076da; display:block; margin-bottom:8px; }
  .s-info-card h4   { color:#fff; font-size:.9rem; margin:0 0 4px; }
  .s-info-card p    { color:#8f9095; font-size:.78rem; margin:0; line-height:1.5; }

  /* ── Search/browse results ── */
  .s-browse { display:flex; gap:16px; align-items:flex-start; }
  .s-sidebar { width:180px; flex-shrink:0; }
  .s-sidebar-block { background:#1b2838; border:1px solid #2a3f5f; border-radius:3px; padding:12px; margin-bottom:8px; }
  .s-sidebar-title { color:#8f9095; font-size:10px; text-transform:uppercase; letter-spacing:.06em; font-weight:700; margin:0 0 8px; }
  .s-filter-link   { display:block; color:#8f9095; font-size:12px; padding:3px 0; text-decoration:none; } .s-filter-link:hover { color:#fff; }
  .s-filter-link.active { color:#67c1f5; font-weight:700; }
  .s-results { flex:1; }
  .s-results-meta { display:flex; align-items:center; justify-content:space-between; font-size:12px; color:#8f9095; margin-bottom:8px; }
  .s-no-results { background:#16202c; border-radius:3px; padding:40px; text-align:center; color:#8f9095; font-size:14px; }

  /* ── Footer ── */
  .s-footer { background:#171d25; border-top:1px solid #000; padding:24px 0; font-size:11px; color:#656d71; }
  .s-footer-inner { max-width:940px; margin:0 auto; padding:0 16px; }
  .s-footer-logo  { margin-bottom:12px; }
  .s-footer-logo img { height:20px; opacity:.6; }
  .s-footer-links { display:flex; flex-wrap:wrap; gap:4px 12px; margin-bottom:8px; }
  .s-footer-links a { color:#656d71; text-decoration:none; } .s-footer-links a:hover { color:#cee1f3; }
  .s-footer-copy  { color:#4c6470; }

  @media (max-width:768px) {
    .s-hero { grid-template-columns:1fr; }
    .s-hero-side { display:none; }
    .s-hero-main { height:220px; }
    .s-info-grid { grid-template-columns:1fr; }
    .s-browse    { flex-direction:column; }
    .s-sidebar   { width:100%; }
    .s-nav       { display:none; }
    .s-game-cover { width:100px; height:38px; }
    .s-game-date  { display:none; }
  }


/* ===== Unified site header/footer adjustments ===== */
header,
footer {
  font-family: var(--default-font);
}

header .container .nav {
  justify-content: space-between;
}
header .container .nav .nav-left {
  justify-content: flex-start;
  padding: 1.35rem 0;
  gap: 1.6rem;
}
header .container .nav .nav-left .logo a {
  display: block;
}
header .container .nav .nav-left .logo img {
  display: block;
  width: 100%;
  height: auto;
}
header .nav .nav-right {
  align-self: center;
  padding: 0;
  margin-left: auto;
}
header .nav .nav-right .button.language {
  width: auto;
  min-width: 132px;
  max-width: none;
  padding: .45rem .55rem;
}
.mobile-country-wrap {
  padding: 1rem 1.5rem;
}
.menu-language {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid var(--input-clr);
  background: var(--header-bg-clr);
  color: var(--text-clr-100);
}
footer {
  padding: 2rem 1rem;
}
footer .container .top {
  border-top: 0;
  padding-top: 0;
}
footer .container .bottom {
  list-style: none;
  margin: 0;
  padding-left: 1rem;
  padding-right: 1rem;
  gap: .35rem 1rem;
}
footer .container .bottom.footer-internal {
  justify-content: flex-start;
  border-top: var(--border-thin) var(--input-clr);
  margin-top: 1rem;
  padding-top: 1.25rem;
}
footer .container .bottom.footer-social {
  justify-content: flex-start;
  border-top: 0;
  padding-top: .25rem;
}
footer .container .bottom li {
  padding: .25rem 0;
}
footer .container .bottom li a {
  text-decoration: none;
}
footer .container .bottom li a:hover {
  color: var(--color-blue);
}
@media screen and (min-width: 901px) {
  .mobile-country-wrap { display: none; }
}
@media screen and (max-width: 900px) {
  header .container .nav .nav-left {
    padding: var(--size-1rem) var(--size-1_5rem);
  }
}
@media (max-width: 775px) {
  footer .container .top {
    justify-content: center;
    text-align: center;
  }
  footer .container .top img:first-child,
  footer .container .top img:last-child {
    order: initial;
  }
  footer .container .bottom.footer-internal,
  footer .container .bottom.footer-social {
    justify-content: center;
  }
}


/* ===== Header/footer refinement v2 ===== */
@media screen and (min-width: 901px) {
  header .container {
    width: min(94%, 1280px);
    max-width: 1280px;
  }

  header .container .nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    height: 86px;
    gap: 1.5rem;
  }

  header .container .nav .nav-left {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    gap: 1.5rem;
  }

  header .container .nav .nav-left .logo {
    flex: 0 0 auto;
    width: 135px;
    max-width: 135px;
  }

  header .container .nav .nav-left .nav-item-wrapper {
    min-width: 0;
  }

  header .container .nav .nav-left .nav-item-wrapper ul {
    flex-wrap: nowrap;
    gap: 1.25rem;
  }

  header .container .nav .nav-left .nav-item-wrapper .nav-item {
    white-space: nowrap;
    font-size: 1rem;
  }

  header .nav .nav-right {
    position: static;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    align-self: center;
    margin: 0;
    padding: 0;
  }

  header .nav .nav-right .button.language {
    box-sizing: border-box;
    width: 168px;
    min-width: 168px;
    max-width: 168px;
    height: 42px;
    padding: 0 .8rem;
    border: 1px solid #32353c;
    border-radius: 3px;
    background: #171a21;
    color: #dfe3e6;
    font-size: .95rem;
    line-height: 42px;
  }
}

@media screen and (min-width: 901px) and (max-width: 1100px) {
  header .container .nav {
    gap: .8rem;
  }
  header .container .nav .nav-left {
    gap: 1rem;
  }
  header .container .nav .nav-left .logo {
    width: 115px;
    max-width: 115px;
  }
  header .container .nav .nav-left .nav-item-wrapper ul {
    gap: .8rem;
  }
  header .container .nav .nav-left .nav-item-wrapper .nav-item {
    font-size: .9rem;
  }
  header .nav .nav-right .button.language {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
  }
}

/* Mobile country selector: match the dark navigation instead of browser default. */
.mobile-country-wrap {
  box-sizing: border-box;
  width: 100%;
  padding: .85rem .8rem 1rem;
  border-top: 1px solid #2f3138;
  border-bottom: 1px solid #000;
  background: #171a21;
}

.menu-language {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 0 2.6rem 0 .9rem;
  border: 1px solid #3a3f48;
  border-radius: 4px;
  outline: none;
  background-color: #1b2838;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23dfe3e6' d='M1.4.7 6 5.3 10.6.7 12 2.1l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  color: #dfe3e6;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.menu-language:focus {
  border-color: #67c1f5;
}

.menu-language option {
  background: #1b2838;
  color: #dfe3e6;
}

@media screen and (max-width: 900px) {
  header .container .nav {
    min-height: 68px;
    height: 68px;
  }
  header .container .nav .nav-left {
    box-sizing: border-box;
    height: 68px;
    padding: .65rem 1rem;
    gap: 1rem;
  }
  header .container .nav .nav-left .logo {
    width: 120px;
    max-width: 120px;
  }
  aside .menu-item {
    padding: .9rem 1rem;
    font-size: 1.15rem;
  }
}

/* Center both footer navigation rows. */
footer .container .bottom.footer-internal,
footer .container .bottom.footer-social {
  width: 100%;
  box-sizing: border-box;
  justify-content: center !important;
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
}


/* ===== Language version links ===== */
.language-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
  min-width: 170px;
  white-space: nowrap;
}
.language-link {
  color: #b8b6b4;
  font-size: .95rem;
  line-height: 1;
  text-decoration: none;
  transition: color .15s ease;
}
.language-link:hover,
.language-link.active {
  color: #fff;
}
.language-link.active {
  font-weight: 600;
}
.language-separator {
  color: #4c6470;
  font-size: .9rem;
}
.mobile-language-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  width: 100%;
}
.mobile-language-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .55rem .75rem;
  border: 1px solid #3a3f48;
  border-radius: 4px;
  background: #1b2838;
  color: #b8b6b4;
  text-decoration: none;
  font-size: .95rem;
}
.mobile-language-link:hover,
.mobile-language-link.active {
  border-color: #67c1f5;
  color: #fff;
}
.mobile-language-link.active {
  background: #20364a;
  font-weight: 600;
}
@media screen and (max-width: 900px) {
  .language-links { display: none; }
}


/* ===== Language switch visibility fix ===== */
header .nav .nav-right .language-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-width: 176px;
  padding: .5rem .75rem;
  border: 1px solid #2a3f5f;
  border-radius: 4px;
  background: #171a21;
  box-sizing: border-box;
}
header .nav .nav-right .language-links .language-link {
  color: #c6d4df !important;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none !important;
  opacity: 1 !important;
}
header .nav .nav-right .language-links .language-link:hover,
header .nav .nav-right .language-links .language-link.active {
  color: #ffffff !important;
}
header .nav .nav-right .language-links .language-link.active {
  font-weight: 700;
}
header .nav .nav-right .language-links .language-separator {
  color: #738895 !important;
}
.mobile-language-links .mobile-language-link {
  color: #c6d4df !important;
  background: #1b2838 !important;
  border-color: #3a4f65 !important;
  opacity: 1 !important;
}
.mobile-language-links .mobile-language-link:hover,
.mobile-language-links .mobile-language-link.active {
  color: #ffffff !important;
  border-color: #67c1f5 !important;
}
.mobile-language-links .mobile-language-link.active {
  background: #20364a !important;
}
@media screen and (max-width: 900px) {
  header .nav .nav-right .language-links { display: none !important; }
}

/* ===== Homepage editorial layout ===== */
.home-page {
  background: var(--bg-color);
}

.home-main {
  min-height: auto;
}

.home-main .container {
  padding-top: 0;
  padding-bottom: 0;
}

.home-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 52%, #111820 100%);
  border-bottom: 1px solid #2a3f5f;
}

.home-hero-inner {
  min-height: 360px;
  padding: 3.25rem 3rem !important;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  align-items: center;
  gap: 3rem;
}

.home-hero-copy h1,
.home-section h2 {
  color: #dfe3e6;
  margin: 0;
}

.home-hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.home-hero-copy > p {
  max-width: 720px;
  color: #aeb6bf;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

.home-kicker {
  display: inline-block;
  margin-bottom: .65rem;
  color: #67c1f5;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.4rem;
}

.home-hero-brand {
  background: rgba(14, 23, 33, .72);
  border: 1px solid #2a475e;
  border-radius: .8rem;
  padding: 2rem;
  text-align: center;
}

.home-hero-brand img {
  display: block;
  width: min(220px, 85%);
  height: auto;
  margin: 0 auto 1rem;
}

.home-hero-brand p {
  margin: 0;
  color: #96989a;
  font-size: .88rem;
  line-height: 1.6;
}

.home-section {
  padding: 3.25rem 0;
}

.home-section-muted {
  background: #182330;
  border-top: 1px solid #24384d;
  border-bottom: 1px solid #24384d;
}

.home-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.35rem;
}

.home-section-head.compact {
  grid-template-columns: 1fr;
}

.home-section-head h2,
.home-feature-copy h2,
.home-editorial-block h2,
.home-language-box h2 {
  font-size: 1.55rem;
  line-height: 1.25;
}

.home-section-head > p,
.home-feature-copy p,
.home-editorial-copy p,
.home-language-box p {
  color: #96989a;
  line-height: 1.75;
  margin: 0;
}

.home-grid {
  display: grid;
  gap: 1rem;
}

.home-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.home-card {
  display: block;
  min-width: 0;
  padding: 1.35rem;
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .65rem;
  color: inherit;
}

.home-card-link {
  text-decoration: none;
  transition: transform .15s, border-color .15s, background .15s;
}

.home-card-link:hover {
  transform: translateY(-2px);
  border-color: #3f6590;
  background: #1d2d40;
}

.home-card > i {
  display: inline-block;
  color: #67c1f5;
  font-size: 1.35rem;
  margin-bottom: .85rem;
}

.home-card h3 {
  margin: 0 0 .45rem;
  color: #dfe3e6;
  font-size: 1rem;
}

.home-card p {
  margin: 0;
  color: #96989a;
  font-size: .86rem;
  line-height: 1.65;
}

.home-feature {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 2rem;
}

.home-feature-image {
  height: 260px;
  overflow: hidden;
  border-radius: .65rem;
  border: 1px solid #2a475e;
  background: #12202e;
}

.home-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-feature-copy .btn-platform {
  margin-top: 1rem;
}

.home-editorial-block {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: grid;
  grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr);
  gap: 2.25rem;
  align-items: start;
}

.home-editorial-copy p + p {
  margin-top: .85rem;
}

.home-language-section {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
}

.home-language-box {
  padding: 1.5rem 1.75rem !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: #1b2838;
  border: 1px solid #2a3f5f;
  border-radius: .75rem;
}

.home-language-box > div {
  max-width: 760px;
}

@media (max-width: 950px) {
  .home-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .home-hero-inner,
  .home-section-head,
  .home-feature,
  .home-editorial-block {
    grid-template-columns: 1fr;
  }

  .home-hero-inner {
    min-height: auto;
    padding: 2.25rem 1.25rem !important;
    gap: 1.5rem;
  }

  .home-section {
    padding: 2.25rem 0;
  }

  .home-main .home-section > .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .home-section-head {
    gap: .75rem;
  }

  .home-feature {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .home-feature-image {
    height: 220px;
  }

  .home-editorial-block {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    gap: 1rem;
  }

  .home-language-box {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    width: auto;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .home-grid-four,
  .home-grid-three,
  .home-grid-two {
    grid-template-columns: 1fr;
  }

  .home-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-actions .btn-platform,
  .home-language-box .btn-platform {
    justify-content: center;
    width: 100%;
  }

  .home-hero-brand {
    padding: 1.5rem;
  }
}


/* ===== 2026 editorial pages: mobile-first, no external UI libraries ===== */
body.editorial-page, body.casino-page {
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:#0f171f;
  color:#dfe3e6;
}
.hamburger-lines{display:grid;gap:5px;width:23px}
.hamburger-lines span{display:block;height:2px;background:#b8b6b4;border-radius:3px}
.nav-item.active{color:#67c1f5!important}
.editorial-main{background:#0f171f;min-height:70vh}
.editorial-hero{padding:2rem 0;background:linear-gradient(145deg,#111c27,#1b3143);border-bottom:1px solid #2a475e}
.editorial-hero-inner{padding:0!important}
.editorial-kicker,.section-kicker{display:inline-block;margin-bottom:.55rem;color:#67c1f5;font-size:.72rem;font-weight:750;letter-spacing:.1em;text-transform:uppercase}
.editorial-hero h1{margin:0 0 1rem;color:#fff;font-size:2rem;line-height:1.12}
.editorial-hero p{max-width:820px;margin:.7rem 0 0;color:#c5cdd4;font-size:.98rem;line-height:1.72}
.editorial-content{max-width:900px!important;padding:2rem 0 3.5rem!important}
.editorial-content h2,.editorial-content h3{scroll-margin-top:20px;color:#fff}
.editorial-content h2{margin:2.35rem 0 .8rem;padding-top:.3rem;font-size:1.45rem;line-height:1.25;border-top:1px solid #26394b}
.editorial-content h3{margin:1.6rem 0 .65rem;font-size:1.12rem;line-height:1.3;color:#d9ecfa}
.editorial-content p,.editorial-content li{font-size:.96rem;line-height:1.78;color:#c3cbd2}
.editorial-content p{margin:.75rem 0}
.editorial-content ul,.editorial-content ol{padding-left:1.35rem;margin:.75rem 0 1rem}
.editorial-content li+li{margin-top:.35rem}
.editorial-content strong{color:#eef6fb}
.editorial-content a{color:#67c1f5}
.editorial-content table{width:100%;border-collapse:collapse;font-size:.88rem}
.editorial-content th,.editorial-content td{padding:.7rem;border:1px solid #33495f;text-align:left;vertical-align:top}
.editorial-content th{background:#18293a;color:#fff}
.editorial-content td{background:#14202b;color:#c5cdd4}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1rem 0;border-radius:.45rem}

/* Casino landing page */
.casino-page main{background:#0f171f}
.casino-page .container{width:90%;max-width:1000px;margin:0 auto}
.casino-body{padding:1.25rem 0 4rem}
.casino-layout{display:block}
.casino-article{min-width:0}
.casino-notice{margin:0 0 1rem;padding:.85rem 1rem;border:1px solid #685d2c;border-radius:.5rem;background:#282511;color:#e6d99c;font-size:.84rem;line-height:1.55}
.casino-toc{margin:0 0 1.4rem;border:1px solid #2a475e;border-radius:.55rem;background:#14202b}
.casino-toc summary{cursor:pointer;padding:1rem;font-weight:750;color:#fff;list-style:none}
.casino-toc summary::-webkit-details-marker{display:none}
.casino-toc nav{display:grid;gap:.35rem;padding:0 1rem 1rem}
.casino-toc a{padding:.28rem 0;color:#aacde4;text-decoration:none;font-size:.85rem;line-height:1.35}
.casino-section{padding:1.35rem 0;border-top:1px solid #223445;scroll-margin-top:12px}
.casino-section:first-of-type{border-top:0}
.casino-section h2{margin:0 0 .8rem;color:#fff;font-size:1.52rem;line-height:1.22}
.casino-section h3{margin:1.45rem 0 .65rem;color:#dceffa;font-size:1.12rem;line-height:1.28}
.casino-section p,.casino-section li{color:#c2cad1;font-size:.95rem;line-height:1.75}
.casino-section p{margin:.65rem 0}
.casino-section ul,.casino-section ol{margin:.75rem 0;padding-left:1.35rem}
.casino-section li+li{margin-top:.38rem}
.casino-section strong{color:#f0f6fa}
.casino-section em{color:#aeb8c0}
.section-intro{max-width:850px}
.casino-ranking{display:grid;grid-template-columns:1fr;gap:.7rem;padding:0!important;counter-reset:rank;list-style:none!important}
.casino-ranking li{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr);gap:.8rem;align-items:center;padding:.8rem;border:1px solid #2a475e;border-radius:.55rem;background:#172433}
.casino-ranking li::before{counter-increment:rank;content:counter(rank);position:absolute;top:.42rem;left:.42rem;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#1a78c2;color:#fff;font-size:.72rem;font-weight:800;z-index:2}
.casino-brand-logo{display:block;width:72px;height:44px;aspect-ratio:18/11;object-fit:contain;padding:.35rem;border-radius:.35rem;background:#fff}
.casino-ranking .brand-copy{min-width:0}
.casino-ranking .brand-copy b{display:block;margin-bottom:.15rem;color:#fff;font-size:1rem}
.casino-ranking .brand-copy span{display:block;color:#aeb7bf;font-size:.84rem;line-height:1.45}
.cta-row{display:flex;justify-content:center;margin:1rem 0 .2rem}
.cta-btn{display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:.72rem 1.05rem;border:1px solid #54a8e5;border-radius:.42rem;background:linear-gradient(90deg,#308fcf,#176ca7);color:#fff!important;text-decoration:none!important;font-weight:750;font-size:.91rem}
.cta-btn.secondary{background:#172433;border-color:#3a5871;color:#dfe3e6!important}
.casino-table{width:100%;min-width:740px;border-collapse:collapse;font-size:.83rem}
.casino-table th,.casino-table td{padding:.66rem;border:1px solid #33495f;text-align:left;vertical-align:top}
.casino-table th{background:#13283a;color:#fff}
.casino-table td{background:#15212c;color:#c7cfd6}
.casino-table tbody tr:nth-child(even) td{background:#182632}
.brand-cell{display:flex;align-items:center;gap:.5rem;font-weight:700;color:#fff}
.brand-cell img{width:58px;height:36px;aspect-ratio:29/18;object-fit:contain;padding:.24rem;border-radius:.3rem;background:#fff}
.callout{margin:1rem 0;padding:1rem;border-left:4px solid #67c1f5;background:#162637;border-radius:0 .45rem .45rem 0;color:#cbd6de}
.pros_and_cons{display:grid;grid-template-columns:1fr;gap:.8rem;margin:1rem 0}
.pros_and_cons>div{padding:1rem;border:1px solid #2d455a;border-radius:.55rem;background:#15222e}
.pros_and_cons .title{margin:0 0 .55rem!important;font-weight:800;color:#fff}
.pros_and_cons ul{margin:0;padding-left:1.15rem}
.pros{border-top:3px solid #42b883!important}.cons{border-top:3px solid #df6868!important}
.faq-list{display:grid;gap:.65rem;margin-top:1rem}
.faq-item{border:1px solid #2a475e;border-radius:.5rem;background:#14202b}
.faq-item summary{cursor:pointer;padding:.9rem 1rem;color:#fff;font-weight:750;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item .faq-answer{padding:0 1rem 1rem;color:#bdc7cf;line-height:1.7}
.faq-item[open]{border-color:#3c6788}
.casino-smallprint{font-size:.8rem!important;color:#929da6!important}
.casino-source-note{padding:.8rem 1rem;border-radius:.45rem;background:#111d27;color:#9da9b2!important;font-size:.8rem!important}

@media (min-width:560px){
  .casino-ranking{grid-template-columns:repeat(2,minmax(0,1fr))}
  .casino-hero-actions{flex-direction:row}
}
@media (min-width:760px){
  .editorial-hero{padding:3.25rem 0}.editorial-hero h1{font-size:2.75rem}.editorial-content{padding:3rem 0 4.5rem!important}.editorial-content h2{font-size:1.72rem}.editorial-content h3{font-size:1.25rem}
  .casino-body{padding:2rem 0 5rem}.casino-section{padding:1.8rem 0}.casino-section h2{font-size:1.82rem}.casino-section h3{font-size:1.25rem}.casino-section p,.casino-section li{font-size:1rem}.pros_and_cons{grid-template-columns:1fr 1fr}
  .casino-ranking{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.casino-ranking li{grid-template-columns:86px minmax(0,1fr);padding:1rem}.casino-brand-logo{width:86px;height:52px}
}
@media (min-width:960px){
  .casino-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:2.2rem;align-items:start}.casino-toc{position:sticky;top:1rem;grid-column:2;grid-row:1}.casino-article{grid-column:1;grid-row:1}.casino-toc nav{max-height:72vh;overflow:auto}.casino-ranking{grid-template-columns:1fr}
}

body.editorial-page, body.casino-page {user-select:text}
.hamburger-lines{width:23px!important}
.hamburger-lines span{width:100%!important}

.casino-page main .casino-hero > .container {
  padding:0;
}