.unite-blocks {
  gap: .5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.giveaway {
  height: 100%;
  gap: .5rem;
  padding: 1rem;
  width: 100%;
  overflow: hidden;
  border-radius: var(--br-12);
  position: relative;
  background: var(--card);
  display: flex;
  flex-direction: row;
}

.giveaway-content-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: .5rem;
}

.giveaway-content-right {
  gap: .5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 2;
  justify-content: space-between;
}

.giveaway-times {
  height: 100%;
  gap: .5rem;
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
}

.giveaway-time {
  gap: 1rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.giveaway-time-block {
  height: 7rem;
  width: 7rem;
  border-radius: var(--br-10);
  /* padding: 1rem; */
  /* background: #d44236; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.giveaway-buttons {
  gap: 0.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.giveaway-title {
  font-family: "ExocetOTCECY-Light";
  border-radius: var(--br-6);
  display: flex;
  /* background: var(--transparent-2-w); */
  font-size: var(--font-size-xxxl);
  font-weight: var(--font-weight-8);
  justify-content: center;
}

.giveaway-time-time {
  filter: drop-shadow(rgba(179, 57, 52, 0.5) 0px 0px 1px) drop-shadow(rgb(111, 25, 6) 0px 0px 6px) drop-shadow(rgba(0, 0, 0, 0.3) 0px 1px 1px) drop-shadow(rgba(0, 0, 0, 0.3) 0px 0px 1px) brightness(1.6);
  font-family: "Old Fenris";
  font-size: var(--font-size-6xl);
  font-weight: var(--font-weight-7);
}

.giveaway-time-title {
  font-size: var(--font-size-l);
  font-weight: var(--font-weight-7);
}

.giveaway-time-block-space {
  display: flex;
  height: 100%;
  font-size: var(--font-size-7xl);
  align-items: center;
}

.giveaway-place {
  bottom: 4rem;
  position: absolute;
}

.giveaway-place-container {
  font-weight: var(--font-weight-7);
  font-size: var(--font-size-l);
  color: var(--money);
  border: 1px solid var(--transparent-2-w);
  backdrop-filter: blur(100px);
  border-radius: var(--br-10);
  background: var(--money-bg);
  padding: .5rem 1.5rem;
}

.giveaway-img {
  position: absolute;
  z-index: 3;
  justify-content: center;
  height: 100%;
  align-items: center;
  display: flex;
  -webkit-user-select: none;
  user-select: none
}

.giveaway-img img {
  width: 70%;
  min-width: 85px;
  z-index: 3;
  transition: var(--transition-duration);
}

.giveaway-block:hover img {
  transform: rotate(5deg) scale(1.05);
}

.giveaway-block {
  display: flex;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 80%;
  width: 100%;
  z-index: 1;
  justify-content: center;
}


.giveaway-block-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: .8;
  mask-image: radial-gradient(circle at center, #000000e6 1%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, #000000e6 1%, transparent 80%);
  transition: transform var(--transition-duration);
}

.giveaway-block:hover svg{
  transform: scale(1.1);
}

.giveaway-block-1 {
  display: flex;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
  z-index: 1;
  justify-content: center;
  align-items: center;
}

.giveaway-block-svg-svg {
  fill: var(--red);
  width: 10rem;
  height: 10rem;
  transition: transform var(--transition-duration);
}

.giveaway-block-1:hover .giveaway-block-svg {
  transform: scale(1.1);
}

.giveaway-block-1:hover .giveaway-block-svg-svg {
  transform: rotate(5deg) scale(1.05);
}

.red-participate {
  font-weight: var(--font-weight-7);
  font-size: var(--font-size-l);
  color: var(--text-default-invert);
  background: var(--span);
  position: relative;
  overflow: hidden;
  animation: participate-pulse 2s ease-in-out infinite;
}

.red-participate::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: participate-shine 3s ease-in-out infinite;
}

.red-participate:hover {
  background: var(--span);
}

.red-participate:disabled {
  animation: none;
}

.red-participate:disabled::before {
  animation: none;
}

@keyframes participate-pulse {
  0%, 100% {
    box-shadow: 0 0 5px rgba(212, 66, 54, 0.3);
  }
  50% {
    box-shadow: 0 0 15px rgba(212, 66, 54, 0.6);
  }
}

@keyframes participate-shine {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 100%;
  }
}

.giveaway-loader {
  position: relative;
  background: var(--input-form);
  overflow: hidden;
  height: 100%;
  border-radius: var(--br-12);
  z-index: 2;
  width: 100%;
}

.giveaway-loader::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      var(--transparent-2-w),
      rgba(255, 255, 255, 0) 100%);
  animation: shimmer1 1.5s infinite;
}

@keyframes shimmer1 {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.ga-participants-lists {
  padding-right: .5rem;
  max-height: 20rem;
  overflow-x: hidden;
  overflow-y: visible;
}

.ga-participants-list {
  gap: .5rem;
  display: flex;
  flex-direction: column;
}

.ga-participant-left {
  gap: .5rem;
  display: flex;
  align-items: center;
}

.ga-participant {
  border-radius: var(--br-8);
  padding: .5rem;
  background: var(--bg-tr-hover);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.ga-participant-avatar {
  border-radius: 20%;
  width: 2rem;
  height: 2rem;
}

.giveaway-content-center {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(350px,1fr));
  gap: .5rem;
  align-items: center;
}

.giveaway-no-title {
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-8);
  color: var(--red);
}

.giveaway-no-text {
  z-index: 2;
  font-size: var(--font-size-l);
  font-weight: var(--font-weight-6);
  color: var(--text-default);
}

.ga-reward {
  border-radius: var(--br-6);
  padding: .5rem;
  background: var(--bg-tr-hover);
  display: flex;
  justify-content: space-between;
}

.ga-reward-1st {
  background: #ffdb5c15;
  color: var(--top-one);
}

.ga-reward-2st {
  background: #bfe0ff15;
  color: var(--top-two);
}

@media (max-width: 768px) {
  .giveaway {
    height: 33rem;
    flex-direction: column;
  }
  
  .giveaway-content-right {
    flex: 1;
  }
}