
* {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

:root {
  --purple: #ffc107;
  --black: #1c1c1c;
  --dark: #2a2a2a;
  --text: #ffffff;
}

body {
  margin: 0;
  padding-bottom: 80px;
  background-color: #0E1117;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background: #0E1117;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: Arial, sans-serif;
  
}

#loader h1 {
  font-size: 2.7rem;
  font-weight: bold;
  color: gold;
  margin: 0;
  margin-bottom: 30px;
  text-shadow: gold 0px 0px 10px, black 0px 0px 20px;
  animation: bounce 0.4s ease-in-out infinite alternate;
}

.dots {
  display: flex;
  gap: 10px;
}

.dot {
  font-size: 2rem;
  color: gold;
  animation: bounce 0.3s ease-in-out infinite alternate;
}

.dot:nth-child(2) {
  animation-delay: 0.1s;
}

.dot:nth-child(3) {
  animation-delay: 0.3s;
}



@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background-color: #1a1f2b;
}

.header-nav logo {
  width: 50%;
}

.header-nav i {
  color: white;
}

.logo-mobile {
  display: none;
}

.logo-desktop {
  display: block;
}

@media (max-width: 768px) {
  .logo-mobile {
    display: block;
  }

  .logo-desktop {
    display: none;
  }


}


.header-nav .logo span {
  color: #ffc107;
  font-size: 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  display: inline;
}

.bottom-nav {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #1A1F2B;
  border: 0.6px solid #374151;
  border-radius: 0.4rem;
  width: 90%;
  max-width: 400px;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  z-index: 1000;
}


.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px;

}

.nav-item {
  -webkit-tap-highlight-color: transparent;
}

.nav-item i {
  font-size: 15px;
  display: block;
  color: gray;
  margin-top: 1px;
  font-family: 'Rubik', sans-serif;
  text-decoration: none;
}

.nav-item img {
  width: 36px;
  height: 36px;
  filter: brightness(0) saturate(100%) invert(51%) sepia(14%) saturate(7%) hue-rotate(326deg) brightness(96%) contrast(95%);
}

.nav-item.active img {
  filter: brightness(0) saturate(100%) invert(59%) sepia(99%) saturate(393%) hue-rotate(3deg) brightness(100%) contrast(98%);
}



.nav-item.active i {
  color: #f4b015;
}

.nav-item .label {
  font-size: 0.75rem;
}

.nav-item.active {
  color: #f4b015;
  font-weight: bold;
  transform: translateY(-5px) scale(1.05);

}

.nav-item:focus,
.nav-item:active {
  outline: none;
  background: transparent;
}


.auth-buttons {
  display: flex;
}

