/* ปรับสีชื่อเกมให้เด่น */
.limit-title {
  color: #000; /* สีเหลืองทอง ดูเด่นบนพื้นเข้ม */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 3em;
  line-height: 1.5em;
  font-weight: bold;
}

/* ปรับราคาสินค้าให้เด่นขึ้น */
.text-main strong {
  color: #000; /* เขียวสด */
  font-weight: bold;
}

/* ปรับหมวดหมู่ให้มีความต่าง */
.text-main span {
  color: #03a9f4; /* ฟ้าอ่อน */
  font-weight: 500;
  font-size: 0.95rem;
}

.col-md-3 {
  margin-bottom: 1.5rem; /* หรือมากกว่านี้ เช่น 2rem */
}


/* ราคา */
.game-price {
  color: #00e676; /* เขียวสด */
  font-weight: bold;
}

/* หมวดหมู่ */
.game-category {
  color: #03a9f4; /* ฟ้า */
  font-size: 0.9rem;
  font-weight: 500;
}

.custom-text {
  color: #000 !important;
}



    .shops {
        padding: 20px;
        border-radius: 1vh;
    }

    .shops-body {
        position: relative;
        color: #fff;
        font-weight: 600;
        height: 100%;
    }

    .shops-body>.shops-img {
        width: 100%;
        height: 100%;
        border-radius: 1vh;
        transition: all .5s ease;
    }

    .shops-body>.shops-img:hover {
        transform: scale(1.035);
    }

    .shops-body>.shops-text-center {
        position: absolute;
        top: 80%;
        left: 20%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: all .5s ease;
    }

    .shops-body:hover>.shops-text-center {
        left: 50%;
        opacity: 1;
        font-size: 30px;
        padding: 0 20px;
        border-radius: 2vh;
        background-color: var(--main);
    }
	.col-12.col-md-6.col-lg-3 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-body {
    flex: 1 1 auto;
    /* padding: 1rem 1rem; */
}



.img-fluid {
    object-fit: cover;
    width: 100%;
    height: 200px;
}

.bg-main-gra {
    background: linear-gradient(90deg, #bfbf32 0%, #cb1f1f 100%) !important;
    border: none !important;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #ffffffad;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    
    /* เพิ่มแสงเงา */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2), 0px 12px 24px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
    /* เพิ่มเอฟเฟกต์เมื่อ hover */
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.3), 0px 16px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}


.card2 {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #ffffff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2), 0px 12px 24px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

element.style {
    background-color: #dc3545;
}
[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}
.text-black {
    --bs-text-opacity: 1;
    color: rgb(255 255 255) !important;
}

 .card-body:hover {
        box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.6); /* แสงสีขาวเบาๆ */
        transition: box-shadow 0.3s ease-in-out; /* เพิ่มการเปลี่ยนแปลงช้าๆ */
    }
	
	
	
	/* สำหรับการจัดเรียงหลายช่อง */
.customer-cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* แสดง 4 ช่อง */
  gap: 1rem; /* ระยะห่างระหว่างช่อง */
  padding: 1rem;
  width: 100%;
  
}

/* รองรับการย่อขยาย */
@media (max-width: 1200px) {
  .customer-cards-container {
    grid-template-columns: repeat(3, 1fr); /* เมื่อขนาดหน้าจอเล็กลง ให้แสดง 3 ช่อง */
  }
}

@media (max-width: 992px) {
  .customer-cards-container {
    grid-template-columns: repeat(2, 1fr); /* เมื่อขนาดหน้าจอเล็กลงให้แสดง 2 ช่อง */
  }
}

@media (max-width: 576px) {
  .customer-cards-container {
    grid-template-columns: 1fr; /* เมื่อขนาดหน้าจอเป็นมือถือ แสดง 1 ช่อง */
  }
}

/* สไตล์สำหรับแต่ละกล่อง */
.customer-cards-container .rounded-lg {
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  background-color: #ffffff; /* พื้นหลังสีขาว */
}

.customer-cards-container .rounded-lg:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: scale(1.05); /* ขยายเล็กน้อยเมื่อเมาส์ชี้ */
}

/* ปรับปรุงสไตล์สำหรับส่วนของการแสดงข้อมูล */
.user-count {
  font-size: 2.5rem;
  font-weight: bold;
  color: #4a90e2;
  
}

.text-primary {
  color: #4a90e2;
}

.text-subtitle {
  font-size: 0.875rem;
  color: #666;
}



.ad-container {
    width: 500px;
    background: #2e1d1d;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
}

.ad-header {
    font-size: 18px;
    font-weight: bold;
}

.big-text {
    font-size: 40px;
    color: #32cd32;
    font-weight: bold;
}

.game-title {
    font-size: 20px;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}

.ad-description {
    font-size: 14px;
    margin: 10px 0;
}

.btn {
    background-color: #e57373;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover {
    background-color: #c62828;
}