* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
  background-color: #f5f5f5;
  color: #333;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.5;
  padding-bottom: 60px;
}
a{
    text-decoration: none;
    color: #ff6b35;
    font-weight: 700;
    
}
/* Ã©Â¡Â¶Ã©Æ’Â¨Ã¥Â¯Â¼Ã¨Ë†Âª */
.header {
  position: sticky;
  top: 0;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  z-index: 100;
}

.nav-tabs {
  display: flex;
  gap: 20px;
}

.nav-tab {
  background: none;
  border: none;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  padding: 4px 0;
  position: relative;
  transition: color 0.3s;
  font-weight: 700;
}

.nav-tab.active {
  color: #333;
  font-weight: 600;
    font-size: 20px;
    margin-top: -5px;
}

/* Added search bar styles instead of search button */
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #6ec6ff 0%, #4db6ff 100%);
  border-radius: 20px;
  padding: 8px 16px;
  /*min-width: 140px;*/
}

.search-bar svg {
  color: white;
  flex-shrink: 0;
}

.search-bar input {
  background: none;
  border: none;
  outline: none;
  color: white;
  font-size: 13px;
  width: 100%;
  min-width: 0;
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.85);
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* Ã¤Â¸Â»Ã¨Â¦ÂÃ¥â€ â€¦Ã¥Â®Â¹ */
.main-content {
  padding: 12px 16px;
}

/* Ã©Â¡Â¶Ã©Æ’Â¨Ã¦Â¨ÂªÃ¥Â¹â€¦ - Ã¦â€¹Â³Ã©Â­â€šÃ¨Â§â€°Ã©â€ â€™ */
.hero-banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  height: 200px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d3748 50%, #1a1a2e 100%);
}

/* Added carousel container and track for smooth sliding */
.carousel-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d3748 50%, #1a1a2e 100%);
  flex-shrink: 0;
}

.carousel-slide:nth-child(1) {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d3748 50%, #1a1a2e 100%);
}

.carousel-slide:nth-child(2) {
  background: linear-gradient(135deg, #2c1a4d 0%, #3d2b5f 50%, #2c1a4d 100%);
}

.carousel-slide:nth-child(3) {
  background: linear-gradient(135deg, #1a2e3d 0%, #2b4558 50%, #1a2e3d 100%);
}

.banner-content-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 2;
}

.banner-title {
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}

.banner-info {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  margin-bottom: 10px;
}

.banner-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge.discount {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8552 100%);
  color: white;
}

.badge.recharge {
  background: white;
  color: #4a90e2;
  border: 1px solid #4a90e2;
  width: 28%;
  overflow: hidden;
}

.badge.draw {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.banner-pagination {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s;
  cursor: pointer;
}

.dot.active {
  width: 20px;
  border-radius: 3px;
  background: white;
}

/* Ã¥Â¿Â«Ã¦ÂÂ·Ã¥â€¦Â¥Ã¥ÂÂ£ */
.quick-access {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  padding: 4px 0;
  background: #fff;
  border-radius: 9px;
  padding: 10px 0;
}

.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.quick-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quick-icon.blue {
  background: linear-gradient(135deg, #4a90e2 0%, #5fa3f5 100%);
}

.quick-icon.green {
  background: linear-gradient(135deg, #66bb6a 0%, #81c784 100%);
}

.quick-icon.red {
  background: linear-gradient(135deg, #ff5252 0%, #ff6b6b 100%);
}

.quick-icon.purple {
  background: linear-gradient(135deg, #7c4dff 0%, #9575cd 100%);
}

.new-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ff4757;
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(255, 71, 87, 0.3);
}

.quick-item span {
  font-size: 12px;
  color: #666;
  text-align: center;
}

/* Ã¥Å’ÂºÃ¥Ââ€”Ã¦Â â€¡Ã©Â¢Ëœ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  margin-top: 8px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 700;
  color: #222;
}

.title-icon-badge {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8552 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subtitle {
  font-size: 13px;
  color: #999;
  font-weight: 400;
  margin-left: 4px;
}

.section-link {
  font-size: 13px;
  color: #4a90e2;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.section-link.red {
  color: #ff4757;
}

/* Ã¦Â¸Â¸Ã¦Ë†ÂÃ¥ÂÂ¡Ã§â€°â€¡ */
.game-card {
  background: white;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  position: relative;
}

.game-card.featured {
  background: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%);
  border: 1px solid #ffe5d9;
}

.game-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ff4757;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  z-index: 2;
}

.game-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.game-icon.small {
  width: 70px;
  height: 70px;
  border-radius: 14px;
}

.game-info {
  flex: 1;
  min-width: 0;
}

.game-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #222;
}

.game-meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 6px;
}

.game-stats {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #666;
}

.game-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 500;
}

