:root {
  --table-wrapper-border: linear-gradient(-45deg, rgba(108, 40, 172, 0.6), rgba(139, 43, 168, 0.7));
}

.page-info {
  height: fit-content;
  min-height: 154px;
  width: 100%;
  background-color: rgb(44, 44, 44, 0.6);

  border-bottom: 2px var(--border-basic-color) solid;
  align-content: center;
}
.text-container {
  width: 86%;
  justify-self: center;
  padding-bottom: 8px;
}
.text-container h1 {
  margin-bottom: 8px;
  line-height: 1;
}

main {
  flex:  1 0 fit-content;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(34, 32, 34, 0.7);
}


.background {
  background-color: rgb(19, 19, 19);
  opacity: 0.85;

  min-height: var(--scroll-height);
  width: 100%;

  position: absolute;
  top: 0;
  left: 0;

  z-index: 2;
}

.background2 {
  background-color: rgb(19, 19, 19);
  opacity: 0.85;

  min-height: var(--scroll-height);
  width: 100%;

  position: absolute;
  top: 0;
  left: 0;

  z-index: 4;
}


.armory-sumup {
  height: 130px;
  width: 500px;
  background-color: rgb(44, 44, 44, 0.6);

  margin-top: 10px;
  border: 2px var(--border-basic-color) solid;
  border-radius: 10px;
  overflow: hidden;
}

.sumup-header {
  border-bottom: 2px var(--border-basic-color) solid;
  height: 25%;
  width: 100%;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to left, rgb(112, 38, 250), rgb(131, 0, 131));

}

.sumup-content {
  display: flex;
  height: 75%;
}
.sumup-spacing {
  box-sizing: border-box;
  border-left: 1px var(--border-basic-color) solid;
  border-right: 1px var(--border-basic-color) solid;
  height: 100%;
  width: 2px;
}
.sumup-left-panel, .sumup-right-panel {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 4px;
}

.border-wrapper {
  min-height: 690px;
  max-width: 1300px;
  width: 96%;
  margin-top: 20px;
  margin-bottom: 16px;

  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  background: var(--table-wrapper-border);
}
.fee-border-wrapper {
  height: 80px;
  width: 150px;
  background: var(--table-wrapper-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
}
.fee-cont {
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  background-color: rgba(34, 32, 34, 0.7);
  overflow: hidden;
  border-radius: 7px;
}
.fee-cont > label:first-child {
  margin-bottom: 4px;
}

.armory-tab {
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  background-color: rgba(34, 32, 34, 0.7);
  border-radius: 10px;
  overflow: hidden;
}

.armory-tab .table-content {
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  overflow-y: auto;
  column-gap: 8px;
  row-gap: 6px;
  align-items: center;
  justify-content: center;
  overflow-y: hidden;
  overflow-x: hidden;
  padding: 14px 8px;
  padding-bottom: 16px;
}
.armory-card {
  width: 32%;
  height: 180px;
  border: 2px var(--border-basic-color) solid;
  border-radius: 6px;
  transition: transform 0.08s, box-shadow 0.08s, filter 0.08s;
  box-shadow: 2px 2px 4px rgb(20, 20, 20);
}
.card-center {
  width: 100%;
  height: fit-content;
}
.card-center > div {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-canter-left {
  width: 72%;
  font-size: 18px;
  font-weight: 500;
  row-gap: 14px;
}
.card-canter-right {
  width: 28%;
  position: relative;
}
.card-image {
  height: var(--armory-image-height);
  position: absolute;
  top: var(--armory-position-top);
  left: var(--armory-position-left);
  transform: translateX(-50%);
  filter: contrast(1.05) brightness(1.05) drop-shadow(2px 2px 3px rgb(17, 17, 17));
}
.armory-card-name {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 500;
}
.card-spacing {
  margin: 0;
  padding: 0;

  margin-top: 4px;
  margin-bottom: 8px;

  width: 70%;
  height: fit-content;
  border-bottom: 2px var(--border-basic-color) solid;

}
.armory-card-profit-info {
  column-gap: 10px;
}

.armory-card-profit-info img {
  height: 50px;
  filter: invert(1);
}
.armory-core-small {
  font-size: 12px;
}
.color-column {
  overflow-y: auto;
}

.column-border {
  border-right: 2px var(--border-basic-color) solid;
}




.color-odds {
  height: 92px;
  width: 100%;
  font-size: 20px;
  font-weight: 500;
  row-gap: 2px;
}
.color-odds :first-child {
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px var(--border-basic-color) solid;
  width: 36%;
  min-width: 60px;
  padding-bottom: 2px;
}



.color-skins {
  height: calc(100% - 92px);
  overflow-y: auto;
  padding-left: 9px;
  padding-top: 4px;

  justify-content: flex-start;
  box-sizing: border-box;

  /* prevents layout shift when scrollbar appears */
  scrollbar-gutter: stable;

  /* fade mask */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0px,
    black 6px,
    black 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0px,
    black 6px,
    black 100%
  );
}

/* wrapper stays unchanged */
.scroll-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: var(--gap-height);

  margin-top: auto;
  margin-bottom: auto;

  width: 100%;
  padding-bottom: 16px;
}


