/* --- Search Modal Styles --- */
#searchModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
}
#searchModal > div {
  background: #fff;
  border-radius: 18px;
  max-width: 1100px;
  width: 90vw;
  max-height: 80vh;
  overflow: auto;
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
  padding: 32px 24px 24px 24px;
  position: relative;
}
#closeSearchModal {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 2.2em;
  color: #888;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
  transition: color 0.2s;
  user-select: none;
}
#searchInput {
  width: 100%;
  padding: 14px 18px;
  font-size: 1.2em;
  border-radius: 10px;
  border: 1px solid #eee;
  margin-bottom: 24px;
  outline: none;
  box-sizing: border-box;
}
#searchResults {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
@media (max-width: 600px) {
  #searchModal > div {
    padding: 16px 4vw 16px 4vw !important;
    max-width: 99vw !important;
  }
  #searchInput {
    font-size: 1em !important;
    padding: 10px 8px !important;
  }
  #closeSearchModal {
    font-size: 2em !important;
    top: 8px !important;
    right: 10px !important;
  }
  #searchResults {
    gap: 10px !important;
  }
}
/* --- End Search Modal Styles --- */
body {
  font-family: 'Poppins', sans-serif;
  color: rgba(225, 225, 225, 0.6);
}
body {
  background-color: #000000;
  padding-top: 80px;
}
#searchContainer {
  position: relative;
  margin: 20px 0;
}

#gameSearch {
  padding: 7px;
  font-size: 15px;
  border: 3px solid #f0d210;
  border-radius: 10px;
}

#gameSearch::placeholder {
  color: #999;
}

#gameSearch:focus {
  outline: none;
  border-color: #f0d210;
    box-shadow: 0 0 1.042vw 0 #f0d210;
}

#gameList {
  max-height: 250px;
  background: #050505;
  overflow-y: auto;
  position: absolute;
  z-index: 1000;
  display: none;
  margin-top: 5px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  scrollbar-width: thin;
}

.game-item {
  padding: 0.3rem;
  border-radius: 5px;
  cursor: pointer;
}

.game-item a hover {
  color: #f0d210;
}

.game-item a {
  color: #f0d210;
  text-decoration: none;
  display: block;
  font-size: medium;
  text-align: justify;
}

.game-item:hover {
  background: #4e4b4b;
}

.search-title {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}


.lazy {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

.lazy-loaded {
  opacity: 1;
}



.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #333;
  color: white;
  padding: 15px;
  text-align: center;
  z-index: 1000;
  display: none;
  /* Hidden by default */
}

.cookie-consent-banner p {
  margin: 0;
  display: inline;
}

.cookie-consent-banner button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-left: 20px;
  cursor: pointer;
}




/* Style the search box container */
.search-container {
  text-align: center;
}

/* Style the search input field */
.search-input {
  width: 60%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0px 0px 5px #aaa;
  transition: width 0.4s ease-in-out;
}

/* Style the search button */
.search-button {
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  background-color: #007BFF;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 5px;
  box-shadow: 0px 0px 5px #aaa;
  transition: background-color 0.3s ease;
}

/* Hover effect for search button */
.search-button:hover {
  background-color: #0056b3;
}

/* Responsive design for smaller screens */
@media screen and (max-width: 600px) {
  .search-input {
      width: 80%;
  }

  .search-button {
      width: 100%;
      margin-top: 10px;
  }
}


body::-webkit-scrollbar {
  width: 8px
}

body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3)
}

