@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}
html {
  min-height: 100%;
  min-width: 100%;
}
body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  background-repeat: no-repeat;
  background-size: 100%;
  background-color: #f6f6f6;
  color: rgb(var(--secondary-color));
  line-height: 1.5;
  font-family: Manrope, Arial, sans-serif;
  position: relative;
}
button,
input,
a {
  font-family: Manrope, Arial, sans-serif;
}
a {
  text-decoration: unset;
  color: unset;
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h4 {
  margin-bottom: 15px;
  font-weight: 800;
  font-size: 36px;
}
.section-title h4 span {
  color: rgb(var(--primary-color));
}
.section-title p {
  font-size: 18px;
  color: rgb(var(--muted-color));
  font-weight: 500;
}
.container {
  max-width: 1180px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
}
.header {
  margin: 25px 0;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  height: var(--logo-height);
}
.header-navigation {
  display: flex;
  align-items: center;
  gap: 40px;
}
.header-navigation a {
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s;
}
.header-navigation a:hover {
  color: rgb(var(--primary-color));
}
.header-button {
  background: linear-gradient(135deg, rgb(0, 87, 255) 0%, rgb(0, 72, 180) 100%);
  box-shadow: 0 6px 20px rgba(0, 87, 255, 0.3);
  border-radius: 12px;
  color: #fff !important;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animated gradient background for header button */
.header-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    #0057ff 0%,
    #0048b4 25%,
    #003d96 50%,
    #0048b4 75%,
    #0057ff 100%
  );
  background-size: 200% 200%;
  animation: xrpGradientHeader 3s ease infinite;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

@keyframes xrpGradientHeader {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.header-button:hover::before {
  opacity: 1;
}

.header-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 87, 255, 0.5);
  color: #fff !important;
}

.header-button:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 87, 255, 0.4);
}

/* Pulse animation for header button */
.header-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
}