/* WEBKIT SCROLLBAR (Chrome, Safari) */

.color-skins::-webkit-scrollbar {
  width: 12px; /* always reserved → no layout shift */
}

/* track always present but invisible */
.color-skins::-webkit-scrollbar-track {
  background: transparent;
}

/* thumb hidden by default (fade effect) */
.color-skins::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;

  transition: background-color 200ms ease;
}

/* fade in on hover */
.color-skins:hover::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.8);
}

/* stronger hover */
.color-skins:hover::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 1);
}

/* remove arrows */
.color-skins::-webkit-scrollbar-button {
  display: none;
}

/* FIREFOX */

.color-skins {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0) transparent;
  transition: scrollbar-color 200ms ease;
}

.color-skins:hover {
  scrollbar-color: rgba(255, 255, 255, 0.8) transparent;
}



.skin-info {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}
.skin-info img {
  box-sizing: border-box;
  width: var(--skin-width);
  filter: contrast(1.05) brightness(1.05) drop-shadow(2px 2px 3px rgb(17, 17, 17));
  transition: transform 0.08s;
  pointer-events: none;
}

.dashed-border {
  height: 98%;
  width: 74%;
  border: 3px var(--border-basic-color) dashed;
  border-radius: 10px;
  position: absolute;
  opacity: 0;
  transition: opacity 0.08s;
  pointer-events: none;
}

.skin-info:hover .dashed-border {
  opacity: 1;
}
.skin-info:hover img {
  transform: scale(0.95);
}


/*
.scroll-wrapper img:hover {
  border: 2px var(--border-basic-color) dashed;
  border-radius: 8px;
}
*/

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #525252;
  border: 2px var(--border-basic-color) solid;
  border-radius: 999px;
  transition: 0.3s;
}

.slider::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 1px;
  bottom: 1px;
  background-color: rgb(238, 238, 238);
  border-radius: 50%;
  transition: 0.3s;

}

input:checked + .slider {
  background: var(--container-gradient);
}

input:checked + .slider::before {
  transform: translateX(22px);
}


.card-shade-yellow {
  background: linear-gradient(to top, rgb(226, 190, 31, 0.85), rgb(44, 44, 44));
}
.card-shade-orange {
  background: linear-gradient(to top, rgb(194, 112, 18, 0.85), rgb(44, 44, 44));
}
.card-shade-blue {
  background: linear-gradient(to top, rgb(35, 109, 194, 0.85), rgb(44, 44, 44));
}
.card-shade-pink {
  background: linear-gradient(to top, rgb(171, 16, 185, 0.85), rgb(44, 44, 44));
}
.card-shade-purple {
  background: linear-gradient(to top, rgb(125, 26, 192, 0.85), rgb(44, 44, 44));
}

