:root {
  --white: #ffffff;
  --black: #000000;
  --great: #28a745;
  --swal-dark-bg: #1e1e2d;
  --swal-dark-text: #f8f9fa;
  --swal-dark-border: #2b2b40;
  
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  background: radial-gradient(#5c5c5c, #000000);
  background-repeat: no-repeat;
  overflow-x:hidden;
}

header {
  margin: 10px 0;
  padding: 10px 0;
  text-align: center;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  transition: all 0.2s ease-in-out;
}
header img {
  width: 70%;
  max-width: 300px;
}

.scrolled {
  background-color: #5c5c5c;
}

.swiper {
  width: 100%;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 100%;
  max-width:700px;
}

.swiper-slide img {
  display: block;
  width: 100%;
}

.container {
  max-width: 1132px;
  margin: 0 auto;
  padding: 0 16px;
}

.marquee_content {
  background-color: var(--primary);
  color: var(--primary_text);
  display: flex;
  padding: 5px 10px;
  gap: 10px;
  font-size: 20px;
  align-items: center;
}

.btn_container {
  display: flex;
  gap: 10px;
}

@keyframes animate1 {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 100%;
  }
}
@keyframes animate2 {
  0% {
    top: -100%;
  }
  50%, 100% {
    top: 100%;
  }
}
@keyframes animate3 {
  0% {
    right: -100%;
  }
  50%, 100% {
    right: 100%;
  }
}
@keyframes animate4 {
  0% {
    bottom: -100%;
  }
  50%, 100% {
    bottom: 100%;
  }
}
.reg_btn {
  position: relative;
  display: inline-block;
  padding: 10px 30px;
  margin: 40px 0;
  color: var(--register);
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.5s;
  letter-spacing: 4px;
  overflow: hidden;
  width: 100%;
  text-align: center;
}
.reg_btn:hover {
  background: var(--register);
  color: #050801;
  box-shadow: 0 0 5px var(--register), 0 0 25px var(--register), 0 0 50px var(--register), 0 0 200px var(--register);
  -webkit-box-reflect: below 1px linear-gradient(transparent, rgba(0, 0, 0, 0.3333333333));
}
.reg_btn span {
  position: absolute;
  display: block;
}
.reg_btn span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--register));
  animation: animate1 1s linear infinite;
}
.reg_btn span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--register));
  animation: animate2 1s linear infinite;
  animation-delay: 0.25s;
}
.reg_btn span:nth-child(3) {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, var(--register));
  animation: animate3 1s linear infinite;
  animation-delay: 0.5s;
}
.reg_btn span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, var(--register));
  animation: animate4 1s linear infinite;
  animation-delay: 0.75s;
}

.login_btn {
  position: relative;
  display: inline-block;
  padding: 10px 30px;
  margin: 40px 0;
  color: var(--login);
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.5s;
  letter-spacing: 4px;
  overflow: hidden;
  width: 100%;
  text-align: center;
}
.login_btn:hover {
  background: var(--login);
  color: #050801;
  box-shadow: 0 0 5px var(--login), 0 0 25px var(--login), 0 0 50px var(--login), 0 0 200px var(--login);
  -webkit-box-reflect: below 1px linear-gradient(transparent, rgba(0, 0, 0, 0.3333333333));
}
.login_btn span {
  position: absolute;
  display: block;
}
.login_btn span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--login));
  animation: animate1 1s linear infinite;
}
.login_btn span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--login));
  animation: animate2 1s linear infinite;
  animation-delay: 0.25s;
}
.login_btn span:nth-child(3) {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, var(--login));
  animation: animate3 1s linear infinite;
  animation-delay: 0.5s;
}
.login_btn span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, var(--login));
  animation: animate4 1s linear infinite;
  animation-delay: 0.75s;
}

svg {
  fill: currentColor;
}

footer {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  z-index: 1000;
}