.header-button:active::after {
  width: 400px;
  height: 400px;
}
.hero {
  margin: 100px 0;
  padding: 50px 0 0;
}
.hero-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.hero-text {
  max-width: 600px;
}
.hero-illustration {
  width: 440px;
  height: 345px;
  pointer-events: none;
  z-index: -1;
  position: absolute;
  right: 20px;
  bottom: 0;
  transition: opacity 0.15s;
}
.hero-illustration img {
  width: 100%;
  height: 100%;
}
.hero-badge {
  background: rgba(var(--primary-color), 0.1);
  border-radius: 27.5px;
  display: inline-block;
  padding: 8px 16px;
}
.hero-badge p {
  color: rgb(var(--primary-color));
  font-weight: 600;
  font-size: 13px;
}
.hero-title {
  font-weight: 800;
  font-size: 42px;
  margin: 20px 0 30px;
  line-height: 1.8;
}
.hero-title .name {
  color: rgb(var(--primary-color));
}
.hero-title .amount {
  background: transparent;
  border-radius: 5px;
  color: transparent;
  padding: 4px 7px;
  white-space: nowrap;
  background: linear-gradient(
    135deg,
    #0057ff 0%,
    #0048b4 25%,
    #003d96 50%,
    #0048b4 75%,
    #0057ff 100%
  );
  background-size: 200% 200%;
  animation: rippleAmountGradient 3s ease infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

@keyframes rippleAmountGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Additional shimmer effect */
.hero-title .amount::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmerAmount 2s infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes shimmerAmount {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Enhanced glow effect for amount */
.hero-title .amount {
  /* text-shadow: 0 0 10px rgba(0, 87, 255, 0.5), 0 0 20px rgba(0, 87, 255, 0.3),
    0 0 30px rgba(0, 87, 255, 0.2); */
}
.hero-subtitle {
  color: rgb(var(--muted-color));
  font-size: 18px;
  line-height: 1.8;
  max-width: 550px;
}
.hero-subtitle span {
  color: rgb(var(--secondary-color));
}
.instruction {
  margin-top: 80px;
  padding-top: 50px;
}
.instruction-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.instruction-item {
  background-color: #fff;
  border-radius: 9px;
  padding: 20px 17px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.instruction-item svg {
  color: rgb(var(--primary-color));
}
.instruction-item p {
  font-size: 14px;
  max-width: 330px;
}
.participate {
  margin-top: 80px;
  padding-top: 50px;
}
.participate-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.participate-coins {
  background-color: #fff;
  border-radius: 9px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  overflow-x: auto;
}
.participate-coins_item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 25px 17px;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.15s, background-color 0.15s;
  width: 100%;
  cursor: pointer;
}
.participate-coins_item:hover {
  background-color: #d9232e08;
}
.participate-coins_item.active {
  border-bottom-color: rgb(var(--primary-color));
}
.participate-coins_item p {
  font-weight: 600;
  white-space: nowrap;
}
.participate-coins_item span {
  color: rgba(var(--secondary-color), 0.35);
  font-weight: 600;
}
.participate-content {
  display: flex;
  gap: 15px;
}
.participate-calculator {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 397px;
  width: 100%;
}
.participate-calculator_block {
  background-color: #fff;
  border-radius: 9px;
  padding: 20px 24px;
  width: 100%;
}
.participate-calculator_label {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 15px;
}
.participate-calculator_label span {
  color: rgb(var(--primary-color));
}
.participate-calculator_currency {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.participate-calculator_currency p {
  font-weight: 600;
  font-size: 16px;
}
.participate-calculator_input {
  background: #7979790d;
  border-radius: 5px;
  padding: 9px 16px;
  display: flex;
  gap: 16px;
  cursor: text;
  border: 1px solid transparent;
  margin-bottom: 10px;
  align-items: center;
}
.participate-calculator_input input {
  background-color: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  outline: none;
  font-weight: 700;
  font-size: 16px;
}
.participate-calculator_input span {
  font-weight: 700;
  font-size: 16px;
}
.participate-calculator_amounts {
  font-weight: 500;
  color: #a5a5a5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}
.participate-calculator_amounts button {
  background: transparent;
  border: none;
  color: #000;
  transition: color 0.15s;
  cursor: pointer;
}
.participate-calculator_amounts button:hover {
  color: rgb(var(--primary-color));
}
.participate-block {
  background-color: #fff;
  border-radius: 9px;
  padding: 20px 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}
.participate-block_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.participate-block_header p {
  font-weight: 700;
}
.participate-block_header p span {
  color: rgb(var(--primary-color));
}
.participate-block_header .waiting {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.participate-block_header .waiting svg {
  animation: waitingAnimation 10s infinite linear;
  color: rgb(var(--primary-color));
}
@keyframes waitingAnimation {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.participate-block_header .waiting span {
  font-size: 12px;
}
.participate-block_content {
  display: flex;
  align-items: flex-end;
  gap: 15px;
}
.participate-block_col:not(:last-child) {
  margin-bottom: 15px;
}
.participate-block_form {
  width: 100%;
  overflow: hidden;
}
.participate-block_label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}
.participate-block_group {
  display: flex;
  gap: 10px;
}
.participate-block_qr {
  width: 132px;
  height: 132px;
  min-width: 132px;
  min-height: 132px;
}
.participate-block_input {
  border: 1px solid #dfdfdf;
  border-radius: 5px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  gap: 7px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.participate-block_input p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.participate-block_input.applicationNumber {
  overflow: unset;
}
.participate-block_input span {
  color: #acacac;
}
.participate-block_input .errorText {
  color: #d9232e;
  font-weight: 400;
}
.participate-block_input > svg {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
}
.participate-block_input .copyButton {
  background: transparent;
  border: none;
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin-left: auto;
  position: relative;
}
.participate-block_input .copyButton.copied span {
  animation: copyComponentAnimation 1s;
}
.participate-block_input .copyButton span {
  position: absolute;
  bottom: 100%;
  opacity: 0;
  left: 50%;
  transform: translate(-50%) translateY(0);
  pointer-events: none;
  font-size: 12px;
  padding: 4px 6px;
  background-color: rgb(var(--primary-color));
  color: #fff;
  line-height: 1;
  border-radius: 4px;
}
.participate-block_input .copyButton path {
  transition: fill 0.15s;
}
.participate-block_input .copyButton:hover path {
  fill: rgb(var(--primary-color));
}
@keyframes copyComponentAnimation {
  0% {
    transform: translate(-50%) translateY(0);
    opacity: 1;
  }
  to {
    transform: translate(-50%) translateY(-5px);
    opacity: 0;
  }
}
.participate-block_button {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  display: block;
  background: linear-gradient(
    224.83deg,
    rgb(var(--primary-color)) 3.65%,
    rgb(var(--primary-color-alternative))
  );
  border-radius: 5px;
  cursor: pointer;
  transition: 0.15s opacity;
  padding: 8px 20px;
  border: none;
  width: 130px;
  min-width: 130px;
}
.participate-block_button:hover {
  opacity: 0.75;
}
.participate-block_button:active {
  opacity: 0.65;
}
.participate-block_button:disabled {
  opacity: 0.5;
  cursor: default;
}
.participate-block_info {
  background: #d9232e1a;
  border-radius: 5px;
  padding: 10px;
  color: #d9232e;
  margin-top: auto;
}
.participate-block_info p {
  font-weight: 500;
  font-size: 13px;
}
.transactions {
  margin-top: 80px;
  padding-top: 50px;
}
.transactions-wrapper {
  overflow-x: auto;
}
.transactions-table {
  border-radius: 9px;
  border-spacing: 0;
  text-align: left;
  overflow: hidden;
  width: 100%;
  background: #fff;
  position: relative;
  min-width: 850px;
}
.transactions-table th {
  padding: 30px 0;
  background: #fff;
  font-weight: 600;
}
.transactions-table td {
  white-space: nowrap;
}
.transactions-table th,
.transactions-table td {
  padding: 18px 20px;
}
.transactions-table th:first-child,
.transactions-table td:first-child {
  padding-left: 45px !important;
}
.transactions-table th:last-child,
.transactions-table td:last-child {
  padding-right: 45px !important;
}
.transactions-table tr.contentLoading td > div {
  background: linear-gradient(to right, #f6f6f6 20%, #fff, #f6f6f6 80%);
  background-size: 500px 100px;
  animation: moving-gradient 1s linear infinite;
}
@-webkit-keyframes moving-gradient {
  0% {
    background-position: -250px 0;
  }
  to {
    background-position: 250px 0;
  }
}
.transactions-table tbody tr:nth-child(odd) {
  background: #fafafa;
}
.transactions-table tbody tr:nth-child(2n) {
  background: #fff;
}
.transactions-table td:last-child {
  width: 1%;
}
.transactions-table td > div {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.transactions-table td > div > * {
  display: inline-block;
  vertical-align: middle;
}
.transactions-table .coin {
  height: 30px;
  min-width: 150px;
  max-width: 150px;
  font-weight: 500;
}
.transactions-table .coin > * {
  display: inline-block;
  vertical-align: middle;
}
.transactions-table .coin img {
  width: 30px;
  height: 30px;
}
.transactions-table .coin p {
  margin-left: 7px;
}
.transactions-table .address {
  min-width: 200px;
  max-width: 200px;
  height: 24px;
}
.transactions-table .date,
.transactions-table .value {
  min-width: 150px;
  max-width: 150px;
  height: 24px;
}
.transactions-table .status {
  min-width: 120px;
  max-width: 120px;
  height: 40px;
}
.transactions-table .status span {
  color: #35ff14;
}
.transactions-table .badge {
  border-radius: 5px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 14px;
}
.transactions-table .badge.success {
  background: #006d181a;
  color: #008f20;
}
.footer {
  margin: 60px 0;
}
.footer-container {
  text-align: center;
}
.footer-copyright {
  font-weight: 600;
  font-size: 16px;
  color: #acacac;
}
@media (max-width: 1180px) {
  .participate-content {
    flex-direction: column;
  }
  .participate-calculator {
    flex-direction: row;
    max-width: 100%;
  }
}
@media (max-width: 1100px) {
  .hero-illustration {
    opacity: 0.2;
  }
}
@media (max-width: 950px) {
  .hero {
    margin: 50px 0;
  }
  .hero-container {
    justify-content: center;
  }
  .hero-text {
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto;
  }
  .hero-illustration {
    display: none;
  }
  .instruction-items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .header-navigation {
    display: none;
  }
  .header-button {
    font-size: 14px;
    padding: 12px 25px;
  }
  .participate-coins_item {
    padding: 15px 25px 14px;
  }
  .participate-coins_item.active {
    background: rgb(var(--primary-color));
    color: #fff;
  }
  .participate-coins_item.active span {
    color: #ffffffb3;
  }
}
@media (max-width: 850px) {
  .section-title h4 {
    font-size: 28px;
  }
  .section-title p {
    font-size: 16px;
  }
}
@media (max-width: 750px) {
  .hero-title {
    font-size: 36px;
  }
  .participate-calculator {
    flex-direction: column;
  }
}
@media (max-width: 700px) {
  .participate-block_qr {
    display: none;
  }
  .participate-block_header {
    flex-direction: column;
  }
  .participate-block_header .waiting {
    display: none;
  }
}
@media (max-width: 500px) {
  .section-title h4 {
    font-size: 26px;
  }
  .instruction-items {
    grid-template-columns: repeat(1, 1fr);
  }
  .participate {
    margin-top: 30px;
  }
  .participate-block_group {
    flex-direction: column;
  }
  .participate-block_input {
    font-size: 14px;
  }
  .participate-block_button {
    font-size: 13px;
    width: 100%;
    min-width: 100%;
    padding: 8px 20px;
  }
  .participate-calculator input,
  .participate-calculator span {
    font-size: 14px;
  }
  .participate-calculator_amounts {
    font-size: 12px;
  }
  .footer-copyright {
    font-size: 14px;
  }
  .applicationNumber span {
    display: block;
  }
}
@media (max-width: 450px) {
  .header-container {
    justify-content: center;
  }
  .header-button {
    display: none;
  }
  .hero {
    margin: 30px 0;
  }
  .hero-title {
    font-size: 32px;
    line-height: 1.7;
  }
  .hero-subtitle {
    font-size: 16px;
  }
}

.participate-block_button {
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  display: block;
  background: linear-gradient(135deg, rgb(0, 87, 255) 0%, rgb(0, 72, 180) 100%);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 12px 12px;
  border: none;
  width: 130px;
  min-width: 130px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 87, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Manrope", Arial, sans-serif;
}

.participate-block_button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.participate-block_button:hover::before {
  left: 100%;
}

.participate-block_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 87, 255, 0.4);
  background: linear-gradient(135deg, rgb(0, 72, 180) 0%, rgb(0, 87, 255) 100%);
}

.participate-block_button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(0, 87, 255, 0.3);
}

.participate-block_button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 87, 255, 0.2);
}

/* Ripple effect animation */
.participate-block_button {
  position: relative;
  overflow: hidden;
}

.participate-block_button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.participate-block_button:active::after {
  width: 300px;
  height: 300px;
}

/* Enhanced button with XRP-style gradient */
.participate-block_button.xrp-style {
  background: linear-gradient(
    135deg,
    #0057ff 0%,
    #0048b4 25%,
    #003d96 50%,
    #0048b4 75%,
    #0057ff 100%
  );
  background-size: 200% 200%;
  animation: xrpGradient 3s ease infinite;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes xrpGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.participate-block_button.xrp-style:hover {
  animation-duration: 1s;
  box-shadow: 0 8px 30px rgba(0, 87, 255, 0.5);
}

/* Success state for copy button */
.participate-block_button.copied {
  background: linear-gradient(135deg, #00c851 0%, #007e33 100%);
  transform: scale(0.95);
}

.participate-block_button.copied::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: bold;
  z-index: 1;
}

/* Loading state */
.participate-block_button.loading {
  pointer-events: none;
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.participate-block_button.loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid transparent;
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* XRP-themed enhancements */
.xrp-button {
  position: relative;
  background: linear-gradient(135deg, #0057ff 0%, #0048b4 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.xrp-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  margin: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #0057ff, #00d4ff, #0057ff);
  background-size: 200% 200%;
  animation: borderGlow 2s ease infinite;
}

@keyframes borderGlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Mobile responsive */
@media (max-width: 900px) {
  .header-button {
    font-size: 14px;
    padding: 12px 25px;
  }
}

@media (max-width: 500px) {
  .participate-block_button {
    font-size: 13px;
    width: 100%;
    min-width: 100%;
    padding: 10px 20px;
  }

  .header-button {
    display: none;
  }
}

/* Accessibility improvements */
.participate-block_button:focus,
.header-button:focus {
  outline: 2px solid rgba(0, 87, 255, 0.5);
  outline-offset: 2px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .participate-block_button,
  .header-button {
    box-shadow: 0 4px 15px rgba(0, 87, 255, 0.4);
  }

  .participate-block_button:hover,
  .header-button:hover {
    box-shadow: 0 8px 25px rgba(0, 87, 255, 0.6);
  }
}