.card-shade-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0px 0px 8px rgb(209, 178, 42);
  filter: brightness(1.2);
}
.card-shade-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0px 0px 8px rgb(201, 129, 47);
  filter: brightness(1.2);
}
.card-shade-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0px 0px 8px rgb(60, 125, 199);
  filter: brightness(1.2);
}
.card-shade-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0px 0px 8px rgb(191, 45, 204);
  filter: brightness(1.2);
}
.card-shade-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0px 0px 8px rgb(154, 71, 209);
  filter: brightness(1.2);
}


.column-shade-gold {
  background: linear-gradient(
    to bottom,
    rgb(44,44,44) 0%,
    rgb(44,44,44) 40%,  /* dark color takes more space */
    rgb(253, 200, 26) 100%
  );
}
.column-shade-red {
  background: linear-gradient(
    to bottom,
    rgb(44,44,44) 0%,
    rgb(44,44,44) 10%,
    rgb(211, 42, 42) 100%
  );
}
.column-shade-pink {
  background: linear-gradient(
    to bottom,
    rgb(44,44,44) 0%,
    rgb(44,44,44) 10%,
    rgb(184, 10, 184) 100%
  );
}
.column-shade-purple {
  background: linear-gradient(
    to bottom,
    rgb(44,44,44) 0%,
    rgb(44,44,44) 10%,
    rgb(126, 46, 230) 100%
  );
}
.column-shade-blue {
  background: linear-gradient(
    to bottom,
    rgb(44,44,44) 0%,
    rgb(44,44,44) 10%,
    rgb(42, 89, 218) 100%
  );
}
.column-shade-light-blue {
  background: linear-gradient(
    to bottom,
    rgb(44,44,44) 0%,
    rgb(44,44,44) 10%,
    rgb(65, 155, 216) 100%
  );
}
.column-shade-gray {
  background: linear-gradient(
    to bottom,
    rgb(44,44,44) 0%,
    rgb(44,44,44) 10%,
    rgb(173, 173, 173) 100%
  );
}




.armory-card-info {
  overflow: hidden;
  overscroll-behavior: contain;
  max-width: var(--max-info-tab-width);
  width: 86%;
  height: 72%;
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px var(--border-basic-color) solid;
  border-radius: 10px;
}

.table-header {
  position: relative;
}

.armory-card-info .table-header {
  box-sizing: border-box;
  height: 54px;
  width: 100%;
  background: linear-gradient(to left, rgb(112, 38, 250), rgb(131, 0, 131));
  border-bottom: 2px var(--border-basic-color) solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 600;
}
.armory-card-info .table-content {
  position: relative;
  box-sizing: border-box;
  height: calc(100% - 140px);
  width: 100%;
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), 1fr);
}
.armory-card-info .table-footer {
  width: 100%;
  height: 86px;
  border-top: 2px var(--border-basic-color) solid;
}
.armory-card-info .table-footer > div {
  height: 100%;
  font-size: 26px;
  font-weight: 600;
}
.footer-skin-name {
  flex: 1;
  text-align: center;
}
.footer-image {
  height: 76px;
  padding-left: 30px;
  filter: contrast(1.05) brightness(1.05) drop-shadow(2px 2px 3px rgb(17, 17, 17));
  transition: transform 0.08s;
}
.footer-price {
  padding-right: 40px;
}



.footer-shade-red {
  background: linear-gradient(
    10deg,
    rgb(44,44,44) 0%,
    rgb(44,44,44) 20%,
    rgb(211, 42, 42) 100%
  );
}
.footer-shade-pink {
  background: linear-gradient(
    10deg,
    rgb(44,44,44) 0%,
    rgb(44,44,44) 20%,
    rgb(184, 10, 184) 100%
  );
}
.footer-shade-purple {
  background: linear-gradient(
    10deg,
    rgb(44,44,44) 0%,
    rgb(44,44,44) 20%,
    rgb(126, 46, 230) 100%
  );
}
.footer-shade-blue {
  background: linear-gradient(
    10deg,
    rgb(44,44,44) 0%,
    rgb(44,44,44) 20%,
    rgb(42, 89, 218) 100%
  );
}
.footer-shade-light-blue {
  background: linear-gradient(
    10deg,
    rgb(44,44,44) 0%,
    rgb(44,44,44) 20%,
    rgb(65, 155, 216) 100%
  );
}
.footer-shade-gray {
  background: linear-gradient(
    10deg,
    rgb(44,44,44) 0%,
    rgb(44,44,44) 20%,
    rgb(173, 173, 173) 100%
  );
}


