* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hind Siliguri', 'Poppins', sans-serif;
    font-weight: bold;
    text-decoration: none;
}

body {
    background: url("../images/ponno.jpg") no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 67px;
}

header {
  background: red;
  padding: 20px;
  font-size: 26px;
  color: white;
  border-top: 3px solid black;
  border-bottom: 3px solid black;
  display: flex;
  align-items: center;   
  justify-content: center; 
  gap: 10px;  
}

.header-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  border: 2px solid black;
  object-fit: cover; 
}

 .span-all {
  color: gold; 
  font-weight: bold; 
}
marquee {
    background: yellow;
    border-bottom: 3px solid black;
    padding: 15px;
    font-weight: bold;
}

.game-section {
    margin: 20px;
    background: yellow;
    padding: 15px;
    border-radius: 50px;
    border: 0px solid black;
}

.game-section h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
    font-weight: bold;
    background: red;
    padding: 10px;
    border-radius: 48px;
    border: ppx solid black;
    margin: 10px 20px;
}



.game-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.game-card {
    background: white;
    border: 0px solid black;
    border-radius: 50px;
    width: 130px;    
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    overflow: hidden;
}

.game-card:hover {
    transform: scale(1.05);
}

.card-image {
    height: 120px;
    background-size: cover;
    background-position: center;
}



.card-text {
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    padding: 10px;
    color: black;
    border-top: 3px solid black;
    background: #f5f5f5;
}

.review-btn{
  margin-top:10px;
  background:#ff9800;
  color:#fff;
  border:none;
  padding:10px;
  border-radius:12px;
  cursor:pointer;
  font-weight:600;
}

.review-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 10px;
}

.review-content{
  background: #fff;
  padding: 25px;
  border-radius: 40px;
  max-width: 420px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,.35);
  animation: popupScale .35s ease;
  max-height: 90vh;
  overflow-y: auto;
}

/* Animation FIX */
@keyframes popupScale{
  from{
    transform: scale(.8);
    opacity: 0;
  }
  to{
    transform: scale(1);
    opacity: 1;
  }
}

/* Close button */
#closeReview{
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 30px;
  cursor: pointer;
  color: #777;
}
#closeReview:hover{
  color: red;
}

.review-item{
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  background: #f5f5f5;
  padding: 12px;
  border-radius: 18px;
  align-items: flex-start;
}

.review-item i{
  font-size: 26px;
  color: #888;
}

.review-text{
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.review-content textarea{
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  background: #fff7e6;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  resize: none;
  outline: none;
}

/* Submit button */
#submitReview{
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: #28a745;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: .25s;
}
#submitReview:hover{
  background: #218838;
}


.product-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: auto;
    padding: 10px;
}

.popup-content {
    background: #fff;
    padding: 25px;
    border-radius: 47px;
    margin: 20px;
    border: 0px solid black;
    max-width: 400px;
    position: relative;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: popupScale 0.3s ease;
    overflow-y: auto;
    max-height: 90vh;
}

.close-popup, #closeReview {
    position: absolute;
    top: 7px;
    right: 15px;
    font-size: 34px;
    font-weight: bold;
    cursor: pointer;
    color: red;
}

.popup-content input,
.popup-content textarea {
    width: 100%;
    padding: 10px;
    margin: 6px 0;
    background: wheat;
    border: 0px solid black;
    border-radius: 35px;
    font-size: 14px;
}

