* {
  --primary-color: #863c99;
  --secondary-color: #f4e2f8;
  --grey-color: #b9b9b9;
  --light-grey: rgba(48, 54, 47, 5%);
  --rating-color-green: rgb(52 168 83);
  scroll-behavior: smooth;
}

.dynamic-img {
  max-height: 300px;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Global Class */
.flex {
  display: flex;
}
.justify-center {
  justify-content: center;
}
.items-center {
  align-items: center;
}
.grid {
  display: grid;
}
.grid-cols-1 {
  grid-template-columns: 1fr;
}
.grid-cols-2 {
  grid-template-columns: 1fr 1fr;
}
.gap-1 {
  gap: 1rem;
}
.text-primary {
  color: var(--primary-color);
}
.text-secondary {
  color: var(--secondary-color);
}
.text-gray {
  color: var(--grey-color);
}
.text-white {
  color: #ffffff;
}
.text-black {
  color: #000;
}
.text-center {
  text-align: center;
}
.text-sm {
  font-size: 14px;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}
.bg-primary {
  background-color: var(--primary-color);
}
.bg-secondary {
  background-color: var(--secondary-color);
}
.bg-grey {
  background-color: var(--grey-color);
}
.bg-light-grey {
  background-color: var(--light-grey);
}
.uppercase {
  text-transform: uppercase;
}
.rounded {
  border-radius: 5px;
}
.padding-1 {
  padding: 1rem;
}
.padding-2 {
  padding: 2rem;
}
.mb-1 {
  margin-bottom: 1rem;
}
.pointer {
  cursor: pointer;
}
/* Global Class */
.review-main {
  max-width: 1440px;
  margin: 0 auto;
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  position: relative;
}

.review-main-header a {
    display: block;
    height: 100%;
    width: 100%;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.review-main-header:hover .banner-image {
    transform: scale(1.02); /* slight zoom on hover */
}

.review-main-header {
    position: relative;
    width: 100%;
    max-height: fit-content; /* Adjust this to your desired max height */
    overflow: hidden;
    margin-bottom: 2rem;
    /* background-color: var(--secondary-color); */
    min-height: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.review-main .tabcontent p {
  margin-bottom: 2rem;
}

.review-h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.tab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: sticky;
  top: 0;
  left: 0;
  background-color: #ffffff;
  z-index: 20;
  gap: 2px;

  overflow: hidden;
}

/* Style the buttons inside the tab */
.tab button {
  border: none;
  background-color: var(--secondary-color);
  background-color: transparent;
  outline: none;
  text-align: center;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  border: 1px solid var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: var(--secondary-color);
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 2rem 1rem;
  -webkit-animation: fadeEffect 1s;
  animation: fadeEffect 1s;
}

.text-content {
  margin-bottom: 1.5rem;
}

.bonus-card {
  padding: 1rem 1rem 2rem 1rem;
  border: 1px solid var(--grey-color);
  border-radius: 5px;
  margin: 2rem 0;
}
.review-flag-bonus {
  max-width: 1.5rem;
  margin: auto;
}
.review-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.review-card-top-img-container {
  display: flex;
  align-items: center;
}
#bonusCode {
  background-color: transparent;
  outline: none;
  border: none;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 700;
  text-align: center;
}
#clipboard-btn {
  background-color: transparent;
  outline: none;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* CSS for Review Tab */
.casino-review-container {
  background-color: var(--light-grey);
  padding: 1rem;
  border-radius: 10px;
}
.casino-review-card {
  padding: 1rem;
  background-color: white;
  border-radius: 10px;
}

.casino-review-left-card {
  display: grid;
  grid-template-columns: 1fr 3fr;
}
.left-card-content {
  border-radius: 10px;
  border: 1px solid var(--primary-color);
  overflow: hidden;
  padding: 5px;
}
.casino-review-right-card {
  padding: 0 2rem;
  border-left: 1px solid var(--secondary-color);
}

.review-bar-container {
  background-color: rgb(233 236 239);
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #fff;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.review-bar-content {
  padding: 0.8rem 1.5rem;
  position: relative;
  z-index: 5;
}
.review-bar-bg-rate {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.check-list-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.list-pros-cons-container {
  padding: 0 2rem;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pros-cons-content p {
  margin-bottom: 1rem;
  padding: 0 2rem;
}
/* CSS for Clipboard and Tooltip */

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--primary-color) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Media Querries */
@media (max-width: 768px) {
  .check-list-links {
    grid-template-columns: 1fr;
  }
  .list-pros-cons-container {
    grid-template-columns: 1fr;
    padding: 0 0.5rem;
  }
  .pros-cons-content p {
    padding: 0 0.5rem;
  }
  .casino-review-left-card {
    grid-template-columns: 1fr;
  }
  .casino-review-right-card {
    padding: 0.5rem;
    margin-top: 1rem;
    border-left: none;
  }
  .tabcontent {
    padding: 1rem;
  }
}

/* Fade in tabs */
@-webkit-keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
