body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; /* For macOS */
  background: rgba(18, 18, 26, 1);
  background-blend-mode: overlay;
  background-size: 15%;
}
::-webkit-scrollbar {
  display: none;
}

/* Banner Styling */
.banner img {

  transform: translateY(-10px);

  text-align: center;
  justify-content: center;
  /* Center the banner */
  margin: 0px 0;
  width: 67%;
  border-radius: 20px;
  height: auto;
  /* Space around the banner */
}

.banner {
  justify-content: center;
  text-align: center;
}

.platform {
  width: 65px;
  z-index: 10000;
  text-align: center;
  align-items: center;
}
.plform {
  width: 48px;
  z-index: 10000;
  text-align: center;
  align-items: center;
}

.deficon {
  width: 18px;
}
.platficon {
  width: 20px;
  filter: invert(100%) brightness(100%); /* Makes the icon completely white */
  transform: translateY(2px);
  vertical-align: unset;

}

.ChoosePlatform {
  position: relative;
  width: 75%;
  right: -11%;
  top: 51%; /* Adjust vertical position */
  text-align: center;
  align-items: center;
  color: white;
  background: rgba(0, 0, 0, 0.3); /* Semi-transparent background */
  padding: 4px 14px;
  border-radius: 10px;
  opacity: 0.83;
}
.parent-sell {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically (if needed) */
}

.Sell-header {
  display: inline-block;
  font-size: 20px;
  text-align: center;
  align-items: center;
  color: #4dfe3e;
  background: rgba(0, 0, 0, 0.3); /* Semi-transparent background */
  padding: 20px 24px;
  border-radius: 10px;
  line-height: 35px !important;
  opacity: 0.8;
  font-weight: 400;
}
.Sell-header span {
  color: white !important;
}

.Sell-header img {
pointer-events: none;
  width: 55px;
}
.Sell-header a {
  color: white;
}
.Sell-header a:hover {
  color: #4dfe3e;
  opacity: 0.8;
}

.bread-container {
  width: 75%;
  margin: auto;
  padding: 10px;
}

/* Breadcrumb Navigation */
.breadcrumb1 {
  position: absolute;
  margin-top: 15px;
  font-size: 14px;
  color: #bbb;

  border-radius: 10px;
  opacity: 0.75;
  transform: translateY(-74px);
}

.breadcrumb1 span {
  color: #4dfe3e;
  /* Green brand color */
  text-decoration: none;
}
.breadcrumb1 img {
pointer-events: none;
  margin-left: 6px;
  vertical-align: unset;
  width: 11px;
  filter: invert(1);
  transform: translateY(0.3px);
}
.breadcrumb1 a {
  color: white;
  text-decoration: none;
}
.breadcrumb1 a:hover {
  text-decoration: underline;
  opacity: 1;
}

.picon {
  width: 28px;
}

.Cform {
  position: relative;
  text-align: center;
  align-items: center;
  color: white;
  padding: 4px 4px;
  opacity: 0.83;
  transform: translateY(-30px);
}

@media (max-width: 920px) {
  .banner {
    opacity: 0;
    width: 500px;
    pointer-events: none; /* Disables clicks and interactions */
    display: none;
  }

  .platform {
    width: 55px;
  }
  .platficon {
    width: 16px;
  }
  .ChoosePlatform {
    margin-left: 10%;

    position: relative; /* Removes it from normal document flow */
    text-align: center;
    align-items: center;
right: auto;
margin-bottom: 30px;
margin-top: -10px;
    border-radius: 10px;
    opacity: 0.83;

  }

  .ChoosePlatform h2 {
    font-size: 18px !important;
  }

  .parent-sell {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically (if needed) */
  }
  .Sell-header {
    display: inline-block;
    font-size: 15px;
    transform: translateY(-20px);
    padding: 10px 14px;
  }
}
@media (max-width: 480px) {
    .ChoosePlatform {
        margin-left: 8%;
    }
}
@media (max-width: 770px) {
  .Sell-header {
    transform: translateY(-160px);
  }
     .breadcrumb1 img {
        pointer-events: none;
        margin-left: 0px;
        width: 9px;
    }
}

@media (max-width: 380px) {
  .Sell-header {
    border-radius: 0px;
  }
}
/*Grid Wrapper*/