body::-webkit-scrollbar-thumb {
  background-color: #c4c4c4;
  outline: #c4c4c4 solid 1px
}
.search-block > .search-toggle{
  font-size: 20px;
  right: 0
}
.search-block > form{
  width: 90%
}
.search-block input{
  font-size: 20px;
  height: 50px
}
.search-block form span{
  font-size: 20px
}
body.login-body {
  background-color: #211328;
}
img {
  max-width: 100%;
  height: auto;
}
a:link {
  text-decoration: none;
}
a:visited {
  text-decoration: none;
}
.top-nav {
 position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030;
  background: rgba(15, 23, 42, 0.95); /* semi-transparent for effect */
  backdrop-filter: blur(8px); /* optional: for glass effect */
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  padding: 2px 0;
}
.top-nav a {
  color: #fff;
}
.nav-link {
  font-weight: 500;
}
.navbar-nav {
  margin-right: 20px;
}
.navbar-nav {
  margin-left: auto;
}
.dropdown-menu {
  background: #3b3255;
}
.dropdown-menu .dropdown-item {
  padding: 15px 25px;
}
ul.user-links {
  background: #3b3255;
  z-index: 20;
}
ul.user-links li {
  color: unset;
}
.search-bar {
  max-width: 200px;
  margin-left: auto;
  position: relative;
}
.search-bar input.search {
  text-indent: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px!important;
  border: none;
  height: 50px;
  margin-bottom: 0;
}
.search-bar .bi-search {
  position: absolute;
  color: #fff;
  top: 14px;
  left: 15px;
}
.search-bar .form-control::placeholder {
  color: #fff;
  opacity: 0.5;
}
.category-description {
  padding: 20px;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.1);
  border-left-width: 5px;
  border-radius: 3px;
  border-left-color: #5bc0de;
  margin-bottom: 40px;
}
.pagination-wrapper {
  margin-top: 20px;
}
.pagination .page-link {
  background: #7f598e;
  color: #fff;
  border: 0;
  padding: 10px 18px;
}
.page-link:hover {
  background: #574260;
}
.pagination .disabled .page-link {
  background: #503759;
}
.single-title, .page-title {
  font-size: calc(1.3rem + .6vw);
  color: #fff;
}
.item-title {
  color: #fff;
  margin-bottom: 30px;
}
.section-title {
  margin-bottom: 30px;
  color: #fff;
  font-weight: bold;
}
.grid-container {
  margin-top: 15px;
  margin-bottom: 15px;
}
.img-rounded {
  border-radius: 20%;
}
.small-thumb {
  width: 100%;
}
.list-info {
  color: rgba(255, 255, 255, 0.5);
}
.list-title {
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.list-category {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.text-ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.game-tag-list {
  display: flex;
  flex-wrap: wrap;
}
.tag-item {
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.1);
  margin-right: 8px;
  margin-top: 8px;
  border-radius: 8px;
  color: #fff;
}
.game-item {
  display: flex;
  flex-wrap: wrap;
}
.grid-2 .game-item:hover, .grid-3 .game-item:hover, .list-vertical:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  border: 2px solid #f0d210;
  border-radius: 10px;
}
.list-game {
  width: 100%;
}
.list-game-x:hover {
  padding: 10px;
  background-color: #eef0f2;
  border-radius: 10px;
  scale: 1.2;
}
.list-rating {
  font-size: 14px;
}
.gamelist-vertical-widget .list-thumbnail {
  max-width: 80px;
  float: left;
  margin-right: 15px;
}
.grid-1 .list-game {
  margin-bottom: 40px;
}
.grid-1 .list-info {
    overflow: hidden;
    margin: 0.35714em;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    position: relative;
    bottom: 65px;
    margin-bottom: -53px;
    opacity: 0;
    font-weight: 700;
    font-size: 18px;
}
.grid-2 {
  margin-bottom: 10px;
}
.grid-2 .list-thumbnail {
  max-width: 100px;
  float: left;
  margin-right: 15px;
}
.grid-2 .list-title {
  font-size: 20px;
  font-weight: 500;
}
.grid-3 .list-game {
  background:  rgba(225, 225, 225, 0.15);
  border-radius: 15px;
}
.grid-3 .list-thumbnail {
  overflow: hidden;
  margin: 0;
}
.grid-3 .list-title {
  font-size: 18px;
  font-weight: 500;
}
.grid-3 .list-category, .gamelist-vertical-widget .list-category {
  font-style: italic;
  opacity: 0.7;
}
.grid-3 .list-game {
  overflow: hidden;
}
.grid-3 .list-info {
  padding: 10px;
}
.grid-3 {
  margin-bottom: 10px;
}
@media(hover: hover) and (pointer: fine) {
  .grid-1 .list-game:hover > .list-info {
    opacity: 1;
    transition: all 0.5s ease;
  }
  .list-thumbnail:hover {
    opacity: 0.7;
    transition: all 0.5s ease;
  }
}
.list-1 .list-thumbnail {
  max-width: 90px;
  margin-right: 15px;
}
.list-1 .list-thumbnail img {
  border-radius: 50%;
}
.row-list-1 {
  position: relative;
}
.list-1-wrapper {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  padding-left: 70px;
}
.list-1-wrapper .game-item {
  display: inline-block;
  text-align: center;
}
.footer {
  padding: 40px 0;
}
.border-line {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.dsb-panel {
  float: right;
}
.footer-copyright {
  background: rgba(0, 0, 0, 0.4);
}
.header-area {
  margin-bottom: 40px;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}
.masthead-title {
  color: #fff;
}
.masthead-description {
  max-width: 800px;
  margin: 0 auto;
}
.masthead-description h3 {
  font-size: 20px;
}
ul.list-categories {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
}
ul.list-categories li {
  padding: 10px 15px;
  background-color: #c9d2d5;
  border-radius: 15px;
  margin-right: 12px;
  margin-bottom: 16px;
  color: #fff;
}
.widget .category-wrapper {
  float: none;
  margin-right: 0;
}
.widget ul.category-item {
  width: 100%;
  list-style: none;
  padding-left: 0;
}
.category-item li {
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
}
.category-item li:hover {
  background: rgba(255, 255, 255, 0.15);
}
ul.category-list-wrapper {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
ul.category-list-wrapper .cat-item {
  padding: 5px 10px;
  border-radius: 15px;
  margin-right: 20px;
  margin-bottom: 16px;
  width: 155px;
  color: #4f5053;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
ul.category-list-wrapper .cat-item:hover {
  background: rgba(255, 255, 255, 0.1);
}
.cat-name {
  color: #fff;
  font-weight: bold;
}
.cat-game-amount {
  color: rgba(255, 255, 255, 0.3);
  font-weight: normal;
}
.icon-category {
  margin-right: 8px;
}
.category-list-global .icon-category {
  float: left;
}
ul.category-list-game .icon-category {
  float: none;
}
ul.category-list-game {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
}
ul.category-list-game .cat-item {
  padding: 5px 10px;
  border-radius: 15px;
  margin-right: 20px;
  margin-bottom: 16px;
  color: #4f5053;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
ul.category-list-game .cat-item:hover {
  background: rgba(255, 255, 255, 0.1);
}
.cat-info {
  margin-top: 5px;
  color: #fff;
  font-weight: bold;
}
.game-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 18px 18px 18px;
  display: flex;
  flex-wrap: wrap;
}
.header-left {
  margin: 10px 0;
}
.header-right {
  margin-left: auto;
  text-align: right;
}
.header-right .btn, .header-right .social-icon {
  margin-top: 10px;
}
.game-iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 600px;
}
.game-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}
.widget-title {
  margin-bottom: 20px;
  color: #fff;
}
.btn-default {
  border: 1px solid #bdc0c1;
  background-color: #fff;
}
.b-left {
  position: absolute;
  top: 20px;
}
.b-right {
  position: absolute;
  top: 20px;
  right: 10px;
}
.btn-primary {
  background-color: #01b6ff;
  border-color: #13a5df;
}
@media only screen and (max-width: 992px) {
  body {
    background-size: contain;
  }
  .search-bar {
    max-width: 100%;
  }
  .nav-item  {
    padding: 10px;
  }
}
@media only screen and (max-width: 640px) {
  .top-user {
      width: 80px;
      margin: 10px;
  }
  .leaderboard-cell.user-xp {
    margin-top: 12px;
    position: absolute;
    right: 20px;
  }
  .leaderboard-cell.rank {
    display: none;
  }
  .post-media .post-thumb {
    float: none;
    overflow: unset;
    margin-left: 0;
    margin-bottom: 20px;
    width: unset;
  }
  .post-media .post-thumb img {
    width: 100%;
    height: auto;
  }
}
  
.dropdown-icon {
  display: inline-block;
  margin-left: .455em;
  vertical-align: .255em;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
}
.btn-load-more {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 14px 50px;
  border-radius: 40px;
}
.b-load-more {
  margin-bottom: 40px;
}
.btn-load-more:hover {
  background: rgba(255, 255, 255, 0.05);
}
.header-right .btn-capsule, .header-right .btn-share {
  margin-left: 10px;
}
.btn-circle {
  background: rgba(255, 255, 255, 0.4);
  padding: 10px 15px;
  color: #fff;
  border-radius: 40px;
}
.btn-capsule {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  color: #fff;
  border-radius: 40px;
}
.btn-capsule:hover, .btn-capsule.active, .btn-circle:hover {
  background: rgba(255, 255, 255, 0.5);
}
.b-white {
  background: #fff;
  color: #000000;
  font-size: 18px;
}
.b-login {
  margin-left: 10px;
}
.star-on {
  color: #FFA73F;
  margin-right: 4px;
}
.star-off {
  color: #5C5B5F;
  margin-right: 4px;
}
.b-icon {
  margin-right: 8px;
}
.content-wrapper {
  margin-top: 40px;
}
.highlight-text {
  color: #fff;
}
.list-vertical {
  margin-bottom: 20px;
}

/* COMMENTS */

.jquery-comments .textarea-wrapper .textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 8px;
}
.comments-container {
  border: 0;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}