.auth-buttons button {
  padding: 8px 15px;
  margin-left: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

.sign-in {
  background-color: #2b2837;
  color: white;
}

.sign-up {
  background-color: #ffc107;
  color: black;
}

.sign-in:hover,
.sign-up:hover {
  opacity: 0.8;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.overlay.active {
  display: flex;
}

.modal-container {
  display: flex;
  background: #1a1f2b;
  border-radius: 20px;
  overflow: hidden;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 0 30px #7e5f0328;
}

.modal-left {
  flex: 1;
  background: url("../imgs/GetStart.webp") center/contain no-repeat, #ffc107;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: top;
  text-align: center;
}

.modal-left p {
  font-size: 12px;
  margin-top: 30px;
}

.modal-right {
  flex: 1;
  background-color: var(--black);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  color: var(--purple);
  font-size: 22px;
  font-family: 'Rubik', sans-serif;
  text-shadow: 0 0 10px #ffc10799;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
}

.close-btn:hover {
  transform: scale(1.2);
  color: #ffc107;
}


.login-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.login-form input {
  padding: 14px;
  border-radius: 10px;
  background: #2c2c2c;
  font-family: 'Rubik', sans-serif;
  border: 2px solid transparent;
  color: #fff;
  transition: 0.3s ease;
}

.login-form .gender {
  padding: 14px;
  border-radius: 10px;
  background: #2c2c2c;
  font-family: 'Rubik', sans-serif;
  border: 2px solid transparent;
  color: #fff;
  transition: 0.3s ease;
  width: 100%;
  appearance: none;
  /* removes default arrow styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23fff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
}


.login-form label {
  font-size: 16px;
  color: #fff;
  font-family: 'Rubik', sans-serif;
}

.login-form input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 8px #ffc107;
  outline: none;
}

.login-form .gender:focus {
  border-color: var(--purple);
  box-shadow: 0 0 8px #ffc107;
  outline: none;
}

.recaptcha-wrapper {
  padding: 14px;
  border-radius: 10px;
  background: #2c2c2c;
  font-family: 'Rubik', sans-serif;
  border: 2px solid transparent;
  color: #fff;
  transition: 0.3s ease;
}

.btn {
  padding: 10px;
  border: none;
  border-radius: 10px;
  font-weight: 100;
  cursor: pointer;
  transition: 0.2s;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.btn.purple {
  background-color: var(--purple);
  color: #000;
  box-shadow: 0 0 12px ffc107;
  font-size: 16px;

}

.btn.dark {
  background-color: #3a3a3a;
  color: #fff;
  font-family: 'Rubik', sans-serif;
}

.btn.google {
  background-color: #e53935;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: bold;


}

.btn.google img {
  display: inline-block;
  vertical-align: middle;
}




.btn:hover {
  transform: translateY(-2px);
}

.register-link {
  text-align: center;
  font-size: 14px;
  font-family: 'Rubik', sans-serif;
  color: var(--text);
}

.register-link a {
  text-align: center;
  font-size: 14px;
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  color: #ffc107;
}

.rest-link {
  text-align: left;
  font-size: 14px;
  font-family: 'Rubik', sans-serif;
  color: var(--text);
}

.rest-link a {
  text-align: center;
  font-size: 14px;
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  color: #ffc107;
}

.login-form small {
  text-align: center;
  color: #aaa;
  font-size: 12px;
  font-family: 'Rubik', sans-serif;
}

.login-form small a {
  text-align: center;
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  color: #ffc107;
}

.login-form small a:hover {
  text-decoration: underline;
}

.main-title {
  color: #ffffff;
  font-size: 51px;
  width: 43%;
  line-height: 1.4;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  margin-top: 5%;
}

.main-subtitle {
  color: rgb(156, 155, 155);
  font-size: 18px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  margin-top: 2%;
}

.earn-title {
  color: #ffffff;
  font-size: 28px;
  width: 89%;
  text-align: left;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  margin: 1.5%;
}

.earn-title img {
  width: 35px;
  height: 35px;
  display: inline-block;
  vertical-align: middle;
}

.offer-container {
  display: flex;
  overflow-x: auto;
  justify-content: left;
  gap: 10px;
  padding: 8px;
  max-width: 1100px;

}

.offer-card {
  min-width: 99px;
  background-color: #1a1f2c;
  padding: 8px;
  color: white;
  border-radius: 8px;
  text-align: left;
  border: 1px solid #333;
  transition: transform 0.2s ease-in-out;
}

.offer-card:hover {
  transform: translateY(-5px);
}

.offer-card img {
  width: 100%;
  height: 110px;
  border-radius: 12px;
  position: relative;
}

.image-wrapper {
  position: relative;
}

.offer-icon {
  gap: 4px;
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.offer-icon img {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}


.offer-card .title {
  font-weight: 600;
  font-size: 14px;
  margin: 10px 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-card .category {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 6px;
}

.offer-card .price {
  font-size: 14px;
  font-weight: bold;
}

.show-more-btn {
  display: block;
  font-size: 16px;
  background-color: #00ff88;
  border: none;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
}

.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;

}

.horizontal-scroll ::-webkit-scrollbar {
  height: 0px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 10px;
}


.horizontal-scroll .offeer-proofile {
  width: 100%;
  height: 100px;
  border-radius: 12px;
  margin-bottom: 10px;
  background-color: #225075;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.horizontal-scroll .offeer-proofile img {
  width: 100%;
  height: 100%;
}

.horizontal-scroll .offeer-carding {
  display: grid;
  justify-content: left;
  align-items: flex-start;
  text-align: start;
  background: linear-gradient(to bottom, #2d3547, #1a1f2b);
  border: 1px solid #333;
  border-radius: 8px;
  min-width: 100px;
  height: auto;
  padding: 10px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  color: white;
  transition: transform 0.2s ease-in-out;
}

.horizontal-scroll .offeer-carding:hover {
  transform: translateY(-5px);
}

.horizontal-scroll .offeer-text {
  font-weight: 600;
  font-size: 15px;
  margin: 10px 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.horizontal-scroll .offeer-need {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 6px;
}

.horizontal-scroll .rate {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: white;
  margin-bottom: 2px;
  margin-top: 7px;
}

.horizontal-scroll .rate .ofeer-price {
  font-size: 13px;
  color: white;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.horizontal-scroll .rate .star {
  font-size: 12px;
  color: #fbbf24;
}
.horizontal-container {
  display: none;
  overflow-x: auto;
  padding: 10px;
  gap: 10px;
}

.horizontal-container .active {
  display: flex;
}

.horizontal-container::-webkit-scrollbar {
  height: 0px;
}

.horizontal-container::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 10px;
}

.lives-container {
  display: flex;
}

.payment-card {
  display: flex;
  align-items: center;
  background-color: #1A1F2B;
  border: 2px;
  border-radius: 8px;
  padding: 5px;
  color: white;
  font-size: 14px;
}



.avatar {
  width: 24px;
  height: 24px;
  border-radius: 10px;
  margin-right: 8px;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.info {
  display: flex;
  flex-direction: column;
  margin-right: 8px;
}

.tag {
  font-size: 11px;
  color: #ffc107;
  font-weight: bold;
}



.name {
  max-width: 65px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}


.score {
  background-color: #3a3a3a;
  padding: 2px 8px;
  border-radius: 5px;
  font-weight: bold;
  color: #ffc107;
}

.notification-wrapper {
  position: relative;
  z-index: auto;
}

.notif-btn {
  border: none;
  cursor: pointer;
  font-size: 22px;
  outline: none;
  background: transparent;
  position: relative; 
}

.notif-count {
  width: 16px;
  height: 16px;
  opacity: 0.9;
  background-color: red;
  border-radius: 15px;
  font-size: 10px; 
  color: white;
  align-items: center;
  justify-content: center;
  display: flex;
  position: absolute;  
  top: -4px;
  right: -4px; 
}

.notif-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  z-index: 1;
  display: none;
}

.notif-window {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  background: #1A1F2B;
  border: 1px solid #ccc;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: none;
  flex-direction: column;
  padding: 15px;
  z-index: 2;
  overflow-y: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.notif-window.show {
  display: flex;
}

.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-weight: bold;
  margin-bottom: 8px;
}

.notif-header .close-btn {
  cursor: pointer;
  font-size: 18px;
}

.notif-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}

.notif-item {
  display: grid;
}

.notif-item .title {
  font-weight: bold;
  color: #fff;
  font-size: 15px;
  margin-bottom: 5px;
}

.notif-item .message {
  color: #eee;
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}

.notif-item .message:last-child {
  border-bottom: none;
}
.no-items {
  padding: 20px;
  text-align: center;
  color: #888;
  font-size: 14px;
  font-style: italic;
}

#dropdownAlert {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 350px;
  z-index: 9999;
  transition: top 0.5s ease;
  text-align: center;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  background-color: #0E1117;
  color: #fff;
}

#dropdownAlert .alert {
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #fff;
}

#dropdownAlert .alert-success {
  background-color: #28a745;
  padding: 10px;
}

#dropdownAlert .alert-danger {
  background-color: #dc3545;
  padding: 10px;
}

#dropdownProgress {
  height: 1px;
  width: 0%;
  background-color: #4caf50;
  transition: width 0.2s ease;
}


.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  opacity: 0;
  max-width: 600px;
  width: 90%;
  max-height: 90%;
  background: linear-gradient(180deg, #252538 0%, #1e1e2a 100%);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  color: #fff;
  overflow-y: auto;
  z-index: 1000;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  pointer-events: none;
}

.popup::-webkit-scrollbar {
  width: 0;
}

.popup.show {
  display: block;
  animation: dropdown 0.4s ease-out forwards;
  pointer-events: auto;
}

.popup.hide {
  animation: dropup 0.3s ease-in forwards;
  pointer-events: none;
}

@keyframes dropdown {
  0% {
    opacity: 0;
    transform: translate(-50%, -60%);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes dropup {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
}

.popup-header {
  background-color: #2c2c3e;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.popup-header h1 {
  font-size: 20px;
  margin: 0;
  font-weight: 600;
}

.popup-header .close-btn {
  font-size: 24px;
  color: #bbb;
  cursor: pointer;
}

.popup-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding: 20px;
}

.popup-content.hide {
  opacity: 0;
  transform: translateY(20px);
}

.popup-content.show {
  opacity: 1;
  transform: translateY(0);
}

.game-image {
  width: 100%;
  height: 270px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 12px;
  margin-bottom: 15px;
}

.game-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.game-info h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.popularity-score {
  font-size: 18px;
  color: #ffd700;
}

.reward-button {
  background-color: #2c2c3e;
  padding: 16px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  bottom: 0;
  z-index: 100;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}


.start-offer-btn {
  background-color: var(--purple);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.start-offer-btn:hover {
  background-color: green;
}

.start-offer-btn span {
  color: #000;
}

.start-offer-btn span:hover {
  color: #fff;
}

.play-icon {
  font-size: 16px;
  color: #000;
}

.play-icon:hover {
  color: #fff;
}


.rewards {
  margin: 10px 0 20px;
}

.reward {
  background-color: #2f2f45;
  padding: 12px 15px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: bold;
  font-family: 'Courier New', Courier, monospace;
}

.reward span:first-child {
  color: var(--purple);
}

.reward span:last-child {
  color: #ddd;
}

.description {
  border-radius: 10px;
  color: #ccc;
}

.description strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.rewards-container {
  font-weight: bold;
  color: #fff;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 5px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: 1px solid #ffc107;
  color: #ffc107;
  border-radius: 5px;
  cursor: pointer;
}

.rewards-toggle {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.rewards-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;

}

.rewards-content.show {
  max-height: 1800px;
  opacity: 1;
}

.rewards-container strong:last-child.rotate {
  transform: rotate(180deg);
}

strong {
  font-weight: bold;
  color: #ffc107;
  display: block;
}

.popup-body-wrapper {
  overflow: hidden;
  transition: max-height 1.5s ease;
  max-height: 1500px;
}

.popup.closing .popup-body-wrapper {
  max-height: 0;
}

.popup.closing .popup-content {
  opacity: 0;
  transform: scaleY(0.1);
  transition: opacity 0.1s ease, transform 0.1s ease;
}

.earn-feed-fixed-elements {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.changer-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background-color: #3a3a3a;
  border-radius: 6px;
}

.changer-header img {
  width: 20px;
  height: 20px;
}

.changer-content {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  background: #1a1f2c;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  width: 130px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.changer-content span {
  color: white;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 17px;
}

.changer-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
}

.changer-option:hover {
  background-color: #3a3a3a;
}

.changer-active .changer-content {
  display: block;
}

.changer-option img {
  width: 20px;
  height: 20px;
}

.changer-content.active {
  background-color: #3a3a3a !important;
}


.modal {
  display: none;
  position: fixed;
  z-index: 10002;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #fff;
  justify-content: center;
  align-items: center;
  scrollbar-width: none;
}

.modal::-webkit-scrollbar {
  display: none;
}

.modal.show {
  display: flex;
}

.modal-dialog {
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #444;
}

.modal-header h2 {
  font-size: 1.8rem;
  margin: 0;
}

.modal-footer {
  display: flex;
  justify-content: center;
  padding: 16px;
  border-top: 1px solid #444;
}

.modal-body {
  flex: 1;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Close button with gap and position */
.modal-close {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.closer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
}

.option {
  min-width: 120px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease;
  text-align: center;
}

.option img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}


.option-text {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  color: #F2F2F2;
  font-size: 16px;
  text-align: center;
}

.option:hover {
  transform: translateY(-10px);
  cursor: pointer;
}

.option.selected {
  border-color: gold;
}

.cashout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  padding: 0.65rem;
  justify-items: center;
}


.cashout {
  width: 150px;
  height: 210px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease;
  text-align: center;
  padding: 0.7rem 0;
}

.cashout-img-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cashout img {
  width: 65px;
  height: 65px;
}

.cashout span {
  font-weight: 600;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: white;
}


.cashout:hover {
  transform: translateY(-10px);
  cursor: pointer;
}

.cashout::after {
  border: gold 2px solid;
}

.cashout.litecoin {
  background: linear-gradient(135deg, #444, #777);
}

.cashout.tether {
  background: linear-gradient(135deg, #00756f, #26d9b1);
}

.cashout.payeer {
  background: linear-gradient(135deg, #002233, #00aaff);
}

.cashout.paypal {
  background: linear-gradient(135deg, #002c90, #00aaff);
}

.cashout.usdc {
  background: linear-gradient(135deg, #2775ca, #60bafd);
}

.cashout.visa {
  background: linear-gradient(135deg, #1a1f71, #8a8a8a);
}

.cashout.googleplay {
  background: linear-gradient(135deg, #444, #777);
}

.cashout.amazon {
  background: linear-gradient(135deg, #836200, #f1c40f);
}

.wallet {
  width: fit-content;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 3px;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, #1a1f71, #8a8a8a);
  color: white;
}

.wallet span {
  font-weight: 600;
  font-size: 1.1rem;
  font-family: 'Times New Roman', Times, serif;
}

.wallet img {
  width: 25px;
  height: 30px;
  margin-right: 0.5rem;
  margin-left: 0.2rem;
  display: inline-block;
  vertical-align: middle;
}

.profile-container {
  position: relative;
  display: inline-block;
  margin-right: 0.7rem;
}

.profile {
  width: fit-content;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 3px;
  border-radius: 6px;
  color: white;
  cursor: pointer;
}

.profile span {
  font-size: 1rem;
  color: white;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.profile .circle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #225075;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
}

.profile .circle img {
  width: 100%;
  height: 100%;
}

.profile .circle span {
  font-size: 1.5rem;
  color: white;
  font-weight: 600;
}


.profile-content {
  display: none;
  background-color: #2b2b2b;
  color: white;
  border-radius: 8px;
  overflow: hidden;
  position: absolute;
  top: 45px;
  left: 0;
  right: 10px;
  min-width: 160px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform-origin: top center;
  z-index: 1;
}



.profile-content.show {
  display: block;
  animation: profiledown 0.25s ease-in-out forwards;
}



@keyframes profiledown {
  0% {
    opacity: 0;
    transform: scaleY(0);
  }

  100% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.profile-content a {
  color: white;
}

.profile-content p {
  margin: 0;
  padding: 10px 10px;
  font: 1em sans-serif;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Inter', sans-serif;

}

.profile-content p:last-child {
  border-bottom: none;
}

.profile-content p:hover {
  background-color: #3a3a3a;
}


.cashout-wrapper {
  position: relative;
  z-index: auto;
}



.cashout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  z-index: 1;
  display: none;
}

.cashout-window {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45%;
  background: #1A1F2B;
  border: 1px solid #ccc;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: none;
  flex-direction: column;
  padding: 15px;
  z-index: 2;
  max-height: 80vh;
  overflow-y: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cashout-window.show {
  display: flex;
}

.cashout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-weight: bold;
  margin-bottom: 8px;
}

.cashout-header .textview {
  font-size: 18px;
  font-family: 'Inter', sans-serif;
}

.cashout-header .close-btn {
  cursor: pointer;
  font-size: 18px;
}

.cashout-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  margin-top: 10px;
}

.cashout-items {
  display: column;
  justify-content: left;
  align-items: center;
  padding: 7px;
}

.cashout-oprions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.cashout-oprions .title {
  font-size: 18px;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.cashout-oprions .value {
  font-size: 16px;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.cashout-border {
  display: flex;
  background: #27282b;
  border: 1px solid #535353;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin-bottom: 5px;
  width: 45%;
  margin: 10px auto;
}

.cashout-border .dollar {
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  background-color: #2e2e2e;
  border-right: 1px solid #535353;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  padding: 8px;
  width: 12%;
  justify-content: center;
  align-items: center;
}

.cashout-border input {
  width: 100%;
  padding: 8px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 16px;
  outline: none;
}

.cashout-payment {
  display: flex;
  background: #27282b;
  border: 1px solid #535353;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin-bottom: 5px;
  width: 65%;
  height: 20%;
  margin: 10px auto;
}

.cashout-payment input {
  width: 100%;
  padding: 8px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 16px;
  outline: none;
}

.cashout-button {
  background: #4CAF50;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
}

.setting-container {
  max-width: 82%;
  margin: 20px auto;
  background-color: #1a1f2b;
  padding: 20px 30px;
  border-radius: 8px;
}

.setting-header {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.setting-section {
  background-color: #0E1117;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
}

.setting-section i {
  margin-right: 10px;
}

.setting-label {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.setting-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.setting-info img {
  width: 21px;
  height: 21px;
  color: #fff;
}

.setting-value {
  font-size: 16px;
  color: #838383;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 400;
}

.setting-offers {
  font-family: Arial, sans-serif;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin: 0;
}

.setting-dashboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 88%;
  width: 100%;
}

.setting-card {
  background-color: #1a1f2b;
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 4px;
}

.setting-card:nth-child(5) {
  grid-column: 1 / -1;
  justify-self: center;
  width: 50%;
}

.setting-logout {
  background-color: #1a1f2b;
  display: flex;
  align-items: center;
  border-radius: 4px;
  justify-content: left;
  padding: 5px;
}

.setting-logout .setting-icon {
  padding: 3px;
  border-radius: 6px;
  margin-right: 15px;
  font-size: 20px;
  margin-right: 30%;
}

.setting-logout .setting-icon img {
  width: 40px;
  height: 40px;
}

.setting-logout .setting-icon-out {
  padding: 3px;
  border-radius: 6px;
  margin-right: 15px;
  font-size: 20px;
  margin-right: 38%;
}

.setting-logout .setting-icon-out img {
  width: 40px;
  height: 40px;
}

.setting-logout .title {
  font-weight: bold;
  color: #b0bfc7;
  font-size: 18px;
  justify-content: space-between;
}

.setting-logout .title-out {
  font-weight: bold;
  color: #b0bfc7;
  font-size: 18px;
  justify-content: center;
}

.setting-icon {
  padding: 3px;
  border-radius: 6px;
  margin-right: 15px;
  font-size: 20px;
}

.setting-icon img {
  width: 38px;
  height: 38px;
}

.setting-info-title {
  font-weight: bold;
  color: #b0bfc7;
  font-size: 14px;
}

.setting-info-value {
  font-weight: bold;
  font-size: 15px;
  margin-top: 2px;
  color: white;
}

.setting-containers {
  max-width: 88%;
  width: 100%;
  margin: auto;
  color: #e5e7eb;
  font-family: 'Segoe UI', sans-serif;
}

.setting-tabs {
  display: flex;
  background-color: #1a1f2b;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
  margin-top: 1rem;
  width: 100%;
}

.setting-tab-button {
  flex: 1;
  padding: 14px 20px;
  border: none;
  background: none;
  color: #9ca3af;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 15px;
}

.setting-tab-button.setting-active {
  background-color: #22c55e;
  color: #fff;
}

.setting-tab-content {
  display: none;
  background-color: #1a1f2b;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: setting-fadeIn 0.3s ease;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.setting-tab-content.setting-active {
  display: block;
}

.setting-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.setting-table th,
.setting-table td {
  padding: 14px 12px;
  text-align: left;
  font-size: 15px;
}

.setting-table th {
  text-transform: uppercase;
  font-size: 13px;
  color: #9ca3af;
  border-bottom: 2px solid #2e3444;
}

.setting-table tbody tr {
  border-bottom: 1px solid #2e3444;
  transition: background 0.3s;
}

.setting-table tbody tr:last-child {
  border-bottom: none;
}

.setting-table tbody tr:hover {
  background-color: #2b3143;
}

.setting-no-data td {
  text-align: center;
  padding: 30px;
  color: #6b7280;
  font-style: italic;
  border-bottom: none;
  background-color: #1a1f2b;
}


@keyframes setting-fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.invitation-containers {
  max-width: 88%;
  width: 100%;
  margin: auto;
  margin-top: 35px;
  color: #e5e7eb;
  font-family: 'Segoe UI', sans-serif;
}


.invitation-tab-content {
  display: none;
  background-color: #1a1f2b;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: invitation-fadeIn 0.3s ease;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.invitation-tab-content.invitation-active {
  display: block;
}

.invitation-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.invitation-table th,
.invitation-table td {
  padding: 14px 12px;
  text-align: left;
  font-size: 15px;
}

.invitation-table td {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.invitation-table th {
  text-transform: uppercase;
  font-size: 13px;
  color: #9ca3af;
  border-bottom: 2px solid #2e3444;
}

.invitation-table tbody tr {
  border-bottom: 1px solid #2e3444;
  transition: background 0.3s;
}

.invitation-table tbody tr:last-child {
  border-bottom: none;
}

.invitation-table tbody tr:hover {
  background-color: #2b3143;
}

.invitation-no-data td {
  text-align: center;
  padding: 30px;
  color: #6b7280;
  font-style: italic;
  border-bottom: none;
  background-color: #1a1f2b;
}

.invitation-ref {
  display: grid;
  background-color: #1a1f2b;
  align-items: center;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: invitation-fadeIn 0.3s ease;
  margin-bottom: 1rem;
}

.invitation-ref .title {
  font-size: 17px;
  font-weight: bold;
  color: #e5e7eb;
  font-family: 'Inter', sans-serif;
  margin-bottom: 10px;
}

.invitation-ref span {
  font-size: 16px;
  color: #e5e7eb;
  font-family: 'Segoe UI', sans-serif;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: left;

}

.invitation-ref .ref {
  display: flex;
  justify-content: left;
  align-items: center;
  padding: 8px 12px;
}



.invitation-ref .ref .copy-button {
  background-color: #3b82f6;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin-left: 10px;
}

.invitation-ref .ref .link {
  background-color: #0E1117;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-left: 10px;
  border-radius: 6px;
  width: 100%;
}

.invitation-ref .share {
  display: grid;
  justify-content: center;
  align-items: center;
  padding: 8px 12px;
}

.invitation-ref .share .title {
  font-size: 17px;
  font-weight: bold;
  color: #e5e7eb;
  font-family: 'Inter', sans-serif;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.invitation-referral {
  font-family: Arial, sans-serif;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin: 0;
}

.invitation-refer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 88%;
  width: 100%;
}

.invitation-refer .card {
  background-color: #1a1f2b;
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 4px;
}

.invitation-icon {
  padding: 3px;
  border-radius: 6px;
  margin-right: 15px;
  font-size: 20px;
}

.invitation-icon img {
  width: 38px;
  height: 38px;
}

.invitation-info-title {
  font-weight: bold;
  color: #b0bfc7;
  font-size: 14px;
}

.invitation-info-value {
  font-weight: bold;
  font-size: 15px;
  margin-top: 2px;
  color: white;
}

.leaderboard-containers {
  max-width: 90%;
  width: 100%;
  margin: auto;
  margin-top: 35px;
  color: #e5e7eb;
  font-family: 'Segoe UI', sans-serif;
}


.leaderboard-tab-content {
  display: none;
  border-radius: 10px;
  padding: 5px;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.leaderboard-tab-content.leaderboard-active {
  display: block;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 14px 12px;
  text-align: left;
  font-size: 15px;
}

.leaderboard-table td {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.leaderboard-table th {
  text-transform: uppercase;
  font-size: 13px;
  color: #9ca3af;
  border-bottom: 2px solid #2e3444;
}

.leaderboard-table tbody tr {
  border-bottom: 1px solid #2e3444;
  transition: background 0.3s;
  color: silver;
}

.leaderboard-table tbody tr:last-child {
  border-bottom: none;
}

.leaderboard-table tbody tr:nth-child(-n+3) {
  text-shadow: #34a034 0px 0px 5px;
  color: #34a034;
}

.leaderboard-table tbody tr:hover {
  background-color: #0E1117;
}

.leaderboard-no-data td {
  text-align: center;
  padding: 30px;
  color: #6b7280;
  font-style: italic;
  border-bottom: none;
  background-color: #1a1f2b;
}

.top-10 {
  display: grid;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.top-10 .title {
  font-size: 20px;
  font-weight: 600;
  color: #e5e7eb;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  margin-bottom: 10px;
}

.top-10 .timer {
  background: linear-gradient(to top, #2d3547, #34a034);
  border: 2px solid #34a034;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: white;
  padding: 2px;
  display: flex;
  width: 170px;
  margin: 0 auto 12px;
}

.top-10 .timer .time {
  font-size: 16px;
  font-weight: 600;
  color: white;
  align-items: center;
  justify-content: center;
}

.top-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  margin: 20px 0;
  margin-top: 50px;
  margin-bottom: 80px;
}

.top-3 .rank {
  width: 60px;
  margin: 0 auto 12px;

}

.top-3 .profile {
  width: 50px;
  height: 50px;
  border: 1px solid #fff;
  border-radius: 50%;
  margin-bottom: 10px;
  margin: 0 auto 12px;
  background-color: #225075;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.top-3 .profile span {
  font-size: 1.5rem;
  color: white;
  font-weight: 600;
}

.top-3 .username {
  font-size: 16px;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 10px;
  color: white;
}

.top-3 .coins {
  border-radius: 20px;
  display: inline-block;
  padding: 4px 10px;
  font-size: 16px;
  color: white;
  margin: 0 auto 12px;

}

.top-3 .first {
  display: grid;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, #2d3547, #1a1f2b);
  border: 1px solid gold;
  border-radius: 12px;
  width: 130px;
  height: 200px;
  padding: 8px;
  transition: transform 0.2s ease-in-out;
  z-index: 1;
}

.top-3 .first:hover {
  transform: translateY(-20px);
}

.top-3 .secound {
  display: grid;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, #2d3547, #1a1f2b);
  border: 1px solid silver;
  border-radius: 12px;
  width: 130px;
  height: 200px;
  padding: 8px;
  rotate: 20deg;
  margin-left: 16px;
  margin-top: 55px;
  transition: transform 0.2s ease-in-out;
}

.top-3 .secound:hover {
  transform: translateY(-15px);
}

.top-3 .threerd {
  display: grid;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, #2d3547, #1a1f2b);
  border: 1px solid #CD7F32;
  border-radius: 12px;
  width: 130px;
  height: 200px;
  padding: 8px;
  rotate: -20deg;
  margin-right: 16px;
  margin-top: 55px;
  transition: transform 0.2s ease-in-out;
}

.top-3 .threerd:hover {
  transform: translateY(-10px);
}


.mainscreen-containers {
  max-width: 90%;
  width: 100%;
  margin: auto;
  margin-top: 35px;
  color: #e5e7eb;
  font-family: 'Segoe UI', sans-serif;
}

.mainscreen-bar {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #ffffff;
  display: grid;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 600px;
  padding: 20px;
  margin: 0 auto;
}

.mainscreen-bar .title {
  font-size: 1.7rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.mainscreen-bar h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.mainscreen-bar .highlight {
  color: #e7ac16;
  font-weight: bold;
}

.mainscreen-bar p {
  font-size: 1rem;
  color: #d0d0d0;
  margin: 20px 0;
}

.mainscreen-bar .btn {
  background-color: #e7ac16;
  border: none;
  padding: 12px 24px;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 0 auto;
  width: 200px;
  margin-top: 20px;

}

.mainscreen-bar .btn:hover {
  background-color: #bb8c14;
}

.mainscreen-offers {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  margin: 20px 0;
  margin-top: 10px;
  margin-bottom: 40px;
  color: white;
}

.mainscreen-offers .progress {
  background: #393951;
  border-radius: 12px;
  height: 10px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0px 4px 8px rgba(0, 0, 0, 0.3);
  margin-top: 10px;
  margin-bottom: 10px;
}

.mainscreen-offers .progress-bar {
  background: linear-gradient(90deg, #f0c411, #ff7f11);
  width: 69%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0px 2px 8px rgba(255, 127, 17, 0.6);
}

.mainscreen-offers .in-progress {
  background-color: #ff7f11;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  color: white;
  font-weight: 600;
}

.mainscreen-offers .rank {
  width: 60px;
  margin: 0 auto 12px;
  margin-left: 8px;
}

.mainscreen-offers .offeer-proofile {
  width: 100%;
  height: 100px;
  border-radius: 12px;
  margin-bottom: 10px;
  background-color: #225075;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.mainscreen-offers .offeer-proofile img {
  width: 100%;

}

.mainscreen-offers .offeer-text {
  font-weight: 600;
  font-size: 15px;
  margin: 10px 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mainscreen-offers .offeer-need {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 6px;
}

.mainscreen-offers .rate {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: white;
  margin-bottom: 2px;
  margin-top: 7px;
}

.mainscreen-offers .rate .ofeer-price {
  font-size: 15px;
  color: white;
  font-weight: 600;
}

.mainscreen-offers .rate .star {
  font-size: 12px;
  color: #fbbf24;
}

.mainscreen-offers .first {
  display: grid;
  justify-content: left;
  align-items: flex-start;
  text-align: start;
  background: linear-gradient(to bottom, #2d3547, #1a1f2b);
  border: 1px solid #333;
  border-radius: 8px;
  width: 122px;
  height: auto;
  padding: 10px;
  transition: transform 0.2s ease-in-out;
  z-index: 1;
}

.mainscreen-offers .first:hover {
  transform: translateY(-20px);
}

.mainscreen-offers .secound {
  display: grid;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, #2d3547, #1a1f2b);
  border: 1px solid #333;
  border-radius: 8px;
  width: 120px;
  height: auto;
  padding: 10px;
  rotate: 20deg;
  margin-left: 18px;
  margin-top: 55px;
  transition: transform 0.2s ease-in-out;
}

.mainscreen-offers .secound:hover {
  transform: translateY(-15px);
}

.mainscreen-offers .threerd {
  display: grid;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, #2d3547, #1a1f2b);
  border: 1px solid #333;
  border-radius: 8px;
  width: 120px;
  height: auto;
  padding: 10px;
  rotate: -20deg;
  margin-right: 18px;
  margin-top: 55px;
  transition: transform 0.2s ease-in-out;
}

.mainscreen-offers .threerd:hover {
  transform: translateY(-10px);
}

.mainscreen-top {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  margin-top: 25px;
  color: white;
  gap: 15px;
  rotate: -20deg;

}

.mainscreen-top .offeer-proofile {
  width: 100%;
  height: 100px;
  border-radius: 12px;
  margin-bottom: 10px;
  background-color: #225075;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.mainscreen-top .offeer-proofile img {
  width: 100%;
}

.mainscreen-top .offeer-carding {
  display: grid;
  justify-content: left;
  align-items: flex-start;
  text-align: start;
  background: linear-gradient(to bottom, #2d3547, #1a1f2b);
  border: 1px solid #333;
  border-radius: 8px;
  width: 122px;
  height: auto;
  padding: 10px;
  transition: transform 0.2s ease-in-out;
}

.mainscreen-top .offeer-carding:hover {
  transform: translateY(-5px);
}

.mainscreen-top .offeer-text {
  font-weight: 600;
  font-size: 15px;
  margin: 10px 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mainscreen-top .offeer-need {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 6px;
}

.mainscreen-top .rate {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: white;
  margin-bottom: 2px;
  margin-top: 7px;
}

.mainscreen-top .rate .ofeer-price {
  font-size: 15px;
  color: white;
  font-weight: 600;
}

.mainscreen-top .rate .star {
  font-size: 12px;
  color: #fbbf24;
}

.mainscreen-linear {
  display: grid;
  justify-content: left;
  align-items: flex-start;
  text-align: start;
  padding: 10px;
  margin: 20px 0;
  margin-top: 10px;
  margin-bottom: 10px;
  color: white;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.mainscreen-linear .linear {
  display: flex;
  justify-content: left;
  align-items: flex-start;
  text-align: start;
}

.mainscreen-linear .linear img {
  width: 35px;
  height: 35px;
  margin-left: 10px;
  margin-right: 10px;
}

.mainscreen-linear .linear .title {
  font-size: 1.7rem;
  font-weight: bold;
  margin-top: 5px;
}

.mainscreen-linear p {
  font-size: 1rem;
  color: #d0d0d0;
  margin: 20px 0;
  margin-bottom: 40px;
  margin-left: 15px;
}

.mainscreen-img {
  width: 65%;
  height: auto;
}

@media screen and (max-width: 785px) {
  .horizontal-scroll .rate .ofeer-price {
    font-size: 12px;
    color: white;
    
  }
  .mainscreen-containers {
    max-width: 96%;
  }

  .mainscreen-offers .first {
    width: auto;
  }

  .mainscreen-offers .secound {
    rotate: 0deg;
    width: auto;
    margin-left: 7px;
    margin-top: 50px;
  }

  .mainscreen-offers .threerd {
    rotate: 0deg;
    width: auto;
    margin-right: 7px;
    margin-top: 45px;
  }

  .mainscreen-top .offeer-carding {
    width: 105px;
  }

  .mainscreen-top {
    gap: 7px;
    rotate: 0deg;
  }

  .mainscreen-top .offeer-carding:nth-child(n+4) {
    display: none;
  }

  .mainscreen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .leaderboard-table th,
  .leaderboard-table td {
    padding: 10px 8px;
  }

  .leaderboard-containers {
    max-width: 96%;
  }

  .top-3 .first {
    width: 115px;
  }

  .top-3 .secound {
    rotate: 0deg;
    width: 108px;
    margin-left: 7px;
    margin-top: 50px;
  }

  .top-3 .threerd {
    rotate: 0deg;
    width: 108px;
    margin-right: 7px;
    margin-top: 45px;
  }

  .invitation-table th,
  .invitation-table td {
    padding: 10px 8px;
  }

  .invitation-containers {
    max-width: 96%;
  }

  .invitation-ref {
    padding: 8px;
  }

  .invitation-ref .ref {
    padding: 6px;
  }

  .invitation-ref .ref .link {
    margin-left: 0px;
  }

  .invitation-referral {
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .invitation-refer {
    padding: 2px;
    max-width: 96.5%;
  }

  .invitation-refer .card {
    padding: 5px;
    width: 101%;
  }

  .setting-container {
    max-width: 88%;
    padding: 20px;
  }

  .setting-label {
    font-size: 12px;
  }

  .setting-value {
    font-size: 14px;
  }


  .setting-offers {
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .setting-dashboard {
    padding: 2px;
    max-width: 96.5%;
  }

  .setting-containers {
    max-width: 95%;
    width: 100%;
  }

  .setting-card {
    padding: 5px;
    width: 101%;
  }

  .setting-tab-button {
    flex: 1 1 100%;
  }

  .setting-tab-content {
    padding: 10px;
  }

  .setting-table th,
  .setting-table td {
    padding: 10px;
    font-size: 14px;
  }

  .setting-logout .title {
    font-weight: bold;
    color: #b0bfc7;
    font-size: 14px;
  }

  .setting-logout .title-out {
    font-weight: bold;
    color: #b0bfc7;
    font-size: 16px;
    margin-left: 50%;
  }

  .setting-logout .setting-icon {
    padding: 3px;
    border-radius: 6px;
    margin-right: 15px;
    font-size: 20px;
  }

  .setting-logout .setting-icon img {
    width: 40px;
    height: 40px;
  }

  .setting-logout .setting-icon-out {
    padding: 3px;
    border-radius: 6px;
    margin-right: 15px;
    font-size: 20px;
  }

  .setting-logout .setting-icon-out img {
    width: 40px;
    height: 40px;
  }

  .cashout-window {
    width: 90%;
  }

  .profile-container {
    position: relative;
    display: inline-block;
    margin-right: 0rem;
    
  }

  .profile-content {
    position: fixed;
    top: 18%;
    left: 78%;
    width: 37%;
    transform: translate(-50%, -50%) scale(0.8);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }

  .profile-content.show {
    display: block;
    animation: popup 0.3s ease-out forwards;
  }

  @keyframes popup {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
  }

  .profile span {
    display: none;
  }

  .profile .circle span {
    display: block;
  }

  .header-nav logo {
    width: 85px;
  }

  .notif-window {
    width: 300px;
  }

  .notif-item {
    font-size: 16px;
    padding: 12px;
  }

  .notif-btn {
    font-size: 22px;
  }

  .game-image {
    width: 100%;
    height: 180px;
  }

  .offer-card {
    min-width: 100px;
    height: 180px;
  }

  .option {
    min-width: 100px;
    height: 180px;
  }

  .earn-title {
    color: #ffffff;
    font-size: 22px;
    width: 75%;
    text-align: left;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin: 6%;
  }

  .modal-container {
    flex-direction: column;
    width: 100%;
    height: 100vh;
    border-radius: 0;
    overflow-y: auto;
  }

  .modal-left {
    display: none;
  }

  .modal-right {
    padding: 30px 20px;
    height: 100%;
  }

  .modal-header h2 {
    font-size: 20px;
  }

  .close-btn {
    font-size: 24px;
  }

  .main-title {
    color: #ffffff;
    font-size: 23px;
    width: 92%;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin-top: 5%;
  }

  .main-subtitle {
    color: rgb(156, 155, 155);
    font-size: 18px;
    width: 85%;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin-top: 2%;
  }

  .earn-title {
    color: #ffffff;
    font-size: 22px;
    width: 75%;
    text-align: left;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin-top: 6%;
  }
}