#home {
  color: #aaaaaf;
  width: 100%;
  overflow: hidden; /* Prevents content from overflowing */
  height: auto;
  padding: 0 150px; /* Reduce padding on the sides */
  position: relative;
  display: block;
  transition: transform 0.5s ease-in-out;
  box-sizing: border-box; /* Ensures padding doesn’t increase width */
  overflow-x: hidden; /* Prevents any horizontal scrolling */
}
#home > section {
  position: relative;
}
#home > .header > div {
  position: relative;
  display: inline-block;
  margin-right: 2px;
  vertical-align: middle;
  text-shadow: 0px 5px 10px rgba(0, 0, 0, 1);
  opacity: 0.05;
}

#grid_wrapper {
  transform: translateY(-18px);
  width: 100%;
  display: inline-block;
  margin-bottom: 80px;
  box-sizing: border-box;
  padding: 0px 0px;
  position: relative;
}
#grid_wrapper.init > card {
  transform: scale(0);
}
#grid_wrapper > card {
  display: block;
  width: 33.3%;
  height: 200px;
  float: left;
  transition: transform 0.3s cubic-bezier(0, 0, 0, 1);
  padding: 18px;
  box-sizing: border-box;
}
#grid_wrapper > card > div,
#content_wrapper > .clone {
  color: #aaaaaf;
  cursor: pointer;
  width: 100%;
  height: 100%;
  position: relative;
  transition: box-shadow 0.3s;
  overflow: hidden;
  border-radius: 10px;
  border: 1.5px solid rgba(66, 76, 119, 0.1);
  box-shadow: 0px 15px 40px 0px rgba(0, 0, 0, 0.2);
}

/* Ensure each platform gets its own border color */
/* PlayStation - Blue Border with 50% Opacity */
#grid_wrapper > card > div.ps,
#content_wrapper > .clone.ps {
  border-color: rgba(8, 116, 212, 0.5);
}

/* Xbox - Green Border with 50% Opacity */
#grid_wrapper > card > div.xbox,
#content_wrapper > .clone.xbox {
  border-color: rgba(104, 220, 108, 0.5);
}

/* PC - Orange Border with 50% Opacity */
#grid_wrapper > card > div.pc,
#content_wrapper > .clone.pc {
  border-color: rgba(255, 164, 4, 0.5);
}

#grid_wrapper > card > div.active {
  opacity: 0;
}
#grid_wrapper > card > div:hover {
  color: #4dfe3e;
  background-color: #0a0c0e;
}
#grid_wrapper > card > div:before,
#content_wrapper > .clone:before {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-blend-mode: overlay;
  background-size: contain; /* Scales the image to fit inside the element */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Repeats the image */
  opacity: 0.431;
  background-color: #0a0c0e;
  transition: all 0.2s;
  -webkit-filter: blur(3px);
  -moz-filter: blur(3px);
  filter: blur(3px);
  -ms-filter: blur(3px);
}
#grid_wrapper > card > div > span,
#content_wrapper > .clone > span {
  width: 100%;
  height: 50px;
  margin-top: -25px;
  top: 50%;
  position: absolute;
  line-height: 50px;
  display: block;
  text-align: center;
  font-size: 1.15em;
  opacity: 1;
  transform: translateY(-10px);
}
/*End of Section*/

/*NavBar Style*/
/*Comes up only when you're open in a section*/
nav.main {
  overflow-x: auto;
  overflow-y: visible;
  z-index: +25;
  position: fixed;
  top: 76px;
  left: 0;
  width: 101%;
  height: 50px;
  display: flex;
  white-space: nowrap;
}
body:after,
#footer:after,
#footer:before {
  background-image: linear-gradient(
    90deg,
    rgba(13, 15, 17, 1) 0%,
    rgba(40, 255, 100, 1) 33%,
    rgba(20, 150, 60, 1) 66%,
    rgba(10, 12, 14, 1) 100%
  );
  content: "";
  position: fixed;
  width: 100%;
  top: 0px;
  left: 0px;
  height: 5px;
  z-index: +30;
}

nav.main.inactive > .tab {
  transform: rotateX(90deg) translateY(-25px);
}
nav.main > .tab {
  transform-origin: 50% 0% 0px;
  background: #e7e7e7;
  box-sizing: border-box;
  font-weight: 600;
  font-size: 1em;
  color: #161725;
  display: inline-block;
  width: 33%;
  text-align: center;
  line-height: 50px;
  height: 100%;
  border-top: rgba(0, 0, 0, 0.5) 0px solid;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0, 0, 0, 1);
}
nav.main > .tab.active {
  z-index: +5000;
  border-bottom: #4dfe3e 3.5px solid;
}
nav.main > .tab.active > span {
  background: #161725;
  color: #4dfe3e;
}
nav.main > .tab > span {
  width: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  height: 100%;
  display: block;
  transform: line-height 0.2s;
}
nav.main > .tab:not(.active) > span:hover {
  background: #4dfe3e;
}
/*End of Section*/