.border-wrapper-float-dist {
  height: 540px;
  min-width: 800px;
  
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 6;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  border-radius: 8px;
  background: var(--container-gradient);
}



.armory-float-dist {
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  background-color: rgba(34, 32, 34, 1);
  border-radius: 10px;
  overflow: hidden;
  border-radius: 8px;
}
.armory-float-dist .table-header {
  box-sizing: border-box;
  height: 60px;
  width: 100%;
  background: linear-gradient(to left, rgb(112, 38, 250), rgb(131, 0, 131));
  border-bottom: 2px var(--border-basic-color) solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 600;
}
.armory-float-dist .table-content {
  position: relative;
  box-sizing: border-box;
  height: calc(100% - 60px);
  width: 100%;
}
.armory-float-dist .table-main {
  height: 88%;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}
.armory-float-dist .table-footer {
  border-top: 2px var(--border-basic-color) solid;
  height: 12%;
  width: 100%;
}
.armory-float-dist .table-footer-content {
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  font-size: 22px;
  font-weight: 500;
  padding: 2px 6px;
}
.armory-float-dist .table-footer-content .footer-image {
  height: 54px;
}
.graph-placeholder {
  height: 100%;
  width: 100%;
}

.roi-icon, .unbox-icon {
  height: 50px;
  width: 42px;
  color: rgb(219, 219, 219);
}
.unbox-icon  {
  width: 40px;
}


@media (max-width: 768px) {
  .page-info .text-container h1 {
    font-size: 36px;
    margin-top: 10px;
    margin-bottom: 8px;
  }
  .armory-card-info {
    top: 53%;
    width: 92%;
    height: 78%;
  }
  .armory-card-info .table-content {
    display: flex;
    flex-direction: column;
    height: calc(100% - 54px);
  }
  .color-column  {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1
  }
  .color-odds > div {
    font-size: 18px;
    text-align: center;
  }
  .color-odds {
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    width: 76px !important;
    margin-left: 12px;
    padding-right: 3px;
  }
  .scroll-wrapper {
    flex-direction: row;
    box-sizing: border-box;
    height: 100%;
    width: fit-content;
    overflow-y: hidden;
    overflow-x: scroll;
    padding: 0;
    margin: 0;
    padding-left: 8px;
    padding-right: 12px;
    padding-top: 24px;
    margin: auto auto;
  }
  .color-skins {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
  }
  .skin-info {
    width: fit-content;
    padding: 0;
  }
  .skin-info > img {
    width: 110px;
  }
  .column-border {
    border: none;
    border-bottom: 2px var(--border-basic-color) solid;
  }
  .dashed-border {
    width: 106px;
    height: 80px;
  }
  .armory-card-info .table-footer {
    display: none;
  }
  .border-wrapper-float-dist {
    min-width: 0;
    width: 92%;
    height: 54%;
  }
  .armory-float-dist .table-footer-content {
    column-gap: 6px;
  }
  .armory-float-dist .table-footer-content .footer-image {
    padding-left: 12px;
  }
  .armory-float-dist .table-footer-content .footer-price {
    padding-right: 12px;
  }
  .armory-float-dist .table-footer-content > div {
    font-size: 18px !important;
    line-height: 1.05;
  }
}

@media (max-width: 1220px) {
  .armory-card {
    width: 48%;
  }
  .footer-skin-name {
    font-size: 24px;
  }
}
@media (max-width: 840px) {
  .armory-card {
    width: 96%;
  }
}
@media (max-width: 450px) {
  .armory-card-info .table-header {
    font-size: 22px;
  }
}