.header__rates {
  width: 100%;
  max-width: 28%;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
  padding: 20px 30px 20px 30px;
  backdrop-filter: blur(10px);
  margin-left: auto;
}

@media (max-width: 1024px) {
  .header__rates {
    max-width: 100%;
    margin-left: 0;
    margin-top: 40px;
  }
}

.header__rates-title h3 {
  font-family: "Gilroy";
  font-weight: 900;
  font-size: 28px;
  line-height: 32px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 20px;
}

@media (max-width: 760px) {
  .header__rates-title h3 {
    font-size: 24px;
    line-height: 28px;
  }
}

.header__rates-list {
  width: 100%;
}

.header__rates-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__rates-item:last-child {
  border-bottom: none;
}

.header__rates-item-name {
  font-family: "Gilroy";
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: #cacaca;
}

@media (max-width: 760px) {
  .header__rates-item-name {
    font-size: 14px;
  }
}

.header__rates-item-value {
  font-family: "Gilroy";
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  color: #2fe317;
  text-align: right;
}

@media (max-width: 760px) {
  .header__rates-item-value {
    font-size: 16px;
  }
}

.header__rates-item-value .small {
  font-size: 12px;
  font-weight: 500;
  color: #928b87;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .header__rates-item-value .small {
    display: block;
    margin-top: 4px;
  }
}

/*phases*/
/* CONTENT PHASES STYLES */

.content-phases {
  width: 100%;
  position: relative;
  padding: 140px 0px;
  background: url("../images/bg/packs_bg.jpg") top center no-repeat;
  background-size: cover;
}

@media (max-width: 1240px) {
  .content-phases {
    padding: 70px 0px;
  }
}

.content-phases__title {
  width: 100%;
  text-align: center;
  margin-bottom: 120px;
}

@media (max-width: 1240px) {
  .content-phases__title {
    margin-bottom: 50px;
  }
}

.content-phases__title h2 {
  font-family: "Gilroy";
  font-weight: 900;
  font-size: 50px;
  line-height: 50px;
  color: #fff;
  text-transform: uppercase;
}

@media (max-width: 1680px) {
  .content-phases__title h2 {
    font-size: 44px;
    line-height: 44px;
  }
}

@media (max-width: 1240px) {
  .content-phases__title h2 {
    font-size: 34px;
    line-height: 34px;
  }
}

@media (max-width: 760px) {
  .content-phases__title h2 {
    font-size: 28px;
    line-height: 28px;
  }
}

.content-phases__title-sub {
  width: 100%;
  text-align: center;
  font-family: "Gilroy";
  font-weight: 700;
  font-size: 16px;
  line-height: 16px;
  color: #fff;
  margin-top: 8px;
  text-transform: uppercase;
}

@media (max-width: 1680px) {
  .content-phases__title-sub {
    font-size: 14px;
    line-height: 14px;
  }
}

/* Progress Bar */
.content-phases__progress {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 100px;
  padding: 0 60px;
}

@media (max-width: 1240px) {
  .content-phases__progress {
    margin-bottom: 60px;
    padding: 0 40px;
  }
}

@media (max-width: 760px) {
  .content-phases__progress {
    max-width: 600px;
    padding: 0 20px;
  }
}

.progress-container {
  width: 100%;
  position: relative;
}

.progress-track {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.6);
}

@media (max-width: 760px) {
  .progress-track {
    height: 10px;
  }
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1a8f0d 0%, #2fe317 100%);
  border-radius: 20px;
  position: relative;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 25px rgba(47, 227, 23, 0.6);
}

.content-phases__progress[data-current-phase="1"] .progress-fill {
  width: 0%;
}

.content-phases__progress[data-current-phase="2"] .progress-fill {
  width: 25%;
}

.content-phases__progress[data-current-phase="3"] .progress-fill {
  width: 50%;
}

.content-phases__progress[data-current-phase="4"] .progress-fill {
  width: 75%;
}

.content-phases__progress[data-current-phase="5"] .progress-fill {
  width: 100%;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #2fe317 30%, #1a8f0d 100%);
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(47, 227, 23, 1), 0 0 40px rgba(47, 227, 23, 0.6);
  animation: pulse-end 2.5s ease-in-out infinite;
}