.jquery-comments ul.navigation {
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}
.jquery-comments ul.navigation li.active, .jquery-comments ul.navigation li:hover {
  color: unset;
}
.jquery-comments .textarea-wrapper::before, .jquery-comments .textarea-wrapper::after {
  display: none;
}
.jquery-comments .textarea-wrapper .control-row > span {
  padding: 10px 20px;
  border-radius: 8px;
}

/* END COMMENTS */

/* BLOG / POST */

.post-title {
  font-size: 25px;
}
.post-thumb {
  float: right;
  width: 200px;
  overflow: hidden;
  margin-left: 20px;
}
.post-thumb img {
  height: 180px;
  max-width: unset;
}
.post-item {
  display: flex;
}
.post-media {
  width: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin-bottom: 25px;
}
.post-title a {
  color: #fff;
}
.post-meta {
  font-style: italic;
  margin-bottom: 5px;
}
.page-content {
  margin-top: 40px;
}
/* END BLOG / POST */

/* USER PROFILE */

.user-page {
  background: unset;
}
.user-page .section {
  background-color: rgba(255, 255, 255, 0.1);
}
.profile-comment-item {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: unset;
}
.user-page .comment-text {
  color: #fff;
}
.user-page .comment-date.text-secondary {
  color: unset!important;
}
input.form-control {
  margin-bottom: 10px;
}

