  html {
      height: 100%;
      scroll-padding-top: calc(4.5rem - 1px);
    }

  img {
      max-width: 100%;
    }

  a {
      text-decoration: none;
      color: rgba(255,215,0,0.8);
    }

  .wallet-adapter-button {
    height: 38px !important;
    line-height: 38px !important;
    padding: 0 20px !important;
    margin-top: 10px !important;
  }
  
  .wallet-adapter-button-trigger {
    background-color: rgba(255,215,0,0.8) !important;
    color: rgba(8,10,18,0.92) !important;
  }

  .form_button {
    background: linear-gradient(135deg, rgba(255,215,0,1.0), rgba(255,165,0,0.85));
    color: rgba(8,10,18,0.92);
    border: 1px solid rgba(0,0,0,0.15);
  }

  .page-section {
    background-color: #131313;
  }

  .page-section .page-section-heading {
    font-size: 2.25rem;
    line-height: 2rem;
  }
  @media (min-width: 992px) {
    .page-section .page-section-heading {
      font-size: 3rem;
      line-height: 2.5rem;
    }
  }


  .logo {
    max-width: 150px;
  }

  #Intro {
    width: 100%;
    height: 70vh;
    background: url(../images/intro-bg.jpg) 50% 50%;
    background-attachment: fixed;
    background-size: auto;
    background-size: cover;
    overflow: hidden;
    position: relative;
  }

  #Intro::before {
    content: "";
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
  }

  #Intro .intro-container {
    position: absolute;
    bottom: 0;
    left: 0;
    top: 90px;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 15px;
  }

  #Intro h1 {
    font-size: 3.5rem;
  }

  .color-ci {
    color: #d83ae6 !important;
  }

  .color-ci-2 {
    color: #0fc !important;
  }

  .gradient {
    background: linear-gradient(-45deg, #191919, #2c2c2c, #3c3c3c, #4c4c4c);
    background-size: 1000% 1000%;
    animation: gradient 15s ease infinite;
  }
  
  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  .divider-custom {
    margin: 1.25rem 0 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .divider-custom .divider-custom-line {
    width: 100%;
    max-width: 7rem;
    height: 0.25rem;
    background-color: #2c3e50;
    border-radius: 1rem;
    border-color: #2c3e50;
  }

  .divider-custom .divider-custom-line:first-child {
    margin-right: 1rem;
  }

  .divider-custom .divider-custom-line:last-child {
    margin-left: 1rem;
  }

  .divider-custom .divider-custom-icon {
    color: #2c3e50;
    font-size: 2rem;
  }

  .divider-custom.divider-light .divider-custom-line {
    background-color: #fff;
  }

  .divider-custom.divider-light .divider-custom-icon {
    color: #fff;
  }
  
  .btn-xl {
    padding: 1rem 1.75rem;
    font-size: 1.25rem;
  }
  
  .btn-social {
    border-radius: 100%;
    display: inline-flex;
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.25rem;
    justify-content: center;
    align-items: center;
  }

  .btn-social:hover {
    background-color: #1f5be7;
    color: #fff;
  }
  
  #mainNav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 700;
  }

  #mainNav .navbar-brand {
    color: #1f5be7;
  }

  #mainNav .navbar-nav {
    margin-top: 1rem;
  }

  #mainNav .navbar-nav li.nav-item a.nav-link {
    color: #fff;
  }

  #mainNav .navbar-nav li.nav-item a.nav-link:hover {
    color: #6b6b6b;
  }

  #mainNav .navbar-nav li.nav-item a.nav-link:active, #mainNav .navbar-nav li.nav-item a.nav-link:focus {
    color: #fff;
  }

  #mainNav .navbar-nav li.nav-item a.nav-link.active {
    color: #1abc9c;
  }

  #mainNav .navbar-toggler {
    font-size: 80%;
    padding: 0.8rem;
  }

    .navbar-toggler:focus,
    .navbar-toggler:active,
    .navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

.nav-item .active {
    border-width: 0.1rem !important;
    border-color: #1f5be7 !important;
}

