:root {
  /* Primary Colors */
  --primary-orange: #ffa366;
  --primary-orange-light: #ffb366;

  /* Background Colors */
  --bg-main: #f2f2f2;
  --bg-white: #fff;
  --bg-dark: #343a40;
  --bg-dark-hover: #25272c;
  --bg-gray: #6c757d;
  --bg-gray-hover: #4e545a;
  --bg-info: #b9e3eb;

  /* Text Colors */
  --text-primary: #212529;
  --text-secondary: #343a40;
  --text-white: #fff;
  --text-black: #000;
  --text-danger: #dc3545;
  --text-success: #28a745;

  /* Border Colors */
  --border-light: #ced4da;
  --border-white: #fff;
  --border-dark: #6c757d;

  /* Status Colors */
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;

  /* Hover Effects */
  --hover-overlay: rgba(255, 255, 255, 0.1);
  --hover-shadow: rgba(0, 0, 0, 0.3);

  /* Performance optimizations */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --border-radius: 4px;
  --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

html::-webkit-scrollbar {
  display: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Verdana, sans-serif;
}

/* Performance optimizations */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  background: var(--bg-main);
  color: var(--text-primary);
}
.recommand {
  width: calc(100% - 20px);
  margin: auto;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  margin-top: 5px;
}
.recommand__image {
  width: 12px;
  height: 12px;
}
.container {
  width: calc(100% - 20px);
  max-width: 1140px;
  margin: 0 auto;
  background: var(--primary-orange-light);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 5px;
}
header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  background: var(--primary-orange);
  padding: 5px 0 20px 0;
}
.logo__header {
  width: 275px;
}
.logo__header img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.download__header {
  padding: 0 5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}
.download__item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}
.btn__download {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  height: 31px;
  border-radius: 3px;
  border: 1px solid var(--border-white);
  color: var(--text-black);
  padding: 0 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  background: var(--bg-white);
}
.btn__download:hover {
  background: var(--primary-orange);
}
.download__item_version {
  font-size: 12px;
  color: var(--text-secondary);
}
.auth {
  padding: 20px 0 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.main__auth {
  display: flex;
  gap: 5px;
}
.btn__auth {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  background: var(--bg-white);
  color: var(--text-black);
  border-radius: 3px;
  padding: 0 8px;
  font-size: 14px;
  height: 31px;
}
.btn__auth:hover {
  background: var(--primary-orange);
}
nav {
  display: flex;
  gap: 5px;
  padding: 0 5px;
  margin-top: 30px;
}
.nav__item {
  width: calc(100% / 3 - 15px / 3);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 14px;
  border-radius: 3px;
  border: 1px solid var(--border-white);
  color: var(--text-black);
  height: 31px;
  font-weight: 600;
  gap: 5px;
}
.notifications {
  background: var(--primary-orange);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding: 5px 20px 10px 20px;
}
.posts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding: 5px 20px 10px 20px;
}
.notification__item,
.post {
  display: flex;
  align-items: center;
  gap: 10px;
}
.notification__item--left,
.post__left {
  width: 25px;
}
.notification__item--left img,
.post__left img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.notification__item--right,
.post__right {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.notification__item--right__title,
.post__right__title {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.notification__item--right__title h3,
.post__right__title h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-black);
}
.post__right__title h3 {
  font-weight: 400;
}
.notification__item--right__title img,
.post__right__title img {
  width: 25px;
}
.notification__item--right__content,
.post__right__content {
  font-size: 9px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}
