.a_header_container {
  padding: 0px 12% !important;
}

.a_image_container {
  background-color: #f3f8fb;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 180px;
}

.a_image_container:hover .a_image_slider {
  transform: translateX(-50%);
}

.a_countdown_container {
  border: 1px solid var(--blacktext);
  /* padding: 2px 10px; */
  padding: 2px 4px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 991px) {
  .a_header_container {
    padding: 0px 8% !important;
  }
}

@media (max-width: 768px) {
  .a_header_container {
    padding: 0px 0% !important;
  }
}

/* --- Game Card Styles from card.css --- */
body {
  font-family: "Poppins", sans-serif;
}
.game-card {
  width: 280px;
  height: 455px;
  /* border-radius: 10px; */
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
  clip-path: polygon(
    26px 0%,
    100% 0%,
    100% calc(100% - 26px),
    calc(100% - 26px) 100%,
    0% 100%,
    0% 26px
  );
}

.game-card:hover {
  transform: translateY(-5px);
}
.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgb(48, 48, 49), transparent);
  z-index: 1;
}
.card-actions {
  z-index: 2; /* Keep actions above the gradient */
}
.card-content {
  position: absolute;
  left: 0;
  bottom: 0px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: start;
  z-index: 3;
  padding: 16px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(0);
  opacity: 1;
}
.game-card:hover .card-content {
  transform: translateY(-45px); /* Move up on hover */
  opacity: 1;
}
.icons i {
  color: #000000 !important;
  font-size: 19px !important;
  background-color: #fff;
  padding: 6px;
  border-radius: 50%;
  height: 36px;
  width: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.icons i:hover {
  color: #fff;
  background-color: #636363;
  transition: 0.5s;
}
.card-content h3 {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
}
.card-actions {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: bottom 0.3s;
}
.card-actions .custom-cart-btn{
  text-wrap: nowrap;
  font-size: 15px !important;
}
.game-card:hover .card-actions {
  bottom: 0;
}
.custom-cart-btn {
  background: linear-gradient(
    135deg,
    #8a775a,
    #5e4d3a
  ); /* brown-golden gradient */
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  /* border-radius: 20px 0 20px 0; */
  clip-path: polygon(
    12px 0%,
    100% 0%,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0% 100%,
    0% 12px
  );

  box-shadow: 0 4px 15px rgba(138, 119, 90, 0.4); /* matched to #8a775a */
  transition: all 0.3s ease;
}

.custom-cart-btn:hover {
  background: linear-gradient(
    135deg,
    #5e4d3a,
    #8a775a
  ); /* reversed for hover */
  box-shadow: 0 6px 20px rgba(138, 119, 90, 0.6);
  transform: scale(1.05);
}

@media (max-width: 576px) {
  .game-card {
    width: 98vw;
    height: auto;
    min-width: unset;
    max-width: 100vw;
    margin: 0 auto 16px auto;
    clip-path: none;
    border-radius: 12px;
  }
  .card-img-top {
    height: 180px;
    border-radius: 12px 12px 0 0;
  }
  .card-content {
    padding: 10px;
  }
  .card-content h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .icons i {
    font-size: 14px;
    height: 28px;
    width: 28px;
    padding: 4px;
  }
  .card-actions {
    padding: 6px 10px;
    gap: 8px;
  }
  .custom-cart-btn {
    padding: 7px 14px;
    font-size: 12px;
  }
}

/* @media (max-width: 1024px) {
  #gridContainer > .col-lg-4,
  #gridContainer > .col-md-6,
  #gridContainer > .col-sm-6,
  #gridContainer > .col-12 {
    flex: 0 0 50%;
    max-width: 50%;
  }
} */
 
.btn_gem{
  background-color: #8a775a;
  border: 1px solid #8a775a;
  border-radius: 20px;
  color: #fff;
  padding: 5px 20px;
  text-decoration: none;
   
}

/* Modern Flat Pagination Style */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 32px 0 16px 0;
  list-style: none;
  padding: 0;
  background: none;
}