@media (min-width: 992px) {

  .stick {
      position: sticky;
      height: fit-content;
      top: 80px;
  }

}
  
  @media (min-width: 992px) {

    #mainNav {
      padding-top: 1.5rem;
      padding-bottom: 1.5rem;
      transition: padding-top 0.3s, padding-bottom 0.3s;
    }

    #mainNav .navbar-brand {
      font-size: 1.75em;
      transition: font-size 0.3s;
    }

    #mainNav .navbar-nav {
      margin-top: 0;
    }

    #mainNav .navbar-nav > li.nav-item > a.nav-link.active {
      color: #fff;
      background: #6b6b6b;
    }

    #mainNav .navbar-nav > li.nav-item > a.nav-link.active:active, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:focus, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover {
      color: #fff;
      background: #6b6b6b;
      border-bottom: 2px solid red;
    }

    #mainNav.navbar-shrink {
      padding-top: 0.5rem;
      padding-bottom: 0.5rem;
    }

    #mainNav.navbar-shrink .navbar-brand {
      font-size: 1.5em;
    }

  }
  
  .masthead {
    padding-top: calc(1rem + 74px);
    padding-bottom: 2rem;

    /*background-color: #0e0e0e;**/
    /*background: rgb(14,14,14);
    background: radial-gradient(circle, rgba(14,14,14,1) 50%, rgba(25,25,25,1) 100%);*/

    background-image: radial-gradient(#0b162b 1.5px, transparent 1.5px);
    background-size: 25px 25px;
    background-color: #0c0c0c;



  }

  h6, .h6, h5, .h5, h4, .h4 {
    font-weight: 400;
  }
  
  .masthead h1 {
    font-size: 5rem;
    color: #1f5be7;
  }

  .masthead h2 {
    font-size: 2rem;
    color: #cbcbcb;
  }

  .masthead .masthead-heading {
    font-size: 2.75rem;
    line-height: 2.75rem;
  }

  .masthead .masthead-subheading {
    font-size: 1.25rem;
  }

  .masthead .masthead-avatar {
    width: 15rem;
  }
  
@media (min-width: 992px) {

    .masthead {
      padding-top: calc(2rem + 104px);
      padding-bottom: 4rem;
    }

    .masthead .masthead-heading {
      font-size: 4rem;
      line-height: 3.5rem;
    }

    .masthead .masthead-subheading {
      font-size: 1.5rem;
    }

}

.footer {
    padding-top: 5rem;
    adding-bottom: 5rem;
    background-color: #0e0e0e;
    color: #fff;
}
  
.copyright {
    background-color: rgb(19, 19, 19);
}


.button-small {
    padding: 0.1rem 0.2rem 0.1rem 0.2rem;
}

@media (max-width: 768px) {
  .td-none {
     display: none;
  }
}

.text-white, .text-light {
  color: #e1e1e1 !important;
}

.text-grey-light{
  color: #656565;
}

.ci-blue {
    color: #1f5be7;
}

.c-ci {
  color: #1f5be7;
}

.bg-ci-blue {
    color: #fff;
    background-color: #1f5be7;
    border-color: #1f5be7;
}

.bg-gray-0 {
  background-color: #131313;
}

.bg-gray-1 {
    background-color: #171717;
}

.bg-gray-2 {
    background-color: #1e2021;
}

.bg-gray-3 {
    background-color: #0e0e0e;
}

.border-gray-1 {
  border: 1px solid #3e3e3e;
}

.border-gray-2 {
  border: 1px solid #1e2021;
}

.border-gray-3 {
  border: 1px solid #0e0e0e;
}

.border-bottom-gray-1 {
  border-bottom: 1px solid #3e3e3e;
}

.rounded-top-left-1 {
  border-top-left-radius: .3rem;
}

.rounded-top-right-1 {
  border-top-right-radius: .3rem;
}

.rounded-bottom-left-1 {
  border-bottom-left-radius: .3rem;
}

.rounded-bottom-right-1 {
  border-bottom-right-radius: .3rem;
}

.text-red {
  color: rgb(225, 27, 27);
}

.text-green {
  color: rgb(65, 198, 123);
}

#btn-back-to-top {
    bottom: 20px;
    display: none;
    position: fixed;
    right: 20px;
    z-index: 9999;
}

.tablist-style {
  border-bottom:0px;
  display: inline-flex;
}

tr {
  border-color: #454545;
}

/*
tr:nth-child(2n+1) {
  background: ;
}*/


#overlay {
  position: fixed;
  bottom: 25px;
  right: 25px;
  margin: 0px;
  min-width: 320px;
  z-index: 9999;
}

#overlay .alert {
  background-color: #40ebc7;
  color: #333;
  border: 1px solid #29cfab;
}

@media (max-width: 690px) {
  #overlay {
    width: 100%;
    bottom: 5px;
    right: 0px;
    padding: 0 10px 0 10px;
  }
}

