:root {
  --overlay: rgba(0, 0, 0, 0.7);
  --card-bg: #232323;
  --text: #ffffff;
  --muted: #c9c9c9;
  --accent: #ffd23f;
  --radius: 20px;
}

/* overlay */
.tr-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--overlay);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tr-popup.active {
  opacity: 1;
  visibility: visible;
}

/* card */
.tr-popup__card {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  padding: 40px 30px 30px;
  margin: 20px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.tr-popup.active .tr-popup__card {
  transform: translateY(0);
}

.tr-popup__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease;
}

.tr-popup__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.tr-popup__close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.tr-popup__content {
  text-align: center;
  color: var(--text);
  line-height: 1.5;
}

.tr-eyebrow {
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #bdbdbd;
  font-size: .8rem
}

.tr-title {
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  margin: 15px 0;
  line-height: 1.3;
}

.tr-sub {
  color: var(--muted);
  max-width: 48ch;
  margin: 0 auto;
  font-size: clamp(14px, 2.1vw, 18px)
}

.tr-icon {
  width: clamp(90px, 18vw, 140px);
  height: auto;
  margin-inline: auto;
  display: block
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.tr-popup__card {
  animation: fadeIn 0.3s ease forwards;
}

/* Body scroll lock when popup is open */
body.popup-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0);
}
.group_img {
  /* border: #232323; */
  margin-bottom: 20px;
}