.footer_nav {
  font-family: "Racing Sans One", sans-serif;
  width: 25%;
  background-image: var(--primary_gredient);
  padding: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: var(--primary_text);
  text-decoration: none;
  font-size: 20px;
}
.footer_nav:hover {
  background-image: linear-gradient(to bottom, #5c5c5c, #222222);
  color: var(--primary);
}

.heading_fill {
  font-size: 26px;
  padding: 10px;
  background: var(--primary_gredient);
}

.banner_section {
  padding: 80px 0 40px;
  background-image: url("./assets/banner_bg.webp");
  margin-top: 80px;
  border-radius: 10px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.heading {
  font-size: 56px;
  color: var(--primary);
  font-weight: 600;
}

.banner_list {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 50px;
}

.banner_item {
  width: calc(50% - 10px);
  cursor: pointer;
}
.banner_item img {
  width: 100%;
}

/* Popup styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 999;
  display: none;
  transition: background-color 0.3s ease;
}

.popup-overlay.active {
  background-color: rgba(0, 0, 0, 0.7);
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background-color: #fff;
  padding: 50px;
  border-radius: 8px;
  z-index: 1000;
  display: none;
  max-width: 80%;
  width: 920px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  background-image: linear-gradient(45deg, #222222, #5c5c5c);
  color: var(--white);
  text-align: start;
  
  transition: all 0.3s ease;
}

.popup.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.popup h3 {
  font-size: 40px;
  text-transform: capitalize;
  color: var(--primary);
  border-bottom: 4px solid var(--primary);
}

.popup p {
  font-size: 18px;
  margin: 20px 0 0;
}

.popup p span {
  color: var(--primary);
  font-weight: 600;
}

.popup .popup_list {
  list-style: none;
  margin: 30px 0;
  color: var(--primary);
  position: relative;
  border-top: 2px solid var(--primary);
}

.popup .popup_list::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  top: -6px;
  transform: rotate(45deg);
  left: 0;
}

.popup .popup_list::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  top: -6px;
  transform: rotate(45deg);
  right: 0;
}

.popup .poup_item {
  font-size: 24px;
  border-bottom: 2px solid var(--primary);
  padding: 10px 0;
  position: relative;
}

.popup .poup_item::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  bottom: -6px;
  transform: rotate(45deg);
  left: 0;
}

.popup .poup_item::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  bottom: -6px;
  transform: rotate(45deg);
  right: 0;
}

.popup-content {
  position: relative;
}

.close-popup {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 24px;
  cursor: pointer;
  background: #000;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease;
}

.close-popup:hover {
  background: #333;
}

.cs_section {
  padding: 100px 0;
  background-image: var(--primary_gredient);
}

.text_sec {
  position: relative;
  border: 3px solid var(--black);
  background-image: linear-gradient(45deg, #222222, #5c5c5c);
  padding: 50px 30px;
  color: var(--white);
  border-radius: 10px;
}
.text_sec .cs_img {
  
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  border-radius: 100%;
  width: 110px;
  height: 110px;
  
}

.heading_sm {
  font-size: 48px;
  color: var(--primary);
  line-height: 1;
  text-transform: capitalize;
}

.cs_desc {
  padding: 10px 0 30px;
  font-size: 20px;
}

.cs_list {
  max-width: 750px;
  list-style: none;
  display: flex;
  margin: 0 auto;
  gap: 20px;
}

.cs_item {
  width: 100%;
  text-align: center;
}
.cs_item a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--black);
  border-radius: 20px;
  text-decoration: none;
  padding: 20px;
  border-right: 10px solid var(--white);
  background-color: var(--white);
  transition: all 0.5s ease-in-out;
}
.cs_item a:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

.download_section {
  padding: 40px 0;
}
.download_section .container {
  display: flex;
  align-items: center;
}
.download_section .container .left {
  width: 100%;
}
.download_section .container .left img {
  width: calc(100% + 75px);
  z-index: 10;
  position: relative;
}
.download_section .container .right {
  background-image: var(--primary_gredient);
  width: 100%;
  border-radius: 20px;
  padding: 20px;
}

.down_heading {
  font-size: 40px;
  padding: 36px;
  line-height: 1;
  text-transform: capitalize;
}

.download_btns {
  margin: 10px 0 20px;
  display: flex;
  gap: 20px;
}
.download_btns a {
  text-decoration: none;
}
.download_btns a img {
  width: 100%;
  max-width: 250px;
  display: block;
  transition: all 0.5s ease-in-out;
}
.download_btns a img:hover {
  transform: scale(1.05);
}

.download_note {
  padding: 20px 40px;
  background-image: linear-gradient(45deg, #5c5c5c, #222222);
  font-size: 22px;
  color: var(--white);
  font-weight: 500;
  line-height: 1.2;
  border-radius: 15px;
}
.download_note a {
  color: var(--primary);
  text-decoration: none;
}
.download_note a:hover {
  text-decoration: underline;
}

.provider_section {
  margin-top: 50px;
}
.provider_section .content {
  border: 2px solid var(--primary);
  padding: 65px;
  position: relative;
}
.provider_section .pro_heading {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 10px 20px;
  background-color: var(--primary);
  color: var(--primary_text);
  transform: translate(-50%, -50%);
  font-size: 26px;
}

.provider_list {
  list-style: none;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.provider_item {
  width: calc(25% - 25px);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.provider_item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.provider_item:hover::before {
  opacity: 0.9;
}
.provider_item:hover img {
  transform: scale(1.05);
}
.provider_item:hover span {
  background: var(--primary_gredient_rev);
  padding-bottom: 15px;
}
.provider_item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0.6;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.provider_item a {
  display: block;
  height: 100%;
  text-decoration: none;
}
.provider_item img {
  width: 100%;
  height: 220px;
  -o-object-fit: fill;
     object-fit: fill;
  transition: transform 0.5s ease;
}
.provider_item span {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 10px 15px;
  background: var(--primary_gredient);
  font-size: 18px;
  font-weight: 500;
  color: var(--primary_text);
  transition: all 0.3s ease;
  z-index: 2;
}

@media screen and (max-width: 991px) {
  .footer_nav {
    flex-direction: column;
    justify-content: space-between;
    gap: 2px;
  }
  .game_item {
    border-radius: 10px;
  }
  .provider_list .provider_item {
    width: calc(50% - 15px);
  }
  .footer_nav {
    padding: 20px;
    font-size: 20px;
  }
  .heading_fill {
    font-size: 20px;
  }
  .banner_section {
    padding: 40px 0 20px;
    margin-top: 50px;
  }
  .heading {
    font-size: 46px;
  }
  .banner_list {
    margin: 20px;
  }
  .popup {
    padding: 20px;
  }
  .popup h3 {
    font-size: 28px;
  }
  .popup p {
    font-size: 16px;
  }
  .popup .poup_item {
    font-size: 16px;
    border-bottom: 2px solid var(--primary);
    padding: 7px;
    position: relative;
  }
  .text_sec {
    padding: 60px 10px;
  }
  .cs_list {
    flex-direction: column;
  }
  .download_section .container {
    flex-direction: column;
  }
  .download_section .container .left img {
    width: 100%;
    max-width: 500px;
  }
  .download_btns {
    justify-content: center;
  }
  .provider_section .pro_heading {
    font-size: 20px;
  }
  .swiper-slide {
    max-width: 400px !important;
  }
}
@media screen and (max-width: 551px) {
  .swiper-slide {
    max-width: 200px !important;
  }
  .download_btns {
    flex-direction: column;
    align-items: center;
  }
  .down_heading {
    font-size: 32px;
    padding: 12px;
  }
  .download_note {
    padding: 10px;
    font-size: 16px;
  }
  .footer_nav {
    padding: 5px;
    font-size: 14px;
  }
  .footer_nav svg {
    width: 18px;
    margin-bottom: -15px;
  }
  .provider_list .provider_item {
    width: 100%;
  }
  .provider_name {
    font-size: 14px;
  }
  .banner_item {
    width: 100%;
  }
  .heading {
    font-size: 24px;
    line-height: 1;
  }
  .popup {
    text-align: center;
  }
  .popup p,
  .popup .popup .poup_item {
    font-size: 14px;
  }
  .popup h3 {
    font-size: 22px;
  }
  .close-popup {
    top: -15px;
    right: -15px;
  }
  .heading_sm {
    font-size: 31px;
  }
  .cs_desc {
    font-size: 16px;
  }
  .provider_section .content {
    padding: 80px 20px 20px;
  }
  .provider_section .pro_heading {
    width: 80%;
  }
  .marquee_content {
    font-size: 16px;
  }
}
.game_section {
  margin-top: 20px;
}
.game_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}
.game_heading {
  font-size: 36px;
  color: var(--white);
}
.game_update {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 20px;
  color: var(--primary);
  flex-wrap: wrap;
  justify-content: center;
}
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.popup-container {
  background: var(--black);

  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid #2d2d3d;
}
.good {
  background-color: #ffc107;
}
.average {
  background-color: #dc3545;
}
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #000000;
  border-bottom: 1px solid var(--primary);
}

.popup-title {
  margin: 0;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 600;
}

.popup-close {
  background: none;
  border: none;
  color: #a0a0c0;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 10px;
  transition: color 0.2s;
}
.popup_container {
  margin-top: 20px;
}
.popup-close:hover {
  color: #fff;
}

.popup-content {
  padding: 20px;
  overflow-y: auto;
  max-height: calc(90vh - 70px);
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Smaller width for 6-per-row */
  grid-auto-rows: 1fr; /* Equal height rows */
  gap: 10px; /* Reduced gap */
}

.provider-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* Better content distribution */
  text-decoration: none;
  padding: 10px; /* Smaller padding */
  border-radius: 6px; /* Slightly rounded */
  background-color: #2a2a3a;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  height: 100%; /* Fill grid cell */
}