/*End of Section*/

/*This one Wraps content of the tabs*/
#content_wrapper.inactive {
  pointer-events: none;
}
#content_wrapper {
  position: fixed;
  z-index: +20;
  top: 90px;
  left: 0;
  height: 100%;
  width: 100%;
  display: block;
  perspective: 1000px;
  line-height: 17px;
}
#content_wrapper > div.content {
  z-index: +50;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  left: 0;
  display: block;
  box-sizing: border-box;
  padding-top: 100px;
}
#content_wrapper > div.clone.deactivate {
  background: linear-gradient(#14151a, #161725);
}
#content_wrapper > div.clone.deactivate > span {
  font-size: 50em;
  opacity: 0;
}
/*--------------------Edited---------------------------*/
#content_wrapper > div.clone.deactivate:before {
  animation: fadeOut 0.25s 0s 1 cubic-bezier;
  opacity: 0;
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
}
#content_wrapper > div.clone {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  position: absolute;
  transform-origin: 50% 50%;
  transform: translate(-50%, -50%) rotateY(180deg);
  animation: flipOpen 0.5s 0s 1 cubic-bezier(0, 0, 0, 1);
}

#content_wrapper.inactive > div.clone {
  animation: flipClose 0.7s 0s 1 cubic-bezier(0, 0, 0, 1);
  transform: translate(-50%, -50%);
  position: absolute;
}
@keyframes flipOpen {
  from {
    transform: translate(-50%, -50%);
  }
}
@keyframes flipClose {
  from {
    transform: translate(-50%, -50%) rotateY(180deg);
  }
}
#content_wrapper > div.content > section.active {
  opacity: 1;
  transform: none;
}
#content_wrapper > div.content > section {
  color: #aaa;
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  opacity: 0;
  transition: all 0.5s;
}
#content_wrapper.inactive > button {
  opacity: 0;
}

#content_wrapper > button {
  z-index: +100;
  transition: opacity 0.25s ease-in 0.5s; /* Keep only the fade-in transition */
  padding: 10px;
  color: white;
  font-size: 0.7em;
  background: none;
  outline: none;
  border: none;
  position: fixed;
  top: 35px;
  opacity: 0.8;
  left: 1px;
  cursor: pointer;
  border-radius: 5px;
}

#content_wrapper > button:hover {
  color: #4dfe3e;
}
/*End of Section*/

/*Footer Design*/
#footer {
  font-size: 0.9em;
  position: relative;
  margin-top: 200px;
  width: 100%;
  height: 70px;
  text-align: center;
  color: rgba(77, 254, 62, 0.3); /* Adjusted to match RF Coins' main color */

  z-index: +15;
}
#footer:before {
  position: absolute;
  top: 0;
  height: 3px;
}
#footer:after {
  position: absolute;
  bottom: 1px;
  top: unset;
  height: 3px;
}
/*End of Section*/

@media (max-width: 770px) {
  footer {
    margin-top: -120px !important; /* Moves it up without affecting layout */
  }
}

body.no-scroll {
  overflow: hidden; /* Prevent background scrolling */
}

#content_wrapper > div.content {
  overflow-y: auto; /* Enable vertical scrolling */
  max-height: 100vh; /* Ensure it doesn't exceed the viewport height */
  padding-bottom: 20px; /* Space at the bottom for smooth scrolling */
}

#content_wrapper {
  overflow: hidden; /* Prevent unnecessary horizontal scrolling */
}

#content_wrapper > div.clone {
  overflow: hidden; /* Prevent scrolling on cloned elements */
}