.pagination li {
  display: inline-block;
}

.pagination a,
.pagination span {
  display: inline-block;
  min-width: 30px;
  height: 40px;
  line-height: 25px !important;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #8a775a;
  background: transparent;
  border: 2px solid #8a775a;
  border-radius: 8px;
  margin: 0 2px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  box-sizing: border-box;
}

.pagination a:hover,
.pagination .active a,
.pagination .active span {
  background: #685641 !important;
  color: #fff;
  border-color: #685641 !important;
  transform: none;
}

.pagination .active a,
.pagination .active span {
  background: #685641 !important;
  color: #fff;
  border-color: #685641 !important;
  pointer-events: none;
}

.pagination .disabled a,
.pagination .disabled span {
  color: #685641;
  border-color: #685641;
  background: #23282e;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination .page-link i {
  font-size: 20px;
  vertical-align: middle;
}

@media (max-width: 576px) {
  .pagination a,
  .pagination span {
    min-width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 13px;
    border-radius: 6px;
  }
  .pagination .page-link i {
    font-size: 15px;
  }
}
@media screen and (max-width:576px) {
  #gridContainer > .col-lg-4,
  #gridContainer > .col-md-6,
  #gridContainer > .col-sm-6,
  #gridContainer > .col-12 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
}
@media only screen and (max-width: 425px) {
  .d_offcan_width {
    width: 76% !important;
  }
}

@media (max-width: 425px) {
  
  #gridContainer > .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .game-card {
    width: 98vw;
    min-width: unset;
    max-width: 100vw;
    margin: 0 auto 16px auto;
  }
}
.form-control:focus {
  border-color: transparent !important;
  box-shadow: none !important;
}
.tech-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  background-color: #fff;
  margin-right: 4px;
  vertical-align: middle;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.tech-icon-img {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  background-size: 18px 18px;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}


/* Chat css */

/* ==== General Reset ==== */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; }
 
/* ==== Floating Button ==== */
.chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #8a775a; /* Accent earthy gold/brown */
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 999;
  transition: background 0.3s;
}
.chat-toggle:hover { background: #7a694f; }
 
/* ==== Chatbox Container ==== */
.chatbox {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 450px;        /* Increased from 350px */
  height: 700px;       /* Increased from 450px */
  max-width: 90%;
  background: #1c1c1c;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
}
 
/* ==== Chatbox Header ==== */
.chatbox-header {
  background: #2a2a2a; /* Slightly lighter dark for header */
  padding: 15px;
  color: #f5f5f5;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbox-header span { cursor: pointer; }
 
/* ==== Chat Messages ==== */
.chatbox-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background: #141414; /* Deep dark for message area */
}
.message {
  margin: 8px 0;
  padding: 10px;
  border-radius: 8px;
  max-width: 80%;
  font-size: 14px;
}
.bot { background: #2e2e2e; color: #f3f3f3; }
.user { background: #8a775a; color: white; margin-left: auto; }
 
/* ==== Input Area ==== */
.chatbox-input {
  display: flex;
  border-top: 1px solid #444;
}
.chatbox-input input {
  flex: 1;
  padding: 12px;
  border: none;
  outline: none;
  font-size: 14px;
  background: #1c1c1c;
  color: white;
}
.chatbox-input button {
  background: #8a775a;
  border: none;
  color: white;
  padding: 0 15px;
  cursor: pointer;
  font-size: 16px;
}


.chatbox-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: #1c1c1c;
  border-top: 1px solid #333;
  justify-content: center;
}

.chatbox-suggestions button {
  background: #2e2e2e;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.3s;
}

.chatbox-suggestions button:hover {
  background: #444;
}


.chatbox-input button:hover { background: #7a694f; }
 
/* ==== Scrollbar ==== */
.chatbox-messages::-webkit-scrollbar { width: 6px; }
.chatbox-messages::-webkit-scrollbar-thumb { background: #555; border-radius: 3px; }
 
@media (max-width: 500px) {
  .chatbox { height: 70vh; }
}