@media (max-width: 760px) {
  .progress-fill::after {
    width: 16px;
    height: 16px;
    right: -6px;
  }
}

@keyframes pulse-end {
  0%, 100% {
    box-shadow: 0 0 25px rgba(47, 227, 23, 1), 0 0 40px rgba(47, 227, 23, 0.6);
  }
  50% {
    box-shadow: 0 0 35px rgba(47, 227, 23, 1), 0 0 60px rgba(47, 227, 23, 0.8);
  }
}

.progress-points {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.progress-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.point-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  border: 5px solid rgba(255, 255, 255, 0.15);
  position: relative;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

@media (max-width: 760px) {
  .point-circle {
    width: 28px;
    height: 28px;
    border-width: 4px;
  }
}

.content-phases__progress[data-current-phase="1"] .progress-point[data-phase="1"] .point-circle,
.content-phases__progress[data-current-phase="2"] .progress-point[data-phase="1"] .point-circle,
.content-phases__progress[data-current-phase="2"] .progress-point[data-phase="2"] .point-circle,
.content-phases__progress[data-current-phase="3"] .progress-point[data-phase="1"] .point-circle,
.content-phases__progress[data-current-phase="3"] .progress-point[data-phase="2"] .point-circle,
.content-phases__progress[data-current-phase="4"] .progress-point[data-phase="1"] .point-circle,
.content-phases__progress[data-current-phase="4"] .progress-point[data-phase="2"] .point-circle,
.content-phases__progress[data-current-phase="4"] .progress-point[data-phase="3"] .point-circle,
.content-phases__progress[data-current-phase="5"] .progress-point[data-phase="1"] .point-circle,
.content-phases__progress[data-current-phase="5"] .progress-point[data-phase="2"] .point-circle,
.content-phases__progress[data-current-phase="5"] .progress-point[data-phase="3"] .point-circle,
.content-phases__progress[data-current-phase="5"] .progress-point[data-phase="4"] .point-circle {
  background: #2fe317;
  border-color: #2fe317;
  box-shadow: 0 0 25px rgba(47, 227, 23, 0.8), 0 4px 15px rgba(0, 0, 0, 0.6);
}

.content-phases__progress[data-current-phase="1"] .progress-point[data-phase="1"] .point-circle,
.content-phases__progress[data-current-phase="2"] .progress-point[data-phase="2"] .point-circle,
.content-phases__progress[data-current-phase="3"] .progress-point[data-phase="3"] .point-circle,
.content-phases__progress[data-current-phase="4"] .progress-point[data-phase="4"] .point-circle,
.content-phases__progress[data-current-phase="5"] .progress-point[data-phase="5"] .point-circle {
  width: 46px;
  height: 46px;
  border-width: 6px;
  box-shadow: 0 0 35px rgba(47, 227, 23, 1), 0 0 60px rgba(47, 227, 23, 0.6), 0 4px 20px rgba(0, 0, 0, 0.7);
  animation: pulse-current 2.5s ease-in-out infinite;
}

@media (max-width: 760px) {
  .content-phases__progress[data-current-phase="1"] .progress-point[data-phase="1"] .point-circle,
  .content-phases__progress[data-current-phase="2"] .progress-point[data-phase="2"] .point-circle,
  .content-phases__progress[data-current-phase="3"] .progress-point[data-phase="3"] .point-circle,
  .content-phases__progress[data-current-phase="4"] .progress-point[data-phase="4"] .point-circle,
  .content-phases__progress[data-current-phase="5"] .progress-point[data-phase="5"] .point-circle {
    width: 36px;
    height: 36px;
    border-width: 5px;
  }
}

@keyframes pulse-current {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.point-text {
  position: absolute;
  top: 60px;
  font-family: "Gilroy";
  font-weight: 700;
  font-size: 15px;
  line-height: 15px;
  color: #555;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease-in-out;
}

@media (max-width: 760px) {
  .point-text {
    font-size: 12px;
    line-height: 12px;
    top: 45px;
  }
}

.content-phases__progress[data-current-phase="1"] .progress-point[data-phase="1"] .point-text,
.content-phases__progress[data-current-phase="2"] .progress-point[data-phase="1"] .point-text,
.content-phases__progress[data-current-phase="2"] .progress-point[data-phase="2"] .point-text,
.content-phases__progress[data-current-phase="3"] .progress-point[data-phase="1"] .point-text,
.content-phases__progress[data-current-phase="3"] .progress-point[data-phase="2"] .point-text,
.content-phases__progress[data-current-phase="3"] .progress-point[data-phase="3"] .point-text,
.content-phases__progress[data-current-phase="4"] .progress-point[data-phase="1"] .point-text,
.content-phases__progress[data-current-phase="4"] .progress-point[data-phase="2"] .point-text,
.content-phases__progress[data-current-phase="4"] .progress-point[data-phase="3"] .point-text,
.content-phases__progress[data-current-phase="4"] .progress-point[data-phase="4"] .point-text,
.content-phases__progress[data-current-phase="5"] .progress-point[data-phase="1"] .point-text,
.content-phases__progress[data-current-phase="5"] .progress-point[data-phase="2"] .point-text,
.content-phases__progress[data-current-phase="5"] .progress-point[data-phase="3"] .point-text,
.content-phases__progress[data-current-phase="5"] .progress-point[data-phase="4"] .point-text,
.content-phases__progress[data-current-phase="5"] .progress-point[data-phase="5"] .point-text {
  color: #2fe317;
}

.point-badge {
  position: absolute;
  top: -50px;
  background: rgba(0, 0, 0, 0.95);
  border: 2px solid #2fe317;
  padding: 8px 18px;
  border-radius: 25px;
  font-family: "Gilroy";
  font-weight: 800;
  font-size: 14px;
  line-height: 14px;
  color: #2fe317;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.6), 0 0 25px rgba(47, 227, 23, 0.4);
}

@media (max-width: 760px) {
  .point-badge {
    font-size: 11px;
    line-height: 11px;
    padding: 6px 14px;
    top: -42px;
  }
}

.point-badge::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #2fe317;
}

@media (max-width: 760px) {
  .point-badge::after {
    border-left-width: 7px;
    border-right-width: 7px;
    border-top-width: 7px;
    bottom: -8px;
  }
}

/* Phases Grid */
.content-phases__grid {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .content-phases__grid {
    gap: 15px;
  }
}

.content-phases__card {
  width: calc((100% - 80px) / 5);
  min-width: 260px;
  height: 600px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease-in-out;
  cursor: pointer;
}

@media (max-width: 1680px) {
  .content-phases__card {
    width: calc((100% - 60px) / 5);
    min-width: 240px;
    height: 580px;
  }
}

@media (max-width: 1440px) {
  .content-phases__card {
    width: calc((100% - 40px) / 3);
    min-width: 300px;
    height: 620px;
  }
}

@media (max-width: 1024px) {
  .content-phases__card {
    width: calc((100% - 30px) / 2);
    min-width: 320px;
  }
}

@media (max-width: 760px) {
  .content-phases__card {
    width: 100%;
    max-width: 420px;
  }
}

.content-phases__card:hover {
  transform: scale(1.05);
  z-index: 10;
}

.content-phases__card[data-state="active"]:hover {
  box-shadow: 0 15px 60px rgba(47, 227, 23, 0.5);
}

.content-phases__card[data-state="ended"]:hover {
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.6);
}