/* Responsive Adjustments */
@media screen and (max-width: 968px) {
  nav.main {
    top: 65px;
  }
}
@media screen and (max-width: 768px) {
  #home {
    padding: 50px 20px; /* Adjust padding for smaller screens */
    text-align: center;
  }
  nav.main {
    top: 68px;
  }
  #grid_wrapper {
    transform: translateY(-40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-left: 0px;
  }

  #grid_wrapper > card {
    width: 90%; /* Make cards take full width */
    max-width: 320px;
    height: 130px;
    float: none;
    text-align: center;
    padding: 10px;
  }

  #grid_wrapper > card > div > span {
    font-size: 1em; /* Reduce font size for better fit */
  }

  .tab {
    padding: 0px; /* Adjust padding */
  }

  #content_wrapper > div.content > section {
    left: 5%;
    right: 5%;
  }

  #content_wrapper > button {
    top: 35px;
    z-index: +100;
    padding: 4px 10px;
    background-color: rgba(18, 18, 26, 0.84);
    color: white;
    font-size: 0.7em;
    opacity: 0.8;
    left: 10px;
    box-shadow: 0px 0px 2px rgba(78, 254, 62, 0.973);
    border-radius: 5px;
  }
  .close span {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  nav.main {
    top: 60px;
    height: 32px;
    
  }

  nav.main > .tab {
    width: 33%; /* Adjust tab width for smaller screens */
    font-size: 11px; /* Reduce text size in tabs */
    line-height: 32px;
  }

  #content_wrapper > div.content > section {
    top: 32px;
  }

  #content_wrapper > button {
    left: 8px;

    top: 20px;
    padding: 3.5px 7px;
    font-size: 0.65em;
  }
}



.social-buttons {
  display: flex;
  justify-content: center;
  margin-top: 49px;
}

.social-button {

  padding: 5px 12px;
  /* Reduced padding */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  margin: 5px;
  font-size: 22px;
  /* Smaller font size */
  display: flex;
  align-items: center;
  justify-content: center;
  /* Center icon horizontally */
  color: white;
  transition: background-color 0.3s;
  opacity: 0.8;
  /* Adjust opacity here */
  margin-top: -20px;
}



.social-button i {
  margin-right: 5px;
  /* Reduced margin */
  padding-right: 1px;
  /* Add padding to the right of the icon */
  padding-left: 5px;
  /* Add padding to the left of the icon (optional) */
  padding-top: 5px;
  padding-bottom: 3px
}

.discord-button {

  background-color: #1f3b9f;
}



.discord-button:hover {
  background-color: #3b8bed;
}

.whatsapp-button {
  background-color: #25D366;
  /* WhatsApp green */
}

.whatsapp-button:hover {
  background-color: #1DAE24;
  /* Darker green on hover */
}




/* Responsive Adjustments */
@media screen and (max-width: 968px) {
  nav.main {
    top: 65px;
  }
}
@media screen and (max-width: 768px) {
  #home {
    padding: 50px 20px; /* Adjust padding for smaller screens */
    text-align: center;
  }
  nav.main {
    top: 68px;
  }
  #grid_wrapper {
    transform: translateY(-40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-left: 0px;
  }

  #grid_wrapper > card {
    width: 90%; /* Make cards take full width */
    max-width: 320px;
    height: 130px;
    float: none;
    text-align: center;
    padding: 10px;
  }

  #grid_wrapper > card > div > span {
    font-size: 1em; /* Reduce font size for better fit */
  }

  .tab {
    padding: 0px; /* Adjust padding */
  }

  #content_wrapper > div.content > section {
    left: 5%;
    right: 5%;
  }

  #content_wrapper > button {
    top: 35px;
    z-index: +100;
    padding: 4px 10px;
    background-color: rgba(18, 18, 26, 0.84);
    color: white;
    font-size: 0.7em;
    opacity: 0.8;
    left: 10px;
    box-shadow: 0px 0px 2px rgba(78, 254, 62, 0.973);
    border-radius: 5px;
  }
  .close span {
    display: none;
  }
  .processing-text {
    font-size: 0.85rem;}
}

@media screen and (max-width: 480px) {
  .processing-text {
    font-size: 0.75rem;}
  nav.main {
    top: 60px;
    height: 46px;
  }

  nav.main > .tab {
    width: 33%; /* Adjust tab width for smaller screens */
    font-size: 12px; /* Reduce text size in tabs */
    line-height: 50px;
  }

  #content_wrapper > div.content > section {
    top: 32px;
  }

  #content_wrapper > button {
    left: 14px;
    top: 20px;
    padding: 2.5px 7px;
    font-size: 0.65em;
  }


  .social-button {

    padding: 5px 12px;
    padding-top: 2px;
    /* Reduced padding */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    margin: 5px;
    font-size: 20px;
    /* Smaller font size */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center icon horizontally */
    color: white;
    transition: background-color 0.3s;
    opacity: 0.8;
    /* Adjust opacity here */
    margin-top: -20px;
  
  }


  .social-button i {
    margin-right: 5px;
    /* Reduced margin */
    padding-right: 1px;
    /* Add padding to the right of the icon */
    padding-left: 5px;
    /* Add padding to the left of the icon (optional) */
    padding-top: 6px;
    padding-bottom: 2px
  }
}