.tag.discount {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8552 100%);
  color: white;
}

.tag.recharge {
  background: #e3f2fd;
  color: #2196f3;
  border: 1px solid #bbdefb;
}

.tag.draw {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #e0e0e0;
}

.game-desc {
  font-size: 12px;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
}

.trial-btn-small {
  background: #4caf50;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  flex-shrink: 0;
}

.trial-btn-small:active {
  transform: scale(0.95);
}

.download-btn-small {
  background: white;
  color: #ff6b35;
  border: 1px solid #ff6b35;
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  flex-shrink: 0;
}

.download-btn-small:active {
  background: #fff5f0;
}

/* Ã¦Â¸Â¸Ã¦Ë†ÂÃ¥Ë†â€”Ã¨Â¡Â¨ */
.game-list {
  margin-bottom: 20px;
}

/* Ã¥â€¦Â¨Ã§Â«â„¢Ã¦Å½Â¨Ã¨ÂÂÃ§Â½â€˜Ã¦Â Â¼ */
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.recommend-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.recommend-item img {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.recommend-item span {
  font-size: 12px;
  color: #666;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}

/* Ã§â€°Â¹Ã¨â€°Â²Ã¦Â¨ÂªÃ¥Â¹â€¦ */
.feature-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.feature-banner {
  border-radius: 12px;
  padding: 16px;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 110px;
  cursor: pointer;
  transition: transform 0.3s;
}

.feature-banner:active {
  transform: scale(0.98);
}

.feature-banner.blue {
  background: linear-gradient(135deg, #4a90e2 0%, #5fa3f5 100%);
}

.feature-banner.purple {
  background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 100%);
}

.banner-icon-circle {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.feature-banner h3 {
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: 600;
}

.feature-banner p {
  font-size: 12px;
  opacity: 0.9;
}

.banner-mascot {
  position: absolute;
  bottom: -10px;
  right: 12px;
  width: 60px;
  height: 60px;
}

.mascot-head {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  position: absolute;
  bottom: 10px;
  right: 8px;
}

.mascot-ears {
  width: 20px;
  height: 25px;
  background: white;
  border-radius: 10px 10px 0 0;
  position: absolute;
  top: 0;
  right: 15px;
}

.mascot-ears::after {
  content: "";
  width: 20px;
  height: 25px;
  background: white;
  border-radius: 10px 10px 0 0;
  position: absolute;
  left: 20px;
}

/* Ã¤Â¿Æ’Ã©â€â‚¬Ã¦Â¨ÂªÃ¥Â¹â€¦ */
.promo-banner {
  background: linear-gradient(94deg, #fff, #f9fef4 20%, #fff 60%);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.promo-icon {
  font-size: 18px;
}

.promo-text {
  font-weight: 700;
  color: #ff4757;
  font-size: 14px;
}

.promo-desc {
  font-size: 12px;
  color: #666;
  flex: 1;
}

/* Ã¥Ë†â€ Ã§Â±Â»Ã¦Â â€¡Ã§Â­Â¾ */
.category-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  background: white;
  border: none;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  white-space: nowrap;
  padding: 7px 16px;
  border-radius: 16px;
  transition: all 0.3s;
  font-weight: 500;
}

.category-tab.active {
  background: #ff4757;
  color: white;
  font-weight: 600;
}

/* Added new category tabs styles matching the reference design */
.category-tabs-new {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.category-tab-new {
  flex: 1;
  background: none;
  border: none;
  font-size: 15px;
  color: #999;
  cursor: pointer;
  padding: 12px 0px;
  position: relative;
  transition: all 0.3s;
  font-weight: 600;
  text-align: center;
}

.category-tab-new.active {
    color: #ff4757;
    font-weight: 800;
}

.category-tab-new.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #ff4757;
  border-radius: 3px 3px 0 0;
}

/* Ã¦Å½Â¨Ã¨ÂÂÃ¥Ë†â€”Ã¨Â¡Â¨ */
.recommend-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recommend-card {
  background: white;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.recommend-icon {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.recommend-info {
  flex: 1;
  min-width: 0;
}

.recommend-info h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommend-meta {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: #999;
}

.hot-badge {
  background: #ff4757;
  color: white;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}

.downloads {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
}

.download-btn {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8552 100%);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.download-btn:active {
  transform: scale(0.95);
}

/* Ã¥Âºâ€¢Ã©Æ’Â¨Ã¥Â¯Â¼Ã¨Ë†ÂªÃ¦Â Â */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 480px;
  width: 100%;
  background: white;
  display: flex;
  justify-content: space-around;
  padding: 8px 0 8px;
  border-top: 1px solid #eee;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 0px 12px;
  transition: color 0.3s;
  flex: 1;
}

.nav-item.active {
  color: #4a90e2;
}

.nav-item span {
  font-size: 11px;
  font-weight: 600;
}

/* Ã¥â€œÂÃ¥Âºâ€Ã¥Â¼ÂÃ¨Â°Æ’Ã¦â€¢Â´ */
@media (max-width: 375px) {
  .main-content {
    padding: 12px;
  }

  .game-icon {
    width: 70px;
    height: 70px;
  }

  .recommend-grid {
    gap: 10px;
  }

  .recommend-item img {
    width: 60px;
    height: 60px;
  }
}

/* Ã§Â²Â¾Ã¥â€œÂÃ¦Å½Â¨Ã¨ÂÂÃ¥Å’Âº */
.featured-section {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
}

.featured-header-banner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0px;
  padding: 12px 20px;
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
  border-radius: 0 50px 50px 0;
  margin-left: 0px;
  padding-left: 32px;
  min-height: 48px;
}

.featured-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-icon-megaphone {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.featured-title-text {
  font-size: 20px;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.featured-link {
  font-size: 14px;
  color: #4a90e2;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-weight: 500;
  transition: opacity 0.3s;
}

.featured-link:hover {
  opacity: 0.8;
}

.title-icon-megaphone {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-link-blue {
  font-size: 13px;
  color: #4a90e2;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.featured-game-card {
  background: white;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.featured-game-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  margin-left:10px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.featured-game-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.featured-game-title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}

.featured-game-meta {
  font-size: 12px;
  color: #ff9800;
}

.featured-game-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.featured-badge {
  font-size: 9px;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.featured-badge.discount {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8552 100%);
  color: white;
}

.featured-badge.recharge {
  background: #e3f2fd;
  color: #2196f3;
  border: 1px solid #bbdefb;
  width: 100px;
  overflow: hidden;
  display: inline-block;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.featured-badge.draw {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #e0e0e0;
}

/* Ã§Â²Â¾Ã©â‚¬â€°Ã¦Â¸Â¸Ã¦Ë†Â Games */
.selected-games-section {
  margin-bottom: 20px;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
}

.section-link-red {
  font-size: 13px;
  color: #ff4757;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.selected-game-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.selected-game-item {
    border: 1px solid #ffe85a;
    background: linear-gradient(94deg, #ffe88b, #fdf2d3 20%, #fff 60%);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.selected-game-icon {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.selected-game-info {
  flex: 1;
  min-width: 0;
}

.selected-game-title {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin: 0 0 4px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}

.selected-game-desc {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.star-rating {
  font-size: 11px;
  color: #ff9800;
}

.game-intro {
  font-size: 12px;
  color: #999;
  line-height: 1.4;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.trial-btn {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  flex-shrink: 0;
}

.trial-btn:active {
  transform: scale(0.95);
}

/* Ã¥â€¦Â¨Ã§Â«â„¢Ã¦Å½Â¨Ã¨ÂÂ */
.all-recommend-section {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
}

.all-recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.all-recommend-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.all-recommend-item img {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.all-recommend-item span {
  font-size: 12px;
  color: #666;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}

/* Added new recommend card styles matching the reference design */
.recommend-card-new {
 border: 1px solid #ffe85a;
    background: linear-gradient(94deg, #ffe88b, #fdf2d3 20%, #fff 60%);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  margin-bottom: 12px;
  width: 90%;
  margin: 10px auto;
}

.recommend-icon-new {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.recommend-info-new {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recommend-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.recommend-title-new {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommend-badge-gm {
  background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.recommend-category {
  font-size: 12px;
  color: #fff;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8552 100%);
  width: 110px;
  text-align: center;
  border: 1px solid #ff6b35;
}
.recommend-category span{
    background: #fff;
    display: inline-block;
    color: #ff6b35;
    padding: 0 5px;
    width: 67%;
    float: right;
}

/*.recommend-tag-cyan {*/
/*  display: inline-block;*/
/*  background: #e0f7fa;*/
/*  color: #00bcd4;*/
/*  border: 1px solid #b2ebf2;*/
/*  padding: 4px 10px;*/
/*  border-radius: 12px;*/
/*  font-size: 11px;*/
/*  font-weight: 500;*/
/*  align-self: flex-start;*/
/*  text-overflow: ellipsis;*/
/*  display: -webkit-box;*/
/*  -webkit-line-clamp: 1;*/
/*  -webkit-box-orient: vertical;*/
/*  overflow: hidden;*/
/*}*/
.recommend-tag-cyan {
  /* display: inline-block; */
  /* background: #e0f7fa; */
  color: #999;
  /* border: 1px solid #b2ebf2; */
  /* padding: 4px 10px; */
  border-radius: 0px;
  font-size: 11px;
  font-weight: 400;
  align-self: flex-start;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.box{
    background: #fff;
    border-radius: 10px;
}