@keyframes popupScale {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

footer {
  background: red;
  padding: 40px 20px;
  color: white;
  font-weight: bold;
  border-top: 3px solid black;
  
  position: relative;
  z-index: 100;  
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left {
  display: inline-block; 
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  border: 2px solid black;
  object-fit: cover; 
  vertical-align: middle;
}

.footer-left h2 {
  font-size: 30px;
  margin: 0 0 0 10px; 
  display: inline-block;
  vertical-align: middle;   
  line-height: 60px; 
  
}

.footer-left p {
  font-size: 18px;
  color: #f5f5f5;
}

.Xrabon {
  color: gold;
  text-decoration: ;
  font-size: 24px;  
} 

.footer-left p i {
  color: yellow;
  border: 3px solid black;
  border-radius: 50%;
  font-size: 26px;
}

.footer-left h2 i {
  color: aqua;
  font-size: 56px;
}

.footer-right a {
  color: white;
  font-size: 22px;
  margin-left: 20px;
  transition: transform 0.3s, color 0.3s;
}

.footer-right a:hover {
  color: gold;
  transform: scale(1.3);
}

.footer-right i {
  background: white;
  padding: 10px;
  color: black;
  border-radius: 12px;
  border: 2px solid black;
}

@media(max-width:768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .footer-right a {
    margin-left: 10px;
    margin-right: 10px;
  }
}
.navbar {
  width: 100%;
  background: rgba(139, 69, 19, 0.85); 
  backdrop-filter: blur(4px); 
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  border-top: 3px solid black;
  box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.2);
  
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
}

.nav-item {
  color: #bdc3c7;
  text-align: center;
  font-size: 12px;
  transition: 0.2s;
}

.nav-item i {
  font-size: 22px;
  display: block;
  margin-bottom: 4px;
}

.nav-item.active,
.nav-item:hover {
  color: #f39c12;
}


/* এই কোডের কোনো অংশ হুবহু বা দেখতে প্রায় এমন তৈরি করলে তা নকল হিসেবে গণ্য হবে। একমাত্র Xrabon Programmer ছাড়া কেউই এইরম নকশা বা ডিজাইন তৈরি করতে পারবে না! */


#cart-count {
    display: none;
    background: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    z-index: 10;
}

.nav-item {
    position: relative;
}

.add-to-cart, .review-btn, .out-of-stock {
  margin-top: 10px;
  padding: 12px;
  background: red;
  color: white;
  border: 0px solid black;
  font-weight: bold;
  border-radius: 38px;
  cursor: pointer;
  transition: 0.3s;
}
.add-to-cart:hover, .review-btn:hover {
  background: aqua;
  color: black;
}

.search-box {
    position: relative;
    max-width: 400px;
    margin: 20px auto;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 50px;
    border: 3px solid black;
    outline: none;
    font-size: 15px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
    text-align: center;
    box-sizing: border-box;
}

.search-box input:focus {
    background: rgba(255,255,255,0.25);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transform: scale(1.02);
}

.search-input::placeholder {
    text-align: center;
    color: #666;
    font-style: italic;
}
.suggestions {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    max-height: 250px;
    overflow-y: auto;
    animation: fadeIn 0.25s ease-in-out;
    z-index: 999;
}

.suggestion-item {
    padding: 12px 18px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: rgba(255, 87, 34, 0.1);
    transform: translateX(5px);
}

.game-card.highlight {
    animation: highlightCard 0.8s ease-in-out;
}