.provider-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-grow: 1; /* Take available space */
  min-height: 40px; /* Smaller logo container */
}

.provider-logo {
  max-width: 80%; /* Slightly smaller logos */
  max-height: 40px; /* Compact logo size */
  object-fit: contain;
}

.provider-name {
  color: var(--white);
  margin-top: 8px; /* Tighter spacing */
  font-size: 0.8rem; /* Smaller text */
  text-align: center;
  width: 100%;
  
  overflow: hidden;
  
}

.provider-card:hover {
  background-color: #34344a;
  transform: translateY(-2px); /* Subtler hover effect */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); /* Lighter shadow */
  border-color: #4a4a6a;
}

.btn-popup {
  padding: 12px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 22px;
  font-weight: 700;
  transition: all 0.3s ease;
  background-image: var(--primary_gredient);
  color: white;
  animation: pulse 1.5s infinite;
  width: 90%;
  color: var(--primary_text);
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  &:hover {
    background-image: var(--primary_gredient_rev);
  }
}

.game_list {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}
.ids {
  color: rgb(220, 53, 69);
  font-size: 1rem;
  line-height: 1.2;
}
.sf {
  font-size: 0.9rem;
}
.game_item {
  position: relative;
  width: calc((100% / 3) - 15px);
  background-image: linear-gradient(-45deg, #5c5c5c, #222222);
  border-radius: 20px;
  border: 2px solid #5c5c5c;
  padding: 15px;
}
.item_top {
  display: flex;
  gap: 14px;
  align-items: center;
}
.item_img,
.item_img img,
.item_info {
  width: 100%;
}
.item_img img {
  height: 160px;

  border-radius: 12px;
  background-image: linear-gradient(to bottom, #5c5c5c, #222222);
}
.item_info {
  padding: 10px;
  background-color: var(--black);
  border-radius: 12px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.game_name {
  font-size: 0.9rem;
  padding-bottom: 5px;

  text-transform: capitalize;
}
.item_data {
  font-size: 0.7rem;
  padding: 12px 0;
  border-bottom: 2px solid var(--white);
  border-top: 2px solid var(--white);
  > * + * {
    margin-top: 5px;
  }
}
.item_data_single {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.item_infos {
  display: flex;
  gap: 10px;
  img {
    width: 12px;
  }
}
.jam {
  font-size: 0.7rem;
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  font-weight: 700;
}

.percent p {
  z-index: 15;
  position: absolute;
  text-align: center;
  width: 100%;
  font-size: 13px;
  top: -15px;
  font-weight: bold;
  transform: translateY(14px);
  color: var(--black);
}
.great {
  background-color: var(--great);
}
.percent {
  height: 19px;
  margin-top: 10px !important;
  display: flex;
  overflow: hidden;
  font-size: 0.75rem;
  background-color: #e9ecef;
  position: relative;
  z-index: 1;
  border-radius: 5px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.percent-bar {
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 75%,
    transparent
  );
  background-size: 1rem 1rem;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  white-space: nowrap;
  transition: width 0.6s ease;
  -webkit-animation: progress-bar-stripes 2s linear infinite;
  animation: progress-bar-stripes 1s linear infinite;
  z-index: 10;
}
@keyframes progress-bar-stripes {
  0% {
    background-position-x: 1rem;
  }
}
.game_btn {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary_text);
  background: var(--primary_gredient);
  padding: 5px 15px;
  border-radius: 10px;
  display: block;

  text-decoration: none;
  &:hover {
    background: var(--primary_gredient_rev);
  }
}

.hot::after {
  content: url("./assets/hot.gif");
  position: absolute;
  top: 0;
  left: 20px;
}
.top::after {
  content: url("./assets/top.gif");
  position: absolute;
  top: 0;
  left: 20px;
}

@media (max-width: 991px) {
  .game_item {
    width: calc((100% / 2) - 10px);
  }
  .game_top {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 661px) {
  .item_top {
    flex-direction: column;
  }
  .game_btn {
    font-size: 14px;
    border-radius: 6px;
  }
  .game_heading {
    font-size: 30px;
  }
 
}
@media (max-width: 400px) {
  .game_list {
    gap: 10px;
  }
  .game_item {
    width: 100%;
  }
}

#popupOverlay {
  z-index: 1000;
}
.popup-overlay:not(#popupOverlay) {
  z-index: 1001;
}
/* POPUP FIXES */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: none;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #2a2a3a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  display: none;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  color: white;
  opacity:0;
}

.popup h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 24px;
}

.popup p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.close-popup:hover {
  color: var(--primary);
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

body.popup-open {
  overflow: hidden;
}

.swal2-popup {
  background: var(--swal-dark-bg) !important;
  color: var(--swal-dark-text) !important;
  border: 1px solid var(--swal-dark-border) !important;
  border-radius: 8px !important;
  width: 90% !important;
  max-width: 900px !important;
  max-height: 80vh !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 2rem 1.5rem 1.5rem !important;
  overflow: hidden !important;
}

.swal2-header {
  flex-shrink: 0;
  padding: 0 1rem 1rem !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--swal-dark-border) !important;
}

.swal2-title {
  color: var(--swal-dark-text) !important;
  font-size: 1.5rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 2px solid var(--swal-accent-color) !important;
  margin: 0 0 1rem 0 !important;
  text-align: left !important;
  line-height: 1.4 !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

.swal2-html-container {
  color: var(--swal-dark-text) !important;
  text-align: left !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  padding: 0 1rem !important;
  margin: 1rem 0 !important;
  overflow-y: auto !important;
  max-height: calc(80vh - 150px) !important;
  flex-grow: 1 !important;
}

.swal2-html-container p {
  margin-bottom: 1rem !important;
}

.swal2-html-container br {
  content: "" !important;
  display: block !important;
  margin-bottom: 0.8rem !important;
}

.swal2-close {
  color: var(--swal-dark-text) !important;
  font-size: 1.8rem !important;
  top: 12px !important;
  right: 12px !important;
  transition: color 0.2s ease !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position:absolute;
}

.swal2-close:hover {
  color: var(--swal-accent-color) !important;
  transform: scale(1.1) !important;
}

.animate__animated {
  --animate-duration: 0.4s;
}
.swal2-backdrop-show {
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

/* Custom scrollbar for WebKit browsers */
.swal2-html-container::-webkit-scrollbar {
  width: 6px;
}

.swal2-html-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.swal2-html-container::-webkit-scrollbar-thumb {
  background: var(--swal-accent-color);
  border-radius: 3px;
}

.swal2-html-container::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--swal-accent-color), 0.8);
}

/* Search Bar Styles */
.search-container {
  display: flex;
  margin: 15px 0;
  
  width: 100%;
  position: relative;
}

.search-input {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid var(--primary);
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  background: transparent;
  transition: all 0.3s ease;
  padding-right: 45px;
color:var(--primary)
}
.search-input::placeholder {
color:var(white);
    }
.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary), 0.2);
}

.search-button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--primary);
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-button:hover {
  background: rgba(var(--primary), 0.1);
}

.no-results {
  text-align: center;
  padding: 20px;
  color: #666;
  display: none;
}