.content-phases__card[data-state="awaited"]:hover {
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.5);
}

/* Card Background */
.content-phases__card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.content-phases__card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.4s ease-in-out;
}

.bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
          to bottom,
          rgba(0, 0, 0, 0.3) 0%,
          rgba(0, 0, 0, 0.7) 35%,
          rgba(0, 0, 0, 0.95) 100%
  );
  transition: background 0.4s ease-in-out;
}

.content-phases__card[data-state="active"] .bg-gradient {
  background: linear-gradient(
          to bottom,
          rgba(47, 227, 23, 0.25) 0%,
          rgba(0, 0, 0, 0.7) 35%,
          rgba(0, 0, 0, 0.95) 100%
  );
}

.content-phases__card[data-state="ended"] .content-phases__card-bg img {
  filter: grayscale(0.7) brightness(0.6);
}

.content-phases__card[data-state="ended"] .bg-gradient {
  background: linear-gradient(
          to bottom,
          rgba(0, 0, 0, 0.5) 0%,
          rgba(0, 0, 0, 0.8) 35%,
          rgba(0, 0, 0, 0.95) 100%
  );
}

/* Card Inner Content */
.content-phases__card-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

@media (max-width: 1240px) {
  .content-phases__card-inner {
    padding: 20px;
  }
}