.overlay_content {
  display: none;
  background-color: rgba(0,0,0,.5);
  bottom: 0;
  cursor: pointer;
  height: 100%;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1094;
}

#overlaytext-inline {
  background-color: #191919;
  border-radius: 14px;
  color: #fff;
  overflow-x: hidden;
  overflow-y: scroll;
  position: absolute;
  scrollbar-width: thin;
  top: 50%;
  left: 50%;
  transform:translate(-50%, -50%);
  min-width: 320px;
}

@media (max-width: 768px) {
  .overlay_content {
    width: 100%;
  }
}

@media (max-width: 690px) {
  .overlay_content {
    width: 100%;
  }
}

.text-rainbow-animation {
  /*background-image: linear-gradient(to right, red,orange,yellow,green,blue,indigo,violet, red); */
  background-image: linear-gradient(to right, red,orange,yellow,green); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;  
  animation: rainbow-animation 869s linear infinite;
}

@keyframes rainbow-animation {
    to {
        background-position: 4500vh;
    }
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  max-width: 100%;
  font-size: 0.875rem;
  pointer-events: auto;
  background-color: #2e2e2e;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  z-index: 99999;
}

.toast.showing {
  opacity: 0;
}

.toast:not(.show) {
  display: none;
}

.toast-container {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  pointer-events: none;
}

.toast-container > :not(:last-child) {
  margin-bottom: 0.75rem;
}

.toast-header {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  color: #fff;
  background-color: #1f5be7;
  background-clip: padding-box;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-top-left-radius: calc(0.5rem - 1px);
  border-top-right-radius: calc(0.5rem - 1px);
}

.toast-header .btn-close {
  margin-right: -0.375rem;
  margin-left: 0.75rem;
}

.toast-body {
  padding: 0.75rem;
  word-wrap: break-word;
}

.break-all {
  word-break: break-all !important;
}

.blur {
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
}

.arrow-white {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
}

.arrow-pink {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
}

.nms-1 {
  margin-left: -5px;
}

.nms-2 {
  margin-left: -10px;
}

.nme-1 {
  margin-right: -15px;
}

.nme-2 {
  margin-right: -25px;
}

.border-input-group {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}  

.form-check-input:checked {
  background-color: #1f5be7;
  border-color: #1f5be7;
}

.tap-chart-description {
  bottom: 10px;
  opacity: .7;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  font-size: 0.7rem;
}

@media (max-width: 1080px) {
  .tap-chart-description {
    white-space: nowrap;
    hyphens: none;
  }
}

.area-chart-wrapper {
  margin-bottom: 30px;
  margin-right: 30px;
  position: relative;
  width: 70%;
}

@media (max-width: 992px) {
  .area-chart-wrapper {
    width: 100%;
  }
}

.pie-chart-wrapper {
  margin-bottom: 30px;
  padding-bottom: 30px;
  position: relative;
  width: 30%;
}

@media (max-width: 992px) {
  .pie-chart-wrapper {
    width: 100%;
  }
}

.tap-pie-chart {
  height: 180px;
  width: 100%;
  margin-top: 20px;
}

.coin-img {
  height: 30px;
  width: 30px;
}

#va .pool-name img {
  vertical-align: sub;
}

.vab {
  vertical-align: text-bottom;
}



.raffle-card {
  position: relative;
  background: rgba(17, 24, 39, 0.65); /* slate-900 glass */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.raffle-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 54px rgba(0,0,0,0.45);
}

.raffle-glow {
  pointer-events: none;
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(59,130,246,0.18), rgba(16,185,129,0.10), rgba(168,85,247,0.14));
  opacity: 0;
  transition: opacity 140ms ease;
}

.raffle-card:hover .raffle-glow {
  opacity: 1;
}

.raffle-title {
  color: #f9fafb;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.raffle-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(229,231,235,0.7);
}

.raffle-meta {
  font-size: 0.9rem;
  color: rgba(229,231,235,0.75);
}

.raffle-meta-label {
  color: rgba(229,231,235,0.5);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.raffle-meta-value {
  font-weight: 650;
  color: rgba(229,231,235,0.85);
}

.raffle-account {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  color: rgba(229,231,235,0.55);
  max-width: 65%;
}

/* Thumbnail */
.raffle-thumb {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(2, 6, 23, 0.45);
}

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

.raffle-thumb-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(59,130,246,0.25), rgba(168,85,247,0.18));
}

.raffle-thumb-fallback-text {
  font-weight: 900;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.06em;
}

