* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: Arial, sans-serif;
            background-color: #f7f7f7; /* Set background color */
        }
            .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 24px;
      background-color: #ffffff;
      border-bottom: 1px solid #eee;
      box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    }

    .logo img {
      width: 50px;
      height: 50px;
      object-fit: cover;
      border-radius: 12px;
    }

    .header-buttons {
      display: flex;
      gap: 12px;
    }

    .btn {
      font-size: 14px;
      padding: 10px 18px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      border: none;
    }

    .btn-sell {
      background: linear-gradient(to right, #ec0027, #c4001f);
      color: #fff;
      box-shadow: 0 2px 4px rgba(236, 0, 39, 0.3);
    }

    .btn-sell:hover {
      background: linear-gradient(to right, #c4001f, #a70019);
    }

    .btn-login {
      background-color: #fff;
      color: #ec0027;
      border: 2px solid #ec0027;
    }

    .btn-login:hover {
      background-color: #ec0027;
      color: white;
    }
        .slideshow-container {
            position: relative;
            width: 90%;
            max-width: 1000px;
            margin: 20px auto;
            border-radius: 10px;
            overflow: hidden;
        }
        .slideshow-container img {
            width: 100%;
            display: none;
        }
        .slideshow-container img.active {
            display: block;
        }
        .slides {
            display: none;
            width: 100%;
            height: 100%;
        }
        .active {
            display: block;
        }

        /* Title Above Box Containers */
        .title {
            text-align: center;
            font-size: 20px;
            margin: 10px 0 10px 0; /* Reduced margin to bring it closer to the boxes */
        }

        .container-row {
            display: flex;
            justify-content: space-between;
            padding: 5px;
            gap: 10px;
            flex-wrap: nowrap; /* Prevent wrapping of boxes into another row */
            overflow: hidden;
            justify-content: center;
        }
        .container-box {
            flex: 1 1 calc(33.333% - 10px); /* Each box will take up 1/3 of the row with some space between */
            text-align: center;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            max-width: 300px;
            transition: transform 0.3s ease-in-out; /* Add hover effect */
            text-decoration: none; /* Prevent link preview */
            padding: 15px 0; /* Reduced padding for top and bottom */
            margin: 0px; /* Added small margin for spacing between boxes */
        }
        .container-box:hover {
            transform: scale(1.05); /* Slightly scale the box on hover */
        }
        .container-box img {
            max-width: 60%; /* Smaller image size */
            height: auto;
            margin-bottom: 10px;
            border-radius: 8px;
        }
        .container-box h2 {
            margin-bottom: 10px;
            font-size: 16px;
            font-weight: normal; /* Set text to normal, no bold */
        }
        .container-box button {
            padding: 10px 20px;
            border: none;
            background-color: #007bff;
            color: white;
            font-size: 14px;
            border-radius: 50px;
            cursor: pointer;
        }
        .container-box button:hover {
            background-color: #0056b3;
        }

        /* Make sure the boxes are responsive */
        @media (max-width: 768px) {
            .container-box {
                flex: 1 1 calc(50% - 10px); /* Make two columns on tablets */
            }
            .container-box img {
                max-width: 60%;
            }
            .container-box h2 {
                font-size: 14px; /* Reduce font size on smaller screens */
            }
            .container-box button {
                font-size: 12px; /* Reduce button font size */
            }
        }

        @media (max-width: 480px) {
            .container-box {
                flex: 1 1 100%; /* Full width on small screens */
            }
            .container-box img {
                max-width: 65%;
            }
            .container-box h2 {
                font-size: 12px; /* Smaller font size for heading */
            }
            .container-box button {
                font-size: 12px; /* Smaller button font size */
                padding: 8px 15px; /* Adjust button padding for small screens */
            }
        }

        /* Floating Buttons */
        .floating-button {
            background-color: #0088cc; /* Default to Telegram color */
            color: white;
            border: none;
            padding: 10px 20px; /* Increased padding for larger button size */
            font-size: 14px; /* Increased font size */
            font-weight: bold;
            border-radius: 50px; /* Tighter radius */
            display: inline-flex;
            align-items: center;
            text-decoration: none;
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
            transition: background-color 0.3s ease;
            margin-bottom: 10px; /* Space between the buttons */
        }

        /* Icon inside the button */
        .floating-button img {
            width: 25px; /* Increased icon size */
            height: 25px;
            margin-right: 8px; /* More space between icon and text */
        }

        /* Hover effect for both buttons */
        .floating-button:hover {
            background-color: #006ca8; /* Hover effect for Telegram */
        }

        /* Styles for the Facebook button */
        #facebook-contact-button {
            background-color: #4267B2; /* Facebook blue */
        }

        /* Hover effect for Facebook button */
        #facebook-contact-button:hover {
            background-color: #365899;
        }

        /* Adjust Telegram button position */
        #telegram-contact-button {
            
        }

        /* Footer Styles */
        .footer {
            background-color: #333;
            color: white;
            text-align: center;
            padding: 20px;
            margin-top: 30px;
        }
        .footer a {
            color: #00ccff;
            text-decoration: none;
        }
        .footer a:hover {
            text-decoration: underline;
        }
        .footer .social-media {
            margin: 10px 0;
        }
        .footer .social-media a {
            margin: 0 10px;
        }
        .container-box h2 {
            color: black; /* Set text color to black */
        }