.post__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.btn__new {
  font-size: 14px;
  background: var(--bg-white);
  border-radius: 4px;
  text-decoration: none;
  padding: 5px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-black);
}
.post__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.post__pagination__btn {
  font-size: 14px;
  background: var(--bg-white);
  border-radius: 4px;
  text-decoration: none;
  width: 29px;
  height: 29px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-black);
}
.post__pagination__btn.active {
  border: 1px solid var(--border-white);
  background: var(--primary-orange-light);
  color: var(--text-white);
}
.post__detail,
.post__detail__comment {
  margin-top: 15px;
  padding: 0 20px;
  display: flex;
  align-items: start;
}
.post__detail__left,
.post__detail__comment__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 70px;
}
.post__detail__avatar,
.post__detail__comment__avatar {
  width: 30px;
  object-fit: cover;
  object-position: center;
}
.post__detail__name,
.post__detail__comment__name {
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 9px;
  margin-top: 5px;
}
.post__detail__right,
.post__detail__comment__right {
  width: calc(100% - 70px);
  background: var(--bg-white);
  border-radius: 4px;
  padding: 10px;
  padding-bottom: 15px;
}
.post__detail__content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.post__detail__date,
.post__detail__comment__date {
  font-size: 9px;
  color: var(--text-primary);
}
.post__detail__title,
.post__detail__comment__title {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
}
.post__detail__content__text,
.post__detail__comment__content {
  font-size: 13px;
  color: var(--text-primary);
  margin-top: 5px;
}
.form__comment {
  margin-top: 15px;
  padding: 0px 20px;
  padding-left: 90px;
  gap: 10px;
}
.form__comment__content {
  padding: 10px;
  width: 100%;
  border-radius: 4px;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 15px;
}
.form__comment__content__textarea {
  max-width: 100% !important;
  height: 100px;
}
.btn__comment {
  width: max-content !important;
}
.leaderboard {
  margin: 20px 20px;
  padding: 20px 0;
  border-top: 1px solid rgb(0, 0, 0, 0.1);
}
.leaderboard__menu {
  display: flex;
  justify-content: center;
  gap: 5px;
}
.leaderboard__menu__item {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  color: #000;
  width: calc(100% / 3 - 10px / 3);
  border: 1px solid #fff;
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 10px;
  text-transform: uppercase;
  text-align: center;
}
.leaderboard__menu__item.active {
  background: #fff;
}
.table__leaderboard {
  width: 100%;
  margin: 15px auto 0 auto;
  padding: 10px 0;
  background: transparent;
  border-radius: 6px;
}
.table__scroll__leaderboard {
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.table__scroll__leaderboard::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.table__leaderboard {
  border: none !important;
}

.table__leaderboard table {
  border: none !important;
}

.table__leaderboard th,
.table__leaderboard td {
  font-size: 12px;
  text-align: center;
  border: none !important;
}
.text-right__leaderboard {
  margin-top: 8px;
  text-align: right;
  color: #212529;
}
@media (max-width: 576px) {
  .table__leaderboard {
    padding: 8px;
  }
}
.nav__item.active {
  background: #fff;
}
.form__login,
.form__register,
.form__change-password,
.form__new-post {
  width: calc(100% - 20px);
  max-width: 475px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 30px;
  color: #212529;
  font-size: 14px;
}
.form__login a,
.form__register a {
  color: #0056b3;
  text-decoration: none;
}
.title__login,
.title__register,
.title__change-password,
.title__new-post {
  font-size: 20px;
  font-weight: 500;
}
.form__control {
  width: 100%;
  max-width: 475px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.group__checkbox {
  width: 100%;
  max-width: 475px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.form__input {
  width: 100%;
  height: 38px;
  border-radius: 4px;
  max-width: 475px;
  border: unset;
  outline: unset;
  padding: 0 10px;
  background: var(--bg-white) !important;
  border: 1px solid var(--border-light);
}
.form__area {
  width: 100%;
  border-radius: 4px;
  max-width: 475px;
  border: unset;
  outline: unset;
  padding: 10px;
  background: var(--bg-white) !important;
  border: 1px solid var(--border-light);
}
.group__checkbox input {
  background: var(--bg-white) !important;
  border: 1px solid var(--border-light);
  font-size: 16px;
}
.btn__login,
.btn__register,
.btn__change-password,
.btn__new-post,
.btn__comment,
.btn__active {
  width: 100%;
  max-width: 475px;
  height: 38px;
  border-radius: 4px;
  border: unset;
  outline: unset;
  padding: 0 10px;
  background: var(--primary-orange);
  color: var(--text-white);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.btn__login:hover,
.btn__register:hover,
.btn__change-password:hover,
.btn__new-post:hover,
.btn__comment:hover,
.btn__active:hover {
  color: var(--text-primary);
}
.alert-register {
  width: 100%;
  max-width: 475px;
  margin: 0 auto;
  font-size: 14px;
  margin-top: 5px;
}
.alert {
  width: 100%;
  max-width: 475px;
  font-size: 14px;
}

.alert-error {
  color: var(--text-danger);
}

.alert-success {
  color: var(--text-success);
}
.account {
  background: var(--primary-orange);
  padding: 20px 0 10px 0;
}
.player {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.player__avatar {
  width: 50px;
}
.player__name {
  font-size: 14px;
  color: var(--text-white);
  font-weight: 400;
}
.recharge__tabs {
  display: flex;
  justify-content: center;
}
.recharge__tabs {
  margin-top: 10px;
  display: flex;
  gap: 5px;
}
.recharge__tab {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  background: var(--bg-white);
  border-radius: 4px;
  color: var(--text-black);
  padding: 0 10px;
  font-size: 14px;
  height: 31px;
}
.form__recharge {
  width: calc(100% - 20px);
  max-width: 475px;
  margin: 20px auto 20px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
}
.recharge__title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
}
.btn__recharge {
  width: 100%;
  max-width: 475px;
  height: 38px;
  border-radius: 4px;
  border: unset;
  outline: unset;
  padding: 0 10px;
  background: var(--primary-orange);
  color: var(--text-white);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 14px;
}
.btn__recharge:hover {
  color: var(--text-primary);
}
/* Pricing Table Styles */
.pricing__container {
  width: 100%;
  margin: 20px 0;
  padding: 0 10px;
  background: transparent;
  border-radius: 6px;
  border: none;
}

.pricing__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing__table {
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.pricing__table::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.pricing__table .table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--text-primary);
  min-width: 640px;
  background: transparent;
  border: 1px solid var(--primary-orange);
}

.pricing__table .table thead tr {
  background: transparent;
}

.pricing__table .table th,
.pricing__table .table td {
  padding: 10px 15px;
  text-align: center;
  white-space: nowrap;
  border: 1px solid var(--primary-orange);
}

.pricing__table .table tbody tr:nth-child(even) {
  background: transparent;
}

.table__container {
  width: 100%;
  margin: 20px 0;
  padding: 0 10px;
  background: transparent;
  border-radius: 6px;
  border: none;
}
.table__empty {
  font-size: 14px;
}
.table__container h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.table__scroll {
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.table__scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--text-primary);
  min-width: 640px;
  background: transparent;
  border: 1px solid var(--primary-orange);
}
.table thead tr {
  background: transparent;
}
.table th,
.table td {
  padding: 10px 15px;
  text-align: center;
  white-space: nowrap;
  border: 1px solid var(--primary-orange);
}
.table tbody tr:nth-child(even) {
  background: transparent;
}

@media (max-width: 576px) {
  .table th,
  .table td {
    padding: 8px 10px;
    font-size: 13px;
  }
  .table {
    min-width: 520px;
  }
}

.recharge__content {
  width: calc(100% - 20px);
  max-width: 475px;
  margin: 10px auto 15px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.qr__image {
  width: 220px;
}
.qr__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 6px;
}
.copy__row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}
.copy__label {
  font-size: 14px;
  color: #212529;
  min-width: 70px;
}
.copy__input {
  flex: 1;
  height: 38px;
  border-radius: 4px;
  border: unset;
  outline: unset;
  padding: 0 10px;
  background: #fff !important;
  border: 1px solid #ced4da;
}
.page-active {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 35px 10px 0 10px;
}
.active__left {
  width: calc(100% - 20px);
  max-width: 475px;
}
.message__active {
  border-radius: 4px;
  padding: 15px;
  background: var(--primary-orange-light);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.content__active {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.form__active {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  margin-top: 15px;
}
.title__active {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  text-transform: uppercase;
}
.form__active .form__control {
  max-width: 100% !important;
}
.form__active .form__input {
  font-size: 16px;
  color: var(--text-black);
  max-width: 100%;
}
.active__recharge__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.active__qr__image {
  width: 220px;
}
.active__qr__image img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.active__copy__row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn__active {
  max-width: 100%;
}
.active__right {
  width: calc(100% - 20px);
  max-width: 600px;
}
.active__right__img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}
@media only screen and (max-width: 992px) {
  .page-active {
    padding: 20px 10px;
  }
}
footer {
  background: var(--primary-orange);
  padding: 50px 0 25px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: var(--text-white);
}
.socials {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.social__item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-size: 14px;
  color: var(--text-white);
}
i.fa-facebook {
  color: #00f;
}
.copyright {
  font-size: 10px;
  text-align: center;
  margin-top: 20px;
}
.popup-trigger {
  background: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.popup-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.popup__modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup__modal.show {
  display: flex;
  opacity: 1;
}

.popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hover-shadow);
  cursor: pointer;
}
.popup__content {
  width: calc(100% - 20px);
  max-width: 400px;
  border-radius: 10px;
  background: var(--primary-orange);
  position: absolute;
  z-index: 100000;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  transition: 0.3s;
  padding: 40px;
  border: 1px solid var(--border-dark);
}
.popup__modal.show .popup__content {
  top: 30px;
}
.popup__content .fa-xmark {
  font-size: 20px;
  position: absolute;
  top: 40px;
  right: 40px;
  cursor: pointer;
  color: var(--text-primary);
}
.popup__logo {
  width: 100%;
}
.popup__logo img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.popup__description {
  font-size: 14px;
  color: var(--text-primary);
  margin-top: 20px;
}
.popup__buttons {
  margin-top: 30px;
  border-top: 1px solid var(--border-white);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn__popup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  font-size: 14px;
  color: var(--text-dark);
  width: 100%;
  height: 39px;
  border-radius: 3px;
  font-weight: 700;
  background: var(--bg-white);
}
.btn__popup:hover {
  background: var(--bg-main);
}
.btn__popup img {
  width: 25px;
  height: 25px;
}
.close__popup {
  background: var(--danger);
  color: var(--bg-white);
  cursor: pointer;
}
.close__popup:hover {
  background: var(--danger);
}