/* Badges (soft, dark-friendly) */
.badge-soft-success {
  background: rgba(16,185,129,0.14);
  color: #34d399;
  border: 1px solid rgba(16,185,129,0.25);
}
.badge-soft-secondary {
  background: rgba(148,163,184,0.12);
  color: rgba(226,232,240,0.85);
  border: 1px solid rgba(148,163,184,0.22);
}
.badge-soft-warning {
  background: rgba(245,158,11,0.12);
  color: #fbbf24;
  border: 1px solid rgba(245,158,11,0.22);
}
.badge-soft-primary {
  background: rgba(59,130,246,0.12);
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,0.22);
}

/* CTA */
.raffle-cta {
  border-radius: 12px;
  padding: 8px 12px;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border: 0;
}
.raffle-cta:hover {
  filter: brightness(1.08);
}

/* Info card: dark glass + subtle gradient border */
.raffle-info {
  background: rgba(17, 24, 39, 0.62);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.raffle-info-header {
  cursor: pointer;
  user-select: none;
}

.raffle-info-header:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.25);
  border-radius: 16px;
}

/* Left icon */
.raffle-info-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(124,58,237,0.16));
  border: 1px solid rgba(59,130,246,0.18);
}

/* Text */
.raffle-info-title {
  color: #f9fafb;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.raffle-info-subtitle {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(229,231,235,0.62);
  font-weight: 650;
}

/* Right side pill */
.raffle-info-pill {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16,185,129,0.12);
  color: #34d399;
  border: 1px solid rgba(16,185,129,0.22);
}

/* Chevron */
.raffle-info-chevron {
  color: rgba(229,231,235,0.72);
  font-size: 16px;
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 160ms ease, color 160ms ease;
}
.raffle-info-chevron.open {
  transform: rotate(180deg);
  color: rgba(229,231,235,0.9);
}

/* Divider */
.raffle-info-divider {
  height: 1px;
  background: rgba(148,163,184,0.18);
  margin-bottom: 12px;
}

/* Collapsible content animation */
.raffle-info-collapse {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 220ms ease, opacity 220ms ease;
}
.raffle-info-collapse.open {
  max-height: 280px; /* enough for the content */
  opacity: 1;
}

/* Link */
.raffle-info-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  text-decoration: none;
  color: #93c5fd;
}
.raffle-info-link:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

/* Paragraph styling */
.raffle-info-text {
  color: rgba(229,231,235,0.78);
  font-size: 13px;
  line-height: 1.55;
}

.raffle-info-text-muted {
  color: rgba(229,231,235,0.55);
  font-size: 12px;
  line-height: 1.45;
}

.raffle-info-footer {
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.55),
    rgba(17, 24, 39, 0.75)
  );
  margin-top: 32px;
}

.raffle-info-footer .raffle-info-title {
  font-size: 14px;
}

.raffle-info-footer .raffle-info-subtitle {
  font-size: 11px;
}

.raffle-panel {
  background: rgba(17, 24, 39, 0.62);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.raffle-panel-title {
  color: #f9fafb;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.raffle-select {
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: rgba(229,231,235,0.9);
}

.raffle-select:focus {
  box-shadow: 0 0 0 3px rgba(59,130,246,0.25);
  border-color: rgba(59,130,246,0.5);
}

.raffle-table {
  border-color: rgba(148, 163, 184, 0.18);
}

.raffle-table thead th {
  color: rgba(229,231,235,0.7);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.raffle-table tbody td {
  color: rgba(229,231,235,0.85);
  border-top-color: rgba(148, 163, 184, 0.14);
}

.raffle-wallet {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
}

.raffle-trait {
  background: rgba(2, 6, 23, 0.55) !important;
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: rgba(229, 231, 235, 0.86);
  font-weight: 800;
  padding: 8px 10px;
}

.raffle-trait-k {
  color: rgba(147, 197, 253, 0.95);
  font-weight: 900;
}

.raffle-trait-sep {
  margin: 0 6px;
  color: rgba(229,231,235,0.25);
}

.raffle-trait-v {
  color: rgba(229, 231, 235, 0.92);
  font-weight: 800;
}

.countdown-muted {
  color: rgba(229,231,235,0.55);
  font-size: 0.85rem;
}

.raffle-row-highlight {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.18),
    rgba(59, 130, 246, 0.05)
  ) !important;
}

.raffle-row-highlight td {
  border-color: rgba(59, 130, 246, 0.25);
}

.raffle-row-highlight .raffle-wallet {
  color: #93c5fd;
  font-weight: 600;
}