/* USER PROFILE */

#mobile-back-button {
    display: none;
    align-items: center;
    position: fixed;
    z-index: 101;
    top: 100px;
    left: 0;
    width: 56px;
    height: 46px;
    background: rgb(255, 255, 255);
    box-shadow: rgb(0 0 0 / 24%) 0px 16px 32px;
    border-radius: 0px 16px 16px 0px;
    overflow: hidden;
    cursor: pointer;
}
#mobile-back-button i {
  color: #94a2a2;
  font-size: 30px;
  margin-left: 14px;
}
.btn-left, .btn-right {
  z-index: 1;
}

/* LOGIN & REGISTER */

.login-form, .register-form {
  background: rgba(255, 255, 255, 0.1);
}

/* */

.mobile-thumb-play img {
  width: 100%;
  opacity: 0.7;
}
.mobile-thumb-play {
  background: #000000;
  overflow: hidden;
}
#mobile-play {
  position: relative;
}
#mobile-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 100px;
  color: #fff;
  transform: translate(-50%, -50%);
}
.game-container {
  overflow: hidden;
  border-radius: 18px;
}
.color-red {
  background: rgba(238, 19, 39, 0.4);
}
.top-3 {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
}
.top-user {
    display: inline-block;
    text-align: center;
    margin: 15px;
    position: relative;
    white-space: nowrap;
}
.top-number {
    width: 40px;
    color: #fff;
    border-radius: 50%;
    position: absolute;
    left: 20%;
    transform: translate(-50%, -50%);
}
.top-avatar img {
    border-radius: 50%;
    display: block;
}
.rank-1 .top-avatar img {
    width: 120px;
}
.leaderboard-table {
    clear: both;
    display: block;
    width: 100%;
}
.leaderboard-row {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 15px;
    margin-top: 15px;
    white-space: nowrap;
}
.leaderboard-cell {
    vertical-align: middle;
    padding: 0 10px;
    display: inline-block;
}
.leaderboard-user-avatar img {
    width: 50px;
    border-radius: 50%;
    display: block;
}
.leaderboard-cell.username {
    font-weight: bold;
    min-width: 160px;
}
.leaderboard-cell.rank {
    float: right;
}
.level-badge {
    float: left;
    margin-right: 10px;
}
.top-player-wrapper {
  margin-bottom: 20px;
}
.gamelist-widget .list-game {
  margin-bottom: 20px;
}
#particles-js {
  position: fixed; /* Use fixed to ensure it stays in place while scrolling */
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1; /* Ensures particles are behind other content */
}

