@charset "UTF-8";
* {
  vertical-align: baseline;
}

html {
  font-family: "Inter", "Open Sans", Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #000000;
}

img {
  max-width: 100%;
  display: block;
  margin: 0;
}

a {
  text-decoration: none;
}

ul,
ol {
  margin-left: 16px;
}

#page-footer.modern-footer {
  background: #fff;
  text-align: left;
  box-shadow: none;
}

#page-footer.modern-footer .pf-menu li {
  margin: 0;
  padding: 0;
}

#page-footer.modern-footer .pf-menu li a {
  color: #4f638f;
  font-weight: 500;
  font-size: 14px;
}

#page-footer.modern-footer .pf-menu li a:hover {
  color: #2f69d9;
}

/* Search Suggestions Design */
#suggestions {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  max-height: 400px;
  overflow-y: auto;
}

#suggestions .suggestions-holder {
  padding: 8px 0;
}

#suggestions .suggestions-holder .s-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  margin: 2px 8px;
  border-radius: 8px;
  background: transparent;
}

#suggestions .suggestions-holder .s-item:hover,
#suggestions .suggestions-holder .s-item.active {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
  color: #3b82f6;
  border-left-color: #3b82f6;
}

#suggestions .suggestions-holder .s-item strong {
  color: #6366f1;
  font-weight: 600;
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#suggestions .suggestions-holder .s-item:hover strong,
#suggestions .suggestions-holder .s-item.active strong {
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#suggestions .suggestions-holder .s-item::before {
  content: "";
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin-right: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.3-4.3'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

#suggestions .suggestions-holder .s-item:hover::before,
#suggestions .suggestions-holder .s-item.active::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.3-4.3'%3E%3C/path%3E%3C/svg%3E");
}

/* Scrollbar for suggestions */
#suggestions::-webkit-scrollbar {
  width: 6px;
}

#suggestions::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

#suggestions::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #94a3b8 0%, #64748b 100%);
  border-radius: 3px;
}

#suggestions::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #64748b 0%, #475569 100%);
}

/* Mobile responsive */
@media (max-width: 640px) {
  #suggestions .suggestions-holder .s-item {
    padding: 10px 16px;
    font-size: 13px;
  }
  #suggestions .suggestions-holder .s-item::before {
    width: 16px;
    height: 16px;
    margin-right: 10px;
  }
}
/* Mobile menu */
@media (max-width: 1024px) {
  #menu-holder {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 0;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  #menu-holder.open {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateX(0);
  }
  #menu-holder .menu {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    width: 100%;
  }
  #menu-holder .menu li {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }
  #menu-holder .menu li:last-child {
    border-bottom: none;
  }
  #menu-holder .menu li a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s ease;
  }
  #menu-holder .menu li a:hover,
  #menu-holder .menu li a.active {
    background: linear-gradient(to right, #eff6ff, #f8fafc);
    color: #3b82f6;
    padding-left: 2rem;
  }
  #menu-holder .menu li a.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #3b82f6, #6366f1);
    border-radius: 0 4px 4px 0;
  }
  #menu-holder .nmi-menu-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 50%;
    transition: all 0.2s ease;
  }
  #menu-holder .nmi-menu-toggle:hover {
    background: #fee2e2;
  }
  #menu-holder .nmi-menu-toggle svg rect {
    fill: transparent;
  }
  #menu-holder .nmi-menu-toggle svg path {
    fill: #64748b;
  }
  #menu-holder .nmi-menu-toggle:hover svg path {
    fill: #ef4444;
  }
}
/* Mobile menu header */
.mobile-menu-header {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(to right, #f8fafc, #ffffff);
  }
  .mobile-menu-header .logo img {
    height: 32px;
  }
}
/* Search Overlay Mobile */
#search-holder {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

#search-holder.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#search-holder .search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(to right, #f8fafc, #ffffff);
  position: sticky;
  top: 0;
  z-index: 10;
}

#search-holder .search-content {
  padding: 1.5rem;
  max-width: 640px;
  margin: 0 auto;
}

#search-holder .form-search {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  padding: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

#search-holder .form-search:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 4px 20px -4px rgba(59, 130, 246, 0.3);
}

#search-holder .form-search .search-input {
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

#search-holder .form-search button[type=submit] {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: white;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
}

#search-holder .form-search button[type=submit]:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px -2px rgba(59, 130, 246, 0.5);
}

#search-holder .close-search {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 50%;
  color: #64748b;
  transition: all 0.2s ease;
}

#search-holder .close-search:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* Search suggestions dropdown */
#search-holder #suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
  margin-top: 0.5rem;
  max-height: 300px;
  overflow-y: auto;
  z-index: 20;
}

