/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

* {
  box-sizing: border-box;
}

body {
  background: #f2f7ff;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 15px;
}

.container2 {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.site-header {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #00c3ff, #005fa3);
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-img {
  max-height: 60px;
  width: auto;
}

.category-box-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.custom-category-box {
  background: #e8faff;
  border: 2px solid #00c3ff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0, 195, 255, 0.1);
}

.custom-category-box .category-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #005fa3;
  margin-bottom: 15px;
}

.category-buttons {
  display: flex;
  justify-content: space-around;
  flex-wrap: nowrap;
  width: 100%;
}

.playcusBtnOption2 {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 10px;
  font-size: 0.75rem;
  white-space: nowrap;
  text-align: center;
  border-radius: 30px;
  background: linear-gradient(145deg, #005fa3, #002a4d);
  color: #fff;
  border: 2px solid #00c3ff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.card-box {
  width: calc(50% - 8px);
}

.card-content {
  background: #ffffffcc;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-box:hover .card-content {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.featured-image img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.featured-image img:hover {
  transform: scale(1.05);
}

.game-name p {
  font-size: 1rem;
  color: #333;
  font-weight: 600;
  text-align: center;
  margin: 10px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playcusBtnOption {
  background: linear-gradient(145deg, #005fa3, #002a4d);
  color: #fff;
  border: 2px solid #00c3ff;
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(0, 195, 255, 0.6), 0 5px 15px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
  animation: pulse 2s infinite;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.playcusBtnOption:hover {
  background: #007acc;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 195, 255, 0.9), 0 8px 20px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 195, 255, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(0, 195, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 195, 255, 0);
  }
}

.shimmer-effect {
  background: linear-gradient(to right, #ffffff 10%, #00c3ff 30%, #ffffff 50%);
  background-size: 200% auto;
  animation: shimmer 2s linear infinite;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
  color: #fff;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.more-games-wrapper {
  text-align: center;
  margin: 20px 0;
}

.playcusBtnSimple {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(145deg, #005fa3, #002a4d);
  border: 2px solid #00c3ff;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 195, 255, 0.6), 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.gsc-control-cse {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.gsc-search-button-v2 {
  background: linear-gradient(145deg, #005fa3, #002a4d) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 30px !important;
  margin-left: 8px !important;
  padding: 8px 16px !important;
  cursor: pointer;
}

.search-container {
  margin-top: 15px;
  margin-bottom: 15px;
  text-align: center;
}

.ads-center {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  width: 100%;
}

@media (max-width: 480px) {
  .card-box {
    width: calc(50% - 8px);
  }

  .category-buttons {
    gap: 10px;
  }
}