/* Phase Badges */
.phase-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

@media (max-width: 1240px) {
  .phase-badges {
    margin-bottom: 16px;
  }
}

.badge {
  padding: 7px 14px;
  border-radius: 20px;
  font-family: "Gilroy";
  font-weight: 700;
  font-size: 11px;
  line-height: 11px;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 1240px) {
  .badge {
    font-size: 10px;
    line-height: 10px;
    padding: 6px 12px;
  }
}

.badge.prenerf {
  background: linear-gradient(135deg, #ff6b6b 0%, #c92a2a 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-phases__card[data-state="ended"] .badge.prenerf {
  background: rgba(120, 120, 120, 0.4);
  color: #888;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge.status {
  background: rgba(0, 0, 0, 0.5);
  color: #aaa;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-phases__card[data-state="ended"] .badge.status {
  background: rgba(80, 80, 80, 0.4);
  color: #777;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.content-phases__card[data-state="active"] .badge.status {
  background: linear-gradient(135deg, #2fe317 0%, #1a8f0d 100%);
  color: #000;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Phase Header */
.phase-header {
  margin-bottom: auto;
  padding-bottom: 22px;
}

@media (max-width: 1240px) {
  .phase-header {
    padding-bottom: 18px;
  }
}

.phase-title {
  margin-bottom: 14px;
}

@media (max-width: 1240px) {
  .phase-title {
    margin-bottom: 12px;
  }
}

.phase-number {
  display: inline-block;
  font-family: "Gilroy";
  font-weight: 700;
  font-size: 14px;
  line-height: 14px;
  color: #2fe317;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: color 0.3s ease-in-out;
}

@media (max-width: 1240px) {
  .phase-number {
    font-size: 13px;
    line-height: 13px;
    margin-bottom: 8px;
  }
}

.content-phases__card[data-state="ended"] .phase-number {
  color: #666;
}

.phase-title h3 {
  font-family: "Gilroy";
  font-weight: 900;
  font-size: 26px;
  line-height: 30px;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  transition: color 0.3s ease-in-out;
}

@media (max-width: 1240px) {
  .phase-title h3 {
    font-size: 22px;
    line-height: 26px;
  }
}

.content-phases__card[data-state="ended"] .phase-title h3 {
  color: #999;
}

.phase-date {
  font-family: "Gilroy";
  font-weight: 600;
  font-size: 14px;
  line-height: 14px;
  color: #999;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  transition: color 0.3s ease-in-out;
}

@media (max-width: 1240px) {
  .phase-date {
    font-size: 13px;
    line-height: 13px;
  }
}

.content-phases__card[data-state="ended"] .phase-date {
  color: #666;
}

/* Phase Features */
.phase-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 1240px) {
  .phase-features {
    gap: 7px;
  }
}

.feature-item {
  padding: 11px 15px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  font-family: "Gilroy";
  font-weight: 500;
  font-size: 13px;
  line-height: 17px;
  color: #ccc;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease-in-out;
  border-left: 2px solid transparent;
}

@media (max-width: 1240px) {
  .feature-item {
    font-size: 12px;
    line-height: 16px;
    padding: 10px 13px;
  }
}

.feature-item.major {
  background: rgba(47, 227, 23, 0.12);
  border-left-color: #2fe317;
  color: #e8e8e8;
  font-weight: 600;
}

.content-phases__card[data-state="ended"] .feature-item {
  color: #777;
  background: rgba(0, 0, 0, 0.5);
}

.content-phases__card[data-state="ended"] .feature-item.major {
  background: rgba(80, 80, 80, 0.2);
  border-left-color: #555;
  color: #888;
}

.content-phases__card[data-state="active"] {
  box-shadow: 0 10px 50px rgba(47, 227, 23, 0.4);
}