/* Search section titles */
#search-holder .textHomeGames,
#search-holder .list-top-search-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
}

/* Search list items */
#search-holder .list-search-apk,
#search-holder .list-top-search {
  display: grid;
  gap: 0.75rem;
}

/* Section spacing in search */
#search-holder .list-top-search {
  margin-bottom: 2rem;
}

@media (min-width: 480px) {
  #search-holder .list-search-apk {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  #search-holder .search-header {
    padding: 1.5rem;
  }
}
/* Modern Pagination Styling */
.pagination ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.pagination ul li {
  float: none;
  margin: 0;
}

.pagination ul li a,
.pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  color: #64748b;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination ul li a:hover {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  border-color: #3b82f6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -2px rgba(59, 130, 246, 0.4);
}

.pagination ul li.active a,
.pagination ul li.active span {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  border-color: #3b82f6;
  color: white;
  box-shadow: 0 4px 12px -2px rgba(59, 130, 246, 0.4);
}

.pagination ul li.disabled a,
.pagination ul li.disabled span {
  background: #f8fafc;
  color: #cbd5e1;
  cursor: not-allowed;
  pointer-events: none;
}

/* Pagination active state override */
.pagination li.active a {
  background: linear-gradient(to right, #3b82f6, #6366f1) !important;
}

/* Responsive pagination */
@media (max-width: 640px) {
  .pagination ul {
    gap: 0.25rem;
  }
  .pagination ul li a,
  .pagination ul li span {
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.5rem;
  }
}
/* Breadcrumb styling */
.breadcumb {
  background: linear-gradient(to right, #f8fafc, #ffffff);
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
}

.breadcumb ol {
  margin: 0;
  padding: 0;
}

/* Responsive breadcrumb */
@media (max-width: 640px) {
  .breadcumb {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .breadcumb ol {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}
/* Breadcrumb in hero section */
.hero-effect .breadcumb {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: inline-flex;
  margin-bottom: 1rem;
}

.hero-effect .breadcumb ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-effect .breadcumb ol li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
}

.hero-effect .breadcumb ol li a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero-effect .breadcumb ol li a:hover {
  color: #1d4ed8;
}

.hero-effect .breadcumb ol li::after {
  content: "/";
  color: #cbd5e1;
  margin-left: 0.25rem;
}

.hero-effect .breadcumb ol li:last-child::after {
  content: none;
}

@media (max-width: 640px) {
  .hero-effect .breadcumb {
    padding: 0.5rem 1rem;
  }
  .hero-effect .breadcumb ol li {
    font-size: 0.75rem;
  }
}
/* Badges */
.free {
  color: #10b981;
  font-weight: 600;
}

.free::before {
  content: "✓ ";
  color: #10b981;
}

.fee {
  color: #f59e0b;
  font-weight: 600;
}

.fee::before {
  content: "$ ";
  color: #f59e0b;
}

/* Modals */
#popupCompare {
  display: none;
}

#popupCompare.open {
  display: flex !important;
}

/* Filter modal */
#ctFilter.open {
  display: flex !important;
}

/* Upload Button */
#uploadButton {
  cursor: pointer;
}

#uploadButton:hover .btnAddImages {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Preview images */
#previewContainer img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Category toggle inactive state */
.ctAllCategory.inactive {
  display: none;
}

/* Active navigation items */
nav a.active {
  color: #3b82f6;
  font-weight: 600;
}

/* Hiệu ứng lưới trôi vô tận */
@keyframes grid-flow {
  0% {
    background-position: 0px 0px;
  }
  100% {
    background-position: 40px 40px;
  }
}
.animate-grid-flow {
  animation: grid-flow 3s linear infinite;
}

/* Hiệu ứng đốm sáng trôi chậm */
@keyframes float-slow {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-20px, -20px) scale(1.1);
  }
}
.animate-float-slow {
  animation: float-slow 8s ease-in-out infinite;
}

/* Custom hexagon pattern for background */
.bg-hex-pattern {
  background-color: #f8fafc;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e2e8f0' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-gradient {
  background: radial-gradient(circle at 50% 0%, rgba(236, 233, 254, 0.8) 0%, rgba(248, 250, 252, 0) 70%);
}

.hero-effect::before {
  content: "";
  position: absolute;
  top: 120px;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  filter: blur(100px);
  background-image: linear-gradient(to right, #2563eb, #f87171);
}

/* Blog list reset for grid */
.blogs.blogsArchive,
.blogs.blogsHome {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blogs.blogsArchive li,
.blogs.blogsHome li {
  list-style: none;
}

/*# sourceMappingURL=style.css.map */