.info-box {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid #4dfe3e;

  padding: 16px;
  border-radius: 10px;
  margin: 20px 0;
  color: #fff;
}

.info-box h3 {
  font-size: 1.3rem;
  color: #4dfe3e;
  margin-bottom: 10px;
}

.info-box ul {
  padding-left: 0;
  list-style: none;
}

.info-box ul li {
  padding: 6px 0;
  border-bottom: 1px dashed #555;
}

.note {
  font-style: italic;
  margin-top: 10px;
  opacity: 0.65;
font-size: small;
}

.preview-img {
  width: 100% !important;
  margin-top: 12px;
  border-radius: 10px;
}

.rate-box {
  margin-top: 30px;
  text-align: center;
}

.login-to-see-rate {
  background: #4dfe3e;
  color: #000;
  padding: 12px 20px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-to-see-rate:hover {
  background: #28a745;
}

.highlighted-rate {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4dfe3e;
}

.side-img{
  filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(80deg);
width:15px;
height:auto;
}

.sticky-img{
width:14px;
height:auto;
transform: translateY(1px);

}

.rate-img{
  width:13px;
  height:auto;
  transform: translateY(2px);
  filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(80deg);

  }

.fixed-login-btn button:hover .sticky-img{
  filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(80deg);

}





.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #4dfe3e;
    margin-left: 8px;
    margin-top: 15px;
    z-index: +9;
  }

  .tooltip-text{
    visibility: hidden;
    background-color: #1f1f1f;
    color: rgba(255, 255, 255, 0.836);
    text-align: left;
    border-radius: 6px;
    padding: 10px 14px;
    position: absolute;
    z-index: 10;
    top: 130%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    font-size: 0.9rem;
    line-height: 1.4;
    box-shadow: 0px 0px 8px rgba(63, 250, 21, 0.25);
  }

  
  .tooltip-containerpc:hover .tooltip-text {
    visibility: visible !important;
    opacity: 1 !important;
  }
  

 



/* Gradient fade at bottom */
.sticky-rate-box {
  position: sticky;
  top: 0px;
  right: 0px;
  display: flex;
  justify-content: flex-end;
  z-index: 50;
  padding: 0px;
  margin-top: -48px;
  transform: translateY(-45px);

}


.fixed-login-btn {
  position: relative;
}

.fixed-login-btn button {

  padding: 10px 16px;
  font-weight: 700;
  border-radius: 20px;
  background: #4dfe3e;
  color: #0a0c0e;
  transition: background 0.3s;
  cursor: pointer;
  border: 1px solid #4dfe3e;
}


.fixed-login-btn button:hover {
  background: #0a0c0e;
  color: #4dfe3e;
  border: 1px solid #4dfe3e;

}

.rate-active {
  background: #0a0c0e !important;
  color: #4dfe3e !important;
  border: 1px solid #4dfe3e !important;
  cursor: default !important;
}

.loading-spinner {
  display: inline-block;
  width: 11px;
  height: 11px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top: 2px solid #4dfe3e;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 8px;

}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.info-box img{
  width: 21px;
  margin-bottom: -4px;
}



@media (max-width: 468px) {
  .sticky-rate-box {
    margin-top: -50px;

    transform: translateY(-80px);


  }
  .info-box img{
    width: 18px;
    margin-bottom: -4px;
  }
  

  .fixed-login-btn button {
    padding: 5px 8px;
    font-weight: 700;
        border-radius: 20px;
  font-size: 12px;
    border: 0.5px solid #4dfe3e;
  }

  .tooltip-text {
    font-size: 0.66rem;
    line-height: normal;
    min-width: 100px;
padding: 8px 10px;
  }

  .sticky-img {
    width: 14px;
  }
   .rate-img{
      width: 12.5px;
    }

    .loading-spinner {
      display: inline-block;
     }

     .info-box h3 {
      font-size: 1.1rem;
      color: #4dfe3e;
      margin-bottom: 10px;
    }
    .note{
      font-size: 12px;
    }
}






.platform-inactive {
  pointer-events: none !important;
}

.platform-active {
  display:block;
  pointer-events: auto;

  opacity: 1;
}

.processing-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45px;
  margin-top: 10px;
}

.spinner {
  width: 26px;
  height: 26px;
  border: 3px solid #4dfe3e;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loading-spinner {
  display: inline-block;
  width: 11px;
  height: 11px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top: 2px solid #4dfe3e;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 8px;

}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}