.col-md-9,
    .box {
      border: 2px solid #f0d210;
      /* Adjust the border width if needed */
      border-radius: 20px;
    }

    .box {
      background-color: #2f3644;
      border: 2px solid #f0d210;
      border-radius: 10px;
      padding: 20px;
      margin-top: 20px;
      color: white;}
      a {
    color: #f0d210; /* Link color */
    text-decoration: none; /* Remove underline */
  }
  .box h2, h3, h4 {
    font-weight: bold;
}
  a:hover {
    color: #f0d210; /* Hover color */
  }
  .highlight {
    background: linear-gradient(90deg, #f0d210, #fc5849, #f0d210);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: waveColor 30s infinite;
  }
  .all-catgories-section {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: white;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

h4 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 900;
    line-height: 1.2;
    color: var(--bs-gray-900);
}

h4 {
    font-size: 1.1rem;
}

a {
    color: #f0d210;
    text-decoration: none;
}

a:hover {
    color: #f8d80a;
    text-decoration: none;
}

img {
    vertical-align: middle;
  transition: background 0.3s ease;
}

.container-fluid {
    width: 100%;
    padding-right: var(--bs-gutter-x, 1rem);
    padding-left: var(--bs-gutter-x, 1rem);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {

    .container-sm,
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {

    .container-md,
    .container-sm,
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {

    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {

    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 1200px;
    }
}

@media (min-width: 1400px) {

    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 1400px;
    }
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.card {
    border: 0;
    border-radius: 0.75rem;
    background-color: var(--bs-gray-200);
    position: relative;
}

.card-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    grid-gap: 20px;
    grid-auto-rows: minmax(120px, auto);
    grid-auto-flow: dense;
}

.card-masonry .card {
    border: 0;
    border-radius: 1rem;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.card-masonry .card picture {
    position: relative;
}

.card-masonry .card picture img {
    position: relative;
    z-index: 1;
}

.card-masonry .card picture.lazyloaded:before {
    display: none;
}

.card-masonry .card picture:before {
    position: absolute;
    content: "";
    inset: 0;
    background: linear-gradient(-45deg, var(--bs-gray-200), var(--bs-body-bg));
    background-size: 400% 400%;
    animation: animatedBackground 1s linear infinite;
}

.card-masonry .card-collection {
    grid-column-end: span 2;
    grid-row-end: span 1;
}

.card-masonry .card-collection .card-collection-body {
    background-color: var(--bs-gray-200);
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.card-masonry .card-collection .card-img {
    flex: 0 0 auto;
    width: 50%;
    padding-right: 10px;
}

.card-masonry .card-collection .card-img img {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.card-masonry .card-collection .card-text {
    padding: 10px 30px 10px 10px;
    flex: 0 0 auto;
    width: 50%;
}

.card-masonry .card-collection .card-text h4 {
    text-transform: uppercase;
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: bold;
    color: #1C2526;
}

.fs-xs {
    font-size: 0.75rem;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.rounded-3 {
    border-radius: 0.75rem !important;
}

@keyframes animatedBackground {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Video player styles */
.card-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.card:hover .card-video-container {
    opacity: 1;
}

.card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card {
    position: relative;
    overflow: hidden;
}

.card:hover .card-img {
    opacity: 0;
}

/* Lazy load styles */
.card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}
/* image alt text hover */
.list-thumbnail {
  position: relative;
}

.tooltip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  text-align: center;
  max-width: 90%;
  z-index: 10;
  pointer-events: none;
}

.list-thumbnail:hover .tooltip {
  opacity: 100%;
  visibility: visible;
}
.para {
  text-align: center;
  /* Responsive font size */
  margin: 0 auto;
  max-width: 60%;
  color: white;
  background: #16213b;
  /* Prevents text from stretching too wide on large screens */
}
.mobileShow {display: none;}

/* Smartphone Portrait and Landscape */
@media only screen
  and (min-device-width : 320px)
  and (max-device-width : 480px){ 
    .mobileShow {display: inline;}
}
.mobileHide { display: inline; }

/* Smartphone Portrait and Landscape */
@media only screen
  and (min-device-width : 320px)
  and (max-device-width : 480px){
   .mobileHide { display: none;}
}