/* Marketplace Container mimicking container-row */
.marketplace-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    overflow-y: auto;
}
.category-container {
  /* starts hidden, but JS controls display */
  display: none;
}
/* Product Card styling */
.product-card {
    flex: 1 1 calc(33.333% - 10px);
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s ease;
    max-width: 300px;
    position: relative;
}
.product-card .product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    text-indent: -9999px;
    background: transparent;
}
.product-card:hover {
    transform: scale(1.05);
}

/* Product Image fills box width */
.product-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0;
}

/* Text styling */
.product-title {
    font-size: 16px;
    margin: 10px 0 5px;
    color: #333;
}
.seller-info {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  justify-content: center; /* or center if you want */
  width: auto; /* ensure no forced full width */
}

.seller-profile {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}


.seller-name {
  font-size: 14px;
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
  line-height: 20px; /* same as image height for vertical center */
  display: inline-block;
  vertical-align: middle;
}

.verified-icon {
  width: 10px !important;
  height: 10px !important;
  object-fit: contain !important;
  flex-shrink: 0;
  vertical-align: middle;
}

.price {
    font-size: 16px;
    font-weight: bold;
    color: #ec0027; /* New red color */
    margin-bottom: 10px;
}

/* Button styling */
.details-button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  font-size: 14px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin: 10px auto;
  display: inline-block;
}

.details-button:hover {
  background-color: #0056b3;
}

/* Image wrapper with fixed aspect ratio (square) */
.product-card .image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio (square) */
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

/* Make the image fill the wrapper and crop excess */
.product-card .image-wrapper img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    display: block;
}


.game-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.5); /* black with 50% opacity */
    color: white;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0 0 8px 8px;
    text-align: center;
    pointer-events: none;
    opacity: 1 !important; /* always visible */
    transition: none;
}

/* Show label on hover of product card */
.product-card:hover .game-label {
    opacity: 1;
}

.game-label.mlbb {
    background: rgba(0, 0, 0, 0.5); /* 60% opacity */
}
.game-label.freefire {
    background: rgba(0, 0, 0, 0.5);
}
.game-label.pubg {
    background: rgba(0, 0, 0, 0.5);
    color: #333;
}

/* Responsive for tablets */
@media (max-width: 768px) {
    .product-card {
        flex: 1 1 calc(50% - 10px);
    }
    .product-title {
        font-size: 14px;
    }
    .details-button {
        font-size: 12px;
        padding: 8px 15px;
    }
}

/* Responsive for very small devices */
@media (max-width: 480px) {
    .product-card {
        flex: 1 1 calc(50% - 10px);
    }
}
@media (hover: none) and (pointer: coarse) {
    /* Devices that don’t support hover, like touch screens */
    .game-label {
        opacity: 1 !important;
        pointer-events: auto; /* optional, if you want label clickable */
    }
}
.category-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 10px;
  background: none; /* remove background */
}

.category-box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px;
  width: 70px;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-box:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.icon-wrapper {
  margin-bottom: 5px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Text styling */
.category-box span {
  color: #333;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.3px;
}

/* Recolor Accounts icon to red */
.category-box.accounts img {
    filter: brightness(0) saturate(100%) invert(19%) sepia(87%) saturate(6041%) hue-rotate(351deg) brightness(97%) contrast(117%);
}
.category-box.active-category {
    border: 2px solid #ec0027;
    background-color: #fce6e9;
}

/* Styling for the Social Media Icons */
    .social-media a {
        display: inline-block;
        margin-right: 15px;
    }

    .social-icon {
        width: 30px;  /* Increased size */
        height: 30px;
        border-radius: 50%; /* Circular shape */
        object-fit: cover; /* Ensures the icon fits inside the circle */
        transition: transform 0.3s ease;
    }

    .social-icon:hover {
        transform: scale(1.1); /* Slightly enlarge on hover */
    }
.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}