@keyframes highlightCard {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(255,87,34,0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 15px rgba(255,87,34,0.7); }
    100% { transform: scale(1); box-shadow: 0 0 0 rgba(255,87,34,0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.fake-input {
    width: 100%;
    padding: 10px;
    margin: 6px 0;
    border: 0px solid black;
    border-radius: 48px;
    font-size: 14px;
    background: wheat;
    font-weight: bold;
    text-align: left;
}
.fake-input del {
    color: red;
    font-weight: bold;
}
.fake-input .price-discount {
    color: green;
    font-weight: bold;
    margin-left: 8px;
}
.add-to-cart {
    margin-top: 10px;
    padding: 12px 18px;
    background: red;
    color: white;
    border: 0px solid black;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.add-to-cart:hover { background: aqua; color: black; }
.game-card.highlight { animation: highlightCard 0.8s ease-in-out; }
@keyframes highlightCard {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(255,87,34,0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 15px rgba(255,87,34,0.7); }
    100% { transform: scale(1); box-shadow: 0 0 0 rgba(255,87,34,0); }
}
.navbar a { text-decoration: none; }

.contact-menu {
  position: fixed;
  bottom: 80px; 
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column-reverse; 
  align-items: center;
}

.contact-btn {
  width: 70px;
  height: 70px;
  background: #e74c3c;
  color: white;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 3px solid black;
  transition: transform 0.3s, background 0.3s;
}

.contact-btn:hover {
  transform: scale(1.1);
  background: #f1c40f;
  color: black;
}

.contact-options {
  display: flex;
  flex-direction: column-reverse; 
  gap: 12px;
  margin-bottom: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s;
}

.contact-menu.active .contact-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.contact-options .option {
  width: 50px;
  height: 50px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 20px;
  border: 2px solid black;
  transition: transform 0.3s, background 0.3s;
}

.contact-options .option:hover {
  background: #f1c40f;
  color: black;
  transform: scale(1.2);
}

.card-image {
  background-size: cover;
  background-position: center;
}

.popup-menu {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  border: 0px solid black;
  padding: 20px 30px;
  display: none;
  flex-direction: column;
  gap: 15px;
  z-index: 10001;
  min-width: 200px;
  text-align: center;
  animation: fadeInScale 0.3s ease forwards;
}
@keyframes fadeInScale {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.popup-menu button {
  border: none;
  background-color: #f0f0f0;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup-menu button.active {
  background-color: #007bff;
  color: #fff;
}
.popup-menu button:hover {
  background-color: #0056b3;
  color: #fff;
}
.flag-icon {
  width: 20px;
  height: 14px;
  margin-right: 8px;
  vertical-align: middle;
}
.custom-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  overflow-y: auto;
}

.modal-content {
  background: #fff;
  border: 4px solid black;
  width: 100%;
  max-width: 400px;
  text-align: center;
  padding: 30px;
  margin: 20px;
  border-radius: 37px;
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  overflow-y: auto;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 4px;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  color: #e74c3c;
  transition: all 0.4s ease;
}
.close-btn:hover {
  color: #f1c40f;
  transform: rotate(90deg) scale(1.5);
}
.modal-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 4px solid black;
  border-radius: 15px;
  margin-bottom: 15px;
}
#modal-title {
  font-size: 22px;
  background: yellow;
  padding: 5px;
  border-radius: 24px;
  border: 4px solid black;
  color: #2c3e50;
  margin-bottom: 12px;
}
.modal-text {
  flex: 1;  
  font-size: 15px;
  color: #444;
  background: wheat;
  padding: 8px;
  border-radius: 24px;
  border: 4px solid black;
  padding-right: 10px;
  text-align: justify;
  margin-bottom: 15px;
}

.custom-modal {
  display: none;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  width: 120px;
  margin-bottom: 20px;
  border-radius: 27px;
  border: 3px solid black;
  animation: logoBounce 2s ease infinite;
}

@keyframes logoBounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.loader {
  width: 60px;
  height: 60px;
  border: 6px solid #f0f0f0;
  border-top: 6px solid #e63946;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.typing-text {
  font-size: 28px;
  font-weight: 600;
  color: #1d3557;
  white-space: nowrap;
  display: inline-block;
  min-height: 40px;
  border: 3px solid black;
  border-radius: 28px;
  padding: 15px;
  margin-top: 20px;
}

.cursor {
  display: inline-block;
  font-weight: 600;
  color: #1d3557;
  font-size: 34px;
  margin-left: 2px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%,50%,100% { opacity: 1; }
  25%,75% { opacity: 0; }
}


.game-card {
    position: relative; 
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
}

.discount-badge {
    position: absolute;
    top: 5px;
    left: 10px;
    background: #e74c3c;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    border-radius: 12px;
    border: 0px solid black;
    padding: 6px 8px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    pointer-events: none;
    text-align: center;
    line-height: 1;
    text-transform: uppercase;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.game-card:hover .discount-badge {
    transform: scale(1.1);
    opacity: 0.95;
}

.product-popup img {
    width: 100%;           
    max-height: 200px;     
    object-fit: contain;   
    border-radius: 58px;   
    border: 0px solid black;
    margin-top: 10px;
    margin-bottom: 15px;  
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); 
}

 
