/* PCGamesDL - Free Game for all. */

.card-game {
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-game-image {
  position: relative;
  width: 100%;
  padding-top: 59.5%;
  overflow: hidden;
  border-radius: 8px;
}

.card-game-image-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: block;
  text-decoration: none;
}

.card-game-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-game-image-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

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

.card-game-image-link:hover::after {
  background: rgba(255, 255, 255, 0.2);
}

.card-game-badges {
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-game-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  color: #FFFFFF;
  border-radius: 0 3px 3px 0;
  line-height: 1.2;
}

.card-game-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
}

.badge-new,
.badge-early-access {
  width: max-content;
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 0 4px 4px 0;
}

.badge-new {
  background: linear-gradient(135deg, #a7f34d 0%, #81d742 50%, #5dd439 100%);
  color: #fff;
}

.badge-hot {
  background-color: #dd163b;
}

.badge-early-access {
  background: linear-gradient(135deg, #c87eff 0%, #b048f1 40%, #8a2be2 70%, #5b0f8d 100%);
  color: #fff;
}

.badge-early-access svg {
  fill: currentColor;
}

.badge-coming-soon {
  background: linear-gradient(135deg, #0066ff 0%, #003fcc 100%);
  color: #fff;
}
.pcg-coming-soon-section .badge-coming-soon {
  background: linear-gradient(135deg, #0066ff 0%, #003fcc 100%);
  color: #fff;
}
.badge-coming-soon svg {
  flex-shrink: 0;
}

.badge-update {
  background-color: #22a2b1;
}

.badge-update-date {
  background-color: #dd3333;
}

.badge-version {
  background-color: #22c55e;
}

.badge-version svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
}

.card-game-badge-build-update {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  gap: 3px;
  padding: 0;
  background-color: transparent;
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
}

.card-game-badge-build-update .card-game-badge-build-line,
.card-game-badge-build-update .card-game-badge-update-line {
  display: block;
  white-space: nowrap;
  width: max-content;
}

.card-game-badge-build-update .card-game-badge-build-line {
  padding: 3px 10px;
  background: linear-gradient(135deg, #6ee7b7 0%, #22c55e 50%, #16a34a 100%);
  color: #fff;
  border-radius: 0 4px 4px 0;
}

.card-game-badge-build-update .card-game-badge-update-line {
  padding: 3px 10px;
  background-color: #7dd3fc;
  color: #0f172a;
  border-radius: 0 4px 4px 0;
}

.card-game-update-version {
  position: absolute;
  bottom: 10px;
  left: 0;
  padding: 4px 8px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  border-radius: 0 3px 3px 0;
  z-index: 2;
}

.card-game-content {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
}

.card-game-title {
  margin: 0 0 5px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #183d6d;
}

.card-game-title a {
  color: #183d6d;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.card-game-title a:hover {
  color: var(--color-accent);
}

.card-game-categories {
  font-size: 13px;
  line-height: 19px;
  color: #183d6d;
  display: block;
  margin-bottom: 0.3rem;
}

.card-game-categories svg {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
  fill: var(--color-accent);
}

.card-game-categories .card-game-categories-list {
  display: inline;
}

.card-game-categories span {
  color: var(--color-text-muted);
}

.card-game-categories a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-game-categories a:hover {
  color: var(--color-accent);
}

.card-game-categories-list {
  display: inline;
}

.card-game-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: auto;
  padding-top: 0;
  border-top: none;
}

.card-game-download-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: #293139;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  flex: 1;
  justify-content: center;
  height: 42px;
  min-height: 42px;
}

.card-game-download-btn:hover {
  background-color: var(--color-accent);
  color: #FFFFFF;
}

.card-game-download-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.card-game-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: #293139;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  border-radius: 4px;
  pointer-events: none;
  cursor: default;
  flex: 1;
  justify-content: center;
  height: 42px;
  min-height: 42px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.card-game-rating svg {
  width: 20px;
  height: 20px;
  fill: #FFD700;
}

.card-software {
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-software-image {
  position: relative;
  width: 100%;
  padding-top: 59.5%;
  overflow: hidden;
  border-radius: 8px;
}

.card-software-image-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: block;
  text-decoration: none;
}

.card-software-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-software-image-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.card-software-image-link:hover img {
  transform: scale(1.05);
}

.card-software-image-link:hover::after {
  background: rgba(255, 255, 255, 0.2);
}

.card-software-content {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
}

.card-software-title {
  margin: 0 0 5px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #183d6d;
}

.card-software-title a {
  color: #183d6d;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.card-software-title a:hover {
  color: var(--color-accent);
}

.card-software-categories {
  font-size: 13px;
  line-height: 19px;
  color: #183d6d;
  display: block;
  margin-bottom: 0.3rem;
}

.card-software-categories svg {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
  fill: var(--color-accent);
}

.card-software-categories .card-software-categories-list {
  display: inline;
}

.card-software-categories span {
  color: var(--color-text-muted);
}

.card-software-categories a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-software-categories a:hover {
  color: var(--color-accent);
}

.card-software-categories-list {
  display: inline;
}

.card-software-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: auto;
  padding-top: 0;
  border-top: none;
}

.card-software-download-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: #293139;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  flex: 1;
  justify-content: center;
  height: 42px;
  min-height: 42px;
}

.card-software-download-btn:hover {
  background-color: var(--color-accent);
  color: #FFFFFF;
}

.card-software-download-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.card-software-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: #293139;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  border-radius: 4px;
  pointer-events: none;
  cursor: default;
  flex: 1;
  justify-content: center;
  height: 42px;
  min-height: 42px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.card-software-rating svg {
  width: 20px;
  height: 20px;
  fill: #FFD700;
}

.trending-section {
  margin-top: 16px;
  margin-bottom: 20px;
}

.trending-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.trending-header .accent {
  display: block;
  width: 30px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.trending-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
  line-height: 1.2;
}

.trending-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px;
}

.featured-card-area {
  position: relative;
  height: 570px;
}

.card-game.featured {
  position: relative;
  background: var(--color-card);
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 4px 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-game.featured .card-game-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 365px;
  overflow: hidden;
  border-radius: 6px;
  flex-shrink: 0;
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-game.featured .card-game-thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  margin: 0;
  padding: 0;
  transition: transform 0.3s ease;
}

.card-game.featured .card-game-thumb-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

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

.card-game.featured .card-game-thumb-wrapper:hover::after {
  background: rgba(255, 255, 255, 0.2);
}

.card-game.featured .card-game-badges {
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-game.featured .card-game-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  color: #FFFFFF;
  border-radius: 0 3px 3px 0;
  line-height: 1.2;
}

.card-game.featured .card-game-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
}

.card-game.featured .badge-new,
.card-game.featured .badge-early-access {
  width: max-content;
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 0 4px 4px 0;
}
.card-game.featured .badge-new {
  background: linear-gradient(135deg, #a7f34d 0%, #81d742 50%, #5dd439 100%);
  color: #fff;
}
.card-game.featured .badge-hot {
  background-color: #dd163b;
}
.card-game.featured .badge-early-access {
  background: linear-gradient(135deg, #c87eff 0%, #b048f1 40%, #8a2be2 70%, #5b0f8d 100%);
  color: #fff;
}
.card-game.featured .badge-coming-soon {
  background: linear-gradient(135deg, #0066ff 0%, #003fcc 100%);
  color: #fff;
}

.card-game.featured .badge-version {
  background: linear-gradient(135deg, #6ee7b7 0%, #22c55e 50%, #16a34a 100%);
  color: #fff;
}
.card-game.featured .badge-update,
.card-game.featured .badge-update-date {
  background-color: #7dd3fc;
  color: #0f172a;
}

.card-game.featured .card-game-body {
  padding: 20px 24px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.card-game.featured .card-game-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  color: #183d6d;
}

.card-game.featured .card-game-title a {
  color: #183d6d;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-game.featured .card-game-title a:hover {
  color: var(--color-accent);
}

.card-game.featured .card-game-desc {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 400;
  color: #183d6d;
  line-height: 24px;
 
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-game.featured .card-game-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background-color: #FFFFFF;
  color: #183d6d;
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid #183d6d;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  position: relative;
  z-index: 2;
  margin-top: auto;       
  align-self: flex-start; 
}

.card-game.featured .card-game-button:hover {
  background-color: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
}

.stacked-list-area {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 570px;
  max-height: 570px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.stacked-list-area::-webkit-scrollbar {
  display: none;
}

.stacked-list-area .card-game-small {
  flex: 0 0 auto;
}

.card-game-small {
  position: relative;
  display: block;
  background: var(--color-card);
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 4px 10px;
  padding: 8px 10px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  cursor: pointer;
 
}

.card-game-small .card-game-thumb-small-wrapper {
  float: left;
  width: 100px;
  margin-right: 20px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-game-small .card-game-thumb-small {
  width: 100px;
  height: auto;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform 0.3s ease;
  display: block;
}

.card-game-small .card-game-thumb-small-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

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

.card-game-small .card-game-thumb-small-wrapper:hover::after {
  background: rgba(255, 255, 255, 0.2);
}

.card-game-small .card-game-small-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  justify-content: flex-start;
  align-items: flex-start;
}

.card-game-small .card-game-small-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #183d6d;
  align-self: flex-start;
}

.card-game-small .card-game-small-title a {
  color: #183d6d;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.card-game-small .card-game-small-desc {
  margin: 0;
  font-size: 13px;
  color: #183d6d;
  line-height: 19px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-game-small .card-game-small-desc svg {
  width: 12px;
  height: 12px;
  fill: var(--color-accent);
  flex-shrink: 0;
  vertical-align: middle;
}

.card-game-small .card-game-small-desc a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-game-small .card-game-small-desc a:hover {
  color: var(--color-accent);
}

.card-game-small .card-game-small-desc span {
  color: var(--color-text-muted);
}

@media (max-width: 992px) {
  .trending-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .featured-card-area {
    order: 1;
  }
  
  .stacked-list-area {
    order: 2;
  }
}

@media (max-width: 992px) {
  .trending-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .featured-area {
    order: 1;
  }
  
  .list-area {
    order: 2;
  }
}

.mod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--space-md) * 1.1);
  row-gap: 28px;
}

.mod-grid.mod-grid--5x4 {
  grid-template-columns: repeat(4, 1fr);
}

.mod-grid-tracks {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1280px) {
  .mod-grid,
  .mod-grid.mod-grid--5x4 {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .mod-grid-tracks {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .mod-grid,
  .mod-grid.mod-grid--5x4 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .mod-grid-tracks {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mod-grid,
  .mod-grid.mod-grid--5x4 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  
  .mod-grid-tracks {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .mod-grid,
  .mod-grid.mod-grid--5x4,
  .mod-grid-tracks {
    grid-template-columns: 1fr;
  }
}

.pcg-coming-soon-section {
  padding-top: 0;
  padding-bottom: var(--space-lg, 2rem);
}

.pcg-coming-soon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}

.pcg-coming-soon-main {
  flex: 0 0 65%;
  min-width: 0;
}

.pcg-coming-soon-heading.view-all-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.pcg-coming-soon-viewall {
  margin-left: auto;
  font-size: 0.9rem;
  color: rgba(var(--main-text-color), 0.85);
  text-decoration: none;
}

.pcg-coming-soon-viewall:hover {
  color: rgba(var(--main-color), 1);
}

.pcg-coming-soon-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pcg-coming-soon-grid .card-game .card-game-download-btn,
.pcg-coming-soon-grid .card-game .card-game-rating {
  padding: 6px 12px;
  font-size: 12px;
  height: 36px;
  min-height: 36px;
  gap: 4px;
}
.pcg-coming-soon-grid .card-game .card-game-download-btn svg,
.pcg-coming-soon-grid .card-game .card-game-rating svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 992px) {
  .pcg-coming-soon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
 
  .pcg-coming-soon-grid .card-game .card-game-download-btn,
  .pcg-coming-soon-grid .card-game .card-game-rating {
    padding: 5px 10px;
    font-size: 11px;
    height: 32px;
    min-height: 32px;
    gap: 4px;
  }
  .pcg-coming-soon-grid .card-game .card-game-download-btn svg,
  .pcg-coming-soon-grid .card-game .card-game-rating svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 768px) {
  .pcg-coming-soon-row {
    flex-direction: column;
  }
  .pcg-coming-soon-sidebar {
    width: 100%;
    max-width: 100%;
  }
}

.pcg-coming-soon-sidebar {
  flex: 1 1 0;
  min-width: 280px;
  max-width: 420px;
  background: rgba(var(--main-bg-color), 1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pcg-coming-soon-sidebar-header {
  background: #193d6d;
  color: #fff;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px 8px 0 0;
}

.pcg-coming-soon-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pcg-coming-soon-sidebar-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pcg-coming-soon-sidebar-item:last-child {
  border-bottom: none;
}

.pcg-coming-soon-sidebar-item-featured {
  padding: 0.75rem 1rem 0.65rem;
}

.pcg-coming-soon-sidebar-featured-link {
  display: block;
  text-decoration: none;
  color: inherit;
  max-width: 290px;
  margin: 0 auto;
  transition: opacity 0.2s ease;
}

.pcg-coming-soon-sidebar-featured-link:hover {
  opacity: 0.92;
}

.pcg-coming-soon-sidebar-featured-thumb {
  display: block;
  width: 100%;
  padding-top: 56.25%;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}

.pcg-coming-soon-sidebar-featured-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pcg-coming-soon-sidebar-featured-thumb .pcg-coming-soon-sidebar-noimg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.pcg-coming-soon-sidebar-featured-title {
  display: block;
  padding: 0.4rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(var(--main-color), 1);
  text-align: center;
  line-height: 1.3;
}

.pcg-coming-soon-sidebar-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.pcg-coming-soon-sidebar-link:hover {
  background: rgba(0, 0, 0, 0.04);
}

.pcg-coming-soon-sidebar-thumb {
  flex-shrink: 0;
  width: 76px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.06);
}

.pcg-coming-soon-sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pcg-coming-soon-sidebar-noimg {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.08);
}

.pcg-coming-soon-sidebar-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.pcg-coming-soon-sidebar-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(var(--main-color), 1);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}

.pcg-coming-soon-sidebar-link:hover .pcg-coming-soon-sidebar-title {
  text-decoration: underline;
}

.pcg-coming-soon-sidebar-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: rgba(var(--main-text-color), 0.75);
}

.pcg-coming-soon-sidebar-date svg {
  flex-shrink: 0;
}

body.theme-dark .pcg-coming-soon-sidebar {
  background: rgba(var(--main-bg-color), 1);
  border-color: rgba(255, 255, 255, 0.1);
}

body.theme-dark .pcg-coming-soon-sidebar-header {
  background: #193d6d;
  color: #fff;
}

body.theme-dark .pcg-coming-soon-sidebar-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.theme-dark .pcg-coming-soon-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

body.theme-dark .pcg-coming-soon-sidebar-title,
body.theme-dark .pcg-coming-soon-sidebar-featured-title {
  color: rgba(var(--main-color), 1);
}
body.theme-dark .pcg-coming-soon-sidebar-date {
  color: rgba(var(--main-text-color), 0.8);
}

body.theme-dark .pcg-coming-soon-viewall {
  color: rgba(var(--main-text-color), 0.8);
}

body.theme-dark .pcg-coming-soon-viewall:hover {
  color: rgba(var(--main-color), 1);
}

body.theme-dark .card-game-title,
body.theme-dark .card-game-title a,
body.theme-dark .card-software-title,
body.theme-dark .card-software-title a,
body.theme-dark .card-game.featured .card-game-title,
body.theme-dark .card-game.featured .card-game-title a,
body.theme-dark .card-game-small .card-game-small-title,
body.theme-dark .card-game-small .card-game-small-title a,
body.theme-dark .trending-header h2 {
  color: var(--color-text-main) !important;
}

body.theme-dark .card-game-categories,
body.theme-dark .card-game-categories a,
body.theme-dark .card-game-categories span,
body.theme-dark .card-software-categories,
body.theme-dark .card-software-categories a,
body.theme-dark .card-software-categories span,
body.theme-dark .card-game-small .card-game-small-desc,
body.theme-dark .card-game-small .card-game-small-desc a,
body.theme-dark .card-game.featured .card-game-desc {
  color: var(--color-text-muted) !important;
}

body.theme-dark .card-game.featured,
body.theme-dark .card-game-small {
  background: #02050A !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35) !important;
  border: 1px solid rgba(var(--main-text-color), 0.18);
}

body.theme-dark .card-game.featured .card-game-button {
  background: transparent !important;
  color: var(--color-text-main) !important;
  border-color: var(--color-border) !important;
}

body.theme-dark .card-game.featured .card-game-button:hover {
  background: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: #0b0f14 !important;
}

body.theme-dark .trending-header .accent {
  background-color: var(--color-accent) !important;
}

body.theme-dark .pcg-game-tabs-widget .nk-tabs.tab-addon {
  background: var(--color-card) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
body.theme-dark .pcg-game-tabs-widget .nk-tabs.tab-addon .nav-tabs .nav-link {
  background-color: #193D6D !important;
  color: #fff !important;
}
body.theme-dark .pcg-game-tabs-widget .nk-tabs.tab-addon .nav-tabs .nav-link:hover {
  background-color: #0f2a4d !important;
  color: #fff !important;
}
body.theme-dark .pcg-game-tabs-widget .nk-tabs.tab-addon .nav-tabs .nav-link.active,
body.theme-dark .pcg-game-tabs-widget .nk-tabs.tab-addon .nav-tabs .nav-link.active:hover {
  background-color: var(--color-accent) !important;
  color: #fff !important;
}
body.theme-dark .pcg-game-tabs-widget .nk-tabs.tab-addon .tab-content {
  background: var(--color-card) !important;
  color: rgba(var(--main-text-color), 1);
}
body.theme-dark .pcg-game-tabs-widget .pcg-sysreq-heading,
body.theme-dark .pcg-game-tabs-widget .pcg-sysreq-list li,
body.theme-dark .pcg-game-tabs-widget .pcg-sysreq-list li strong {
  color: rgba(var(--main-text-color), 1) !important;
}
body.theme-dark .pcg-game-tabs-widget .pcg-tab-empty {
  color: rgba(var(--main-text-color), 0.7);
}
body.theme-dark .pcg-admin-note-inner {
  background: rgba(var(--main-bg-color), 0.95) !important;
  border: 1px solid rgba(var(--main-text-color), 0.12);
}
body.theme-dark .pcg-admin-note-heading,
body.theme-dark .pcg-admin-note-content,
body.theme-dark .pcg-admin-note-content strong,
body.theme-dark .pcg-admin-note-content b {
  color: rgba(var(--main-text-color), 1) !important;
}
body.theme-dark .pcg-admin-note-content a {
  color: var(--color-accent);
}

.pcg-archive-breadcrumbs {
  margin-top: 8px;
  font-size: 15px !important;
  line-height: 22px;
  color: rgba(var(--main-link-color), 1);
}

.pcg-archive-breadcrumbs a {
  color: rgba(var(--main-link-color), 1);
  text-decoration: none;
}

.pcg-archive-breadcrumbs a:hover {
  color: rgba(var(--main-color), 1);
}

.pcg-bc-sep {
  margin: 0 8px;
  color: rgba(var(--main-link-color), 0.55);
}

.pcg-bc-current {
  color: rgba(var(--main-link-color), 1);
}

.pcg-single-game-breadcrumb,
.pcg-single-game-breadcrumb p {
  line-height: 22px;
}

.pcg-single-game-breadcrumb .pcg-bc-link {
  color: var(--color-accent);
  text-decoration: none;
}

.pcg-single-game-breadcrumb .pcg-bc-link:hover {
  color: var(--color-accent-dark);
}

.pcg-archive-header {
  margin-top: 18px;
  margin-bottom: 14px;
}

.pcg-archive-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pcg-archive-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: rgba(var(--main-heading-color), 1);
  white-space: nowrap;
}

.pcg-archive-title-line {
  flex: 1;
  height: 4px;
  background: rgba(var(--main-color), 1);
  opacity: 0.95;
}

.pcg-archive-desc {
  margin-top: 10px;
  color: rgba(var(--main-text-color), 0.78);
  font-size: 14px;
}

.pcg-filter-panel {
  margin-top: 18px;
  margin-bottom: 22px;
  background: rgba(var(--main-bg-color));
  border: 1px solid rgba(var(--main-text-color), 0.10);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  padding: 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pcg-filter-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 16px;
}

.pcg-game-archive-filter .pcg-game-filter-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pcg-game-archive-filter .pcg-filter-apply {
  background: #32AF36;
  color: #fff;
}

.pcg-game-archive-filter .pcg-filter-apply:hover {
  background: #e85a28;
}

.pcg-game-archive-filter .pcg-filter-actions {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.pcg-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 92px;
  padding: 0 14px;
  border-radius: 4px;
  border: 1px solid rgba(var(--main-text-color), 0.25);
  background: transparent;
  color: rgba(var(--main-text-color), 0.9);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pcg-filter-reset:hover {
  background: rgba(var(--main-text-color), 0.08);
  border-color: rgba(var(--main-text-color), 0.35);
  color: rgba(var(--main-text-color), 1);
}

.pcg-filter-panel .ir-sort-form {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 10px;
}

.pcg-filter-panel .ir-sort-form label {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: rgba(var(--main-heading-color), 1);
  white-space: nowrap;
}

.pcg-filter-panel select.form-control,
.pcg-filter-panel input.form-control {
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(var(--main-text-color), 0.16);
  background: #fff;
  padding: 0 12px;
  font-size: 13px;
  color: rgba(var(--main-text-color), 1);
  outline: none;
}

.pcg-filter-panel select.form-control:focus,
.pcg-filter-panel input.form-control:focus {
  border-color: rgba(var(--main-color), 0.55);
  box-shadow: 0 0 0 3px rgba(var(--main-color), 0.12);
}

.pcg-most-downloaded-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 14px 18px;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.pcg-most-downloaded-count {
  font-size: 14px;
  font-weight: 600;
  color: #1e3a5f;
}

.pcg-most-downloaded-genre-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pcg-most-downloaded-genre-label {
  font-size: 14px;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0;
  white-space: nowrap;
}

.pcg-most-downloaded-genre-form {
  display: inline-block;
}

.pcg-most-downloaded-select {
  min-width: 180px;
  height: 36px;
  padding: 0 32px 0 12px;
  font-size: 14px;
  color: #1e3a5f;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px 12px;
}

.pcg-most-downloaded-select:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.25);
}

body.theme-dark .pcg-most-downloaded-bar {
  background: rgba(var(--main-bg-color), 0.92);
  border-color: rgba(var(--main-text-color), 0.18);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}

body.theme-dark .pcg-most-downloaded-count,
body.theme-dark .pcg-most-downloaded-genre-label {
  color: rgba(var(--main-text-color), 0.94);
}

body.theme-dark .pcg-most-downloaded-select {
  background: #02050a;
  color: rgba(var(--main-text-color), 0.96);
  border-color: rgba(var(--main-text-color), 0.28);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e5e7eb' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px 12px;
}

body.theme-dark .pcg-most-downloaded-select:focus {
  border-color: rgba(var(--main-color), 0.8);
}

.pcg-most-downloaded-grid {
  grid-template-columns: repeat(4, 1fr);
}

.pcg-filter-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pcg-filter-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 92px;
  border: 0;
  border-radius: 4px;
  background: rgba(var(--main-color), 1);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
}

.pcg-filter-apply:hover {
  background: rgba(var(--main-color), 0.88);
}

.pcg-pagination {
  margin: 26px 0 10px;
  display: flex;
  justify-content: center;
}

.pcg-pagination ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.pcg-pagination a.page-numbers,
.pcg-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(var(--main-text-color), 0.14);
  background: rgba(var(--main-bg-color));
  color: rgba(var(--main-text-color), 1);
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
}

.pcg-pagination a.page-numbers:hover {
  border-color: rgba(var(--main-color), 0.55);
  color: rgba(var(--main-color), 1);
}

.pcg-pagination span.page-numbers.current {
  background: rgba(var(--main-color), 1);
  border-color: rgba(var(--main-color), 1);
  color: #fff;
}

.pcg-pagination span.page-numbers.dots {
  border: 0;
  background: transparent;
  min-width: 18px;
  padding: 0 6px;
  color: rgba(var(--main-text-color), 0.6);
}

body.theme-dark .pcg-pagination a.page-numbers,
body.theme-dark .pcg-pagination span.page-numbers {
  background: rgba(var(--main-bg-color), 0.85);
  border-color: rgba(var(--main-text-color), 0.26);
  color: rgba(var(--main-text-color), 0.9);
}

body.theme-dark .pcg-pagination span.page-numbers.current {
  background: rgba(var(--main-color), 1);
  border-color: rgba(var(--main-color), 1);
  color: #05070b;
}

@media (max-width: 1100px) {
  .pcg-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .pcg-filter-panel {
    flex-direction: column;
    align-items: stretch;
  }
  .pcg-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pcg-filter-panel .ir-sort-form {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .pcg-filter-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 520px) {
  .pcg-filter-grid {
    grid-template-columns: 1fr;
  }
  .pcg-filter-apply {
    width: 100%;
  }
}

body.theme-dark .pcg-archive-title {
  color: rgba(var(--main-heading-color), 1);
}

body.theme-dark .pcg-filter-panel {
  background: rgba(var(--main-bg-color));
  border-color: rgba(var(--main-text-color), 0.18);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}

body.theme-dark .pcg-filter-panel select.form-control,
body.theme-dark .pcg-filter-panel input.form-control {
  background: rgba(17,20,24,1);
  border-color: rgba(var(--main-text-color), 0.18);
  color: rgba(var(--main-text-color), 1);
}

.pcg-empty-state {
  padding: 22px 18px;
  border-radius: 12px;
  border: 1px dashed rgba(var(--main-text-color), 0.16);
  background: rgba(var(--main-bg-color));
  color: rgba(var(--main-text-color), 0.78);
  text-align: center;
  font-weight: 700;
}

body.theme-dark .pcg-empty-state {
  border-color: rgba(var(--main-text-color), 0.18);
  background: rgba(17,20,24,1);
  color: rgba(var(--main-text-color), 0.78);
}

.nk-main .bg-breadcrumb,
.nk-main .bg-blog {
 
  padding-top: 1rem;
  padding-bottom: 1rem;
  position: relative;
}

body.single .nk-post-title-inner {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

body.single .nk-post-title-inner:after,
body.single .nk-decorated-h-3::after {
  content: "";
  display: block;
  flex: 100;
  border-bottom: 4px solid rgba(var(--main-color));
}

body.single .nk-post-title-section .nk-post-title-inner:after {
  content: none;
  display: none;
  border: 0;
}

body.single .nk-post-title-inner .nk-post-title {
  color: rgba(var(--main-heading-post-color));
  font-size: 1.8rem;
  margin-right: 0;
  margin-bottom: 0;
}

body.single .nk-post-title-section h1,
body.page .nk-post-title-section h1 {
  color: rgba(var(--main-heading-post-color));
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  padding: 0;
  position: relative;
}

body.single .nk-post-title-section h1::after,
body.page .nk-post-title-section h1::after {
  content: "";
  display: block;
  margin-top: 0;
  border-bottom: 4px solid rgba(var(--main-color));
}

body.theme-dark.single .nk-post-title-section h1,
body.theme-dark.single .nk-post-title-with-icon,
body.theme-dark.single .nk-post-title-inner .nk-post-title {
  color: #fff;
}

body.single .nk-decorated-h-3 {
  display: block;
}

body.single .nk-decorated-h-3 > span {
  display: block;
  flex: auto;
  padding-right: 0;
  font-size: 18px;
}

body.single .nk-decorated-h-3 svg {
  width: 2rem;
  margin-right: 0.6rem;
}

@media (min-width: 540px) {
  body.single .nk-decorated-h-3 {
    display: flex;
    align-items: center;
  }
  body.single .nk-decorated-h-3 > span {
    padding-right: 20px;
    font-size: 20px;
  }
}

body.single h2.heading-ellipsis span {
  white-space: nowrap;
  width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hnc-single-image {
  position: relative;
}

.hnc-post-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  border-radius: 8px;
  padding: 6px 10px;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hnc-post-badge svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

body.single .nk-image-slider-img.w-100 {
  height: auto;
  aspect-ratio: 16 / 9;
}
body.single .carousel-indicators { list-style: none; }
body.single #hnc-image-slider .carousel-indicators li { height: 6px; }

.nk-gallery-game {
  position: relative;
}

.nk-gallery-game .nk-gallery-game-badge {
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 2;
}

#hnc-image-slider {
  border-bottom: 3px solid transparent;
  position: relative;
}

#hnc-image-slider:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  background: linear-gradient(85.19deg, #ff2a64 -133.27%, #ffaf48 105.93%);
  height: 3px;
}

.variations-tableInfo {
  border: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
.variations-tableInfo li {
  display: flex;
  align-items: center;
  padding: 5px 0;
}

body.single .col-detal-1 .table-label,
body.single .col-detal-2 .table-label {
  display: block;
}

body.single .table-label .pcg-info-icon,
body.single .table-label .pcg-tick,
body.single .table-label b,
body.single .table-label .pcg-genre-list {
  display: inline;
  vertical-align: middle;
}

body.single .pcg-info-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-right: 2px;
}

body.single .pcg-tick {
  width: 0.95rem;
  height: 0.95rem;
  margin-right: 2px;
  fill: rgba(var(--main-color), 1);
  vertical-align: middle;
}

body.single .variations-tableInfo b {
  margin-right: 2px;
}

.hnc-lichsucapnhatlink .hnc-item {
  gap: 10px;
}

.hnc-item .date {
  min-width: 96px;
}

.link-inner {
  position: relative;
  margin-bottom: 5px;
  margin-top: 5px;
  display: inline-block;
}

.link-inner a.nk-btn.nk-btn-outline {
  padding: 5px 10px;
  font-size: 14px;
  display: inline-block;
}

.nk-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: 0.15s;
}

.nk-btn,
.nk-btn.active,
.nk-btn.hover,
.nk-btn:active,
.nk-btn:focus,
.nk-btn:hover {
  color: #fff;
  text-decoration: none;
}

.nk-btn.nk-btn-outline {
  border-style: solid;
  border-width: 1px;
  border-color: rgba(var(--main-color), 1);
  color: rgba(var(--main-color), 1);
  background: transparent;
}

.nk-btn.nk-btn-outline:hover {
 
  background: #193D6D;
  color: rgba(var(--main-color), 1);
  border-color: rgba(var(--main-bg-color));
}

.inner-button .row-button {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  border-bottom: 1px dashed rgba(var(--main-text-color));
  margin: 0;
  padding: 0;
}

.inner-button .row-button:last-child {
  border-bottom: 0;
}

.inner-button .row-button .col-button {
  display: flex;
  align-items: center;
  border-right: 1px dashed rgba(var(--main-text-color));
  flex: 3 1;
  min-width: 0;
}

.inner-button .row-button .col-button.date-button {
  flex: 1 3;
  justify-content: center;
  white-space: nowrap;
  text-align: center;
}

.inner-button .row-button .col-button.title-button .pcg-dep-name {
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.inner-button .row-button .col-button.list-button {
  padding: 5px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.pcg-download-coming-soon .pcg-coming-soon-text {
  font-size: 14px;
  font-weight: 600;
  color: rgba(var(--main-text-color), 0.75);
  font-style: italic;
}

.nk-btn.nk-btn-rounded {
  border-radius: 6px;
}

.nk-btn.nk-btn-lg {
  padding: 12px 20px;
  font-size: 14px;
}

.nk-btn.nk-btn-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
}

.nk-btn.nk-btn-color-main-1 {
  background-color: rgb(var(--main-color));
  border: none;
}

.nk-btn.nk-btn-color-main-1:hover {
  background-color: var(--color-accent-dark);
  color: #fff;
}

.nk-btn .fab,
.nk-btn .fas {
  font-size: 1.25rem;
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

#comment.block-item {
  margin-top: 10px;
}

.nk-comments {
  padding-top: 6px;
}

.pcg-rating-widget .nk-widget-content {
  padding: 16px;
}

.pcg-rating-widget .nk-widget-title {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.pcg-rating-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pcg-rating-stars-area {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.pcg-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pcg-stars--xl {
  gap: 10px;
  justify-content: center;
}

.pcg-star-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-block;
}

.pcg-star-base,
.pcg-star-fill-svg {
  width: 38px;
  height: 38px;
  display: block;
}

.pcg-star-fill {
  position: absolute;
  inset: 0;
  width: var(--fill, 0%);
  overflow: hidden;
}

.pcg-star-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.pcg-star-half--left { left: 0; }
.pcg-star-half--right { right: 0; }

.pcg-stars[data-voted="1"] svg {
  cursor: default;
}

.pcg-rating-avgline {
  color: rgba(var(--main-link-color), 1);
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  width: 100%;
}

body.theme-dark .pcg-rating-avgline {
  color: rgba(var(--dark-main-text-color), 0.9);
}

.inner-button .row-button .col-button:first-child {
  padding-right: 5px;
}

.inner-button .row-button .col-button:last-child {
  border-right: 0;
}

.inner-button .linkvip > svg {
  position: absolute;
  top: -0.5rem;
  right: -0.4rem;
  transform: rotate(30deg);
  fill: #ffd43b;
  width: 1.2rem;
}

.inner-button .linkvip .btn-link-video svg {
  vertical-align: -5px;
}

@media (max-width: 767px) {
  .inner-button .row-button {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
  }
  .inner-button .row-button .col-button {
    padding: 0;
    margin: 0;
    border: 0;
    width: 100%;
    justify-content: center;
  }
  .inner-button .row-button .col-button.list-button {
    padding: 6px 0 0;
  }
}

body.single .variations-tableInfo a {
  color: rgba(var(--main-color));
}
body.single .variations-tableInfo a:hover {
  color: rgba(var(--main-color));
}

body.single .nk-main svg {
  fill: rgba(var(--main-color));
}

body.single .nk-main .pcg-rating-widget .pcg-star-base,
body.single .nk-main .pcg-rating-widget .pcg-star-base path {
  fill: #4B5563 !important;
}

body.single .nk-main .pcg-rating-widget .pcg-star-fill-svg,
body.single .nk-main .pcg-rating-widget .pcg-star-fill-svg path {
  fill: #FBBF24 !important;
}

.pcg-related-widget .pcg-related-box {
  background: rgba(var(--main-bg-color));
  border: 1px solid transparent;
}

.pcg-related-widget .nav-tabs.nav-tabs-fill {
  display: flex;
  border-bottom: 0;
}

.pcg-related-widget .nav-tabs .nav-item {
  flex: 1;
}

.pcg-related-widget .nav-tabs .nav-link {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 8px 8px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
  background-color: #193D6D;
  color: #fff;
  cursor: pointer;
  user-select: none;
  line-height: 1.3;
}

.pcg-related-widget .nav-tabs .nav-link.active,
.pcg-related-widget .nav-tabs .nav-link.active:focus,
.pcg-related-widget .nav-tabs .nav-link.active:hover {
  background-color: rgba(var(--main-color), 1);
}

body.theme-dark .pcg-related-widget .nav-tabs .nav-link:not(.active) {
  background-color: #193D6D;
}

.pcg-related-widget .tab-content {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-top: 0;
}

.pcg-related-list {
  display: block;
}

.pcg-related-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  cursor: default;
}

.pcg-related-item + .pcg-related-item {
  border-top: 1px solid rgba(var(--main-link-color), 0.25);
}

.pcg-related-thumb {
  width: 110px;
  height: 62px;
  object-fit: cover;
  flex: 0 0 110px;
}

.pcg-related-body {
  min-width: 0;
  flex: 1 1 auto;
}

.pcg-related-title {
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  color: rgba(var(--main-color), 1);
  line-height: 1.25;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcg-related-title:hover,
.pcg-related-title:focus {
  text-decoration: none;
}

.pcg-related-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(var(--main-link-color), 1);
  font-weight: 400;
  font-size: 13px;
}

.pcg-related-date svg {
  width: 14px;
  height: 14px;
  fill: currentColor !important;
}

.pcg-related-date svg path {
  fill: currentColor !important;
}

.pcg-related-empty {
  padding: 12px 0;
  color: rgba(var(--main-text-color), 0.75);
  font-weight: 700;
  font-size: 13px;
}

body.theme-dark .pcg-related-widget .tab-content {
  border-color: rgba(var(--main-text-color), 0.18);
}

body.theme-dark .pcg-related-widget .pcg-related-box {
  background: rgba(17, 20, 24, 1);
  border-color: rgba(var(--main-text-color), 0.18);
}

body.theme-dark .pcg-related-title {
  color: rgba(var(--main-color), 1);
}

body.theme-dark .pcg-related-date,
body.theme-dark .pcg-related-empty {
  color: rgba(var(--dark-main-text-color), 0.9);
}

body.single .nk-main .card-game-badge svg {
  fill: currentColor;
}

body.single .nk-main .card {
  color: rgba(var(--main-text-color));
  padding: 15px;
  background-color: rgba(var(--main-bg-color));
  border-radius: 10px;
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.1);
  border: 0;
}

body.single .nk-main .product-details {
  margin-bottom: 20px;
}

body.single .nk-main .product-details.card {
  border: 1px solid rgba(var(--main-text-color), 0.22);
}

body.theme-dark.single .nk-main .product-details.card {
  border-color: rgba(var(--main-text-color), 0.30);
}

.nk-box,
.nk-box-1,
.nk-box-2,
.nk-box-3,
.nk-box-4,
.nk-box-rounded,
.nk-box-rounded-1,
.nk-box-rounded-2,
.nk-box-rounded-3,
.nk-box-rounded-4 {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.block-item .nk-box-1,
.block-item .nk-box-rounded-1 {
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.1);
  color: rgba(var(--main-text-color));
  border: 1px solid transparent;
}

.bg-dark-2 {
  background-color: rgba(var(--main-bg-color));
  border: 1px solid transparent;
}

body.theme-dark .bg-dark-2,
body.theme-dark .block-item .nk-box-1,
body.theme-dark .block-item .nk-box-rounded-1 {
  border-color: rgba(var(--main-text-color), 0.18);
}

@media (min-width: 540px) {
  body.single .nk-main .product-details {
    margin-bottom: 0;
  }
}

body.single .nk-post-text {
  font-size: 14px;
}

body.single .nk-gap-2 {
  height: 20px;
}

body.single .pcg-same-series-box {
  margin-bottom: 28px;
}

.pcg-single-post-gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.pcg-single-post-gallery-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.hnc-single-content h2,
.hnc-single-content h2.wp-block-heading,
.entry-content h2,
.entry-content h2.wp-block-heading,
.post-content h2,
.post-content h2.wp-block-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 15px;
  border-bottom: 2px solid rgba(var(--main-color), 1);
  padding: 0;
  border-radius: 0;
  position: relative;
  font-size: 16px;
  margin: 1.25em 0 0.75em;
  font-weight: 700;
  color: rgba(var(--main-heading-color), 1);
}
body.theme-dark .hnc-single-content h2,
body.theme-dark .hnc-single-content h2.wp-block-heading,
body.theme-dark .entry-content h2,
body.theme-dark .entry-content h2.wp-block-heading,
body.theme-dark .post-content h2,
body.theme-dark .post-content h2.wp-block-heading {
  color: #fff;
}

.hnc-single-content h2.wp-block-heading::before,
.entry-content h2.wp-block-heading::before,
.post-content h2.wp-block-heading::before {
  content: "";
  width: 32px;
  height: 26px;
  flex-shrink: 0;
  align-self: baseline;
  background-color: rgba(var(--main-color), 1);
 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M11.424 8c.437-.052.811-.136 1.04-.268a2 2 0 0 0-2-3.464c-.229.132-.489.414-.752.767C9.886 4.63 10 4.264 10 4a2 2 0 1 0-4 0c0 .264.114.63.288 1.035-.263-.353-.523-.635-.752-.767a2 2 0 0 0-2 3.464c.229.132.603.216 1.04.268-.437.052-.811.136-1.04.268a2 2 0 1 0 2 3.464c.229-.132.489-.414.752-.767C6.114 11.37 6 11.736 6 12a2 2 0 1 0 4 0c0-.264-.114-.63-.288-1.035.263.353.523.635.752.767a2 2 0 1 0 2-3.464c-.229-.132-.603-.216-1.04-.268M9 4a2 2 0 0 1-.045.205q-.059.2-.183.484a13 13 0 0 1-.637 1.223L8 6.142l-.135-.23a13 13 0 0 1-.637-1.223 4 4 0 0 1-.183-.484A2 2 0 0 1 7 4a1 1 0 1 1 2 0M3.67 5.5a1 1 0 0 1 1.366-.366 2 2 0 0 1 .156.142q.142.15.326.4c.245.333.502.747.742 1.163l.13.232-.265.002a13 13 0 0 1-1.379-.06 4 4 0 0 1-.51-.083 2 2 0 0 1-.2-.064A1 1 0 0 1 3.67 5.5m1.366 5.366a1 1 0 0 1-1-1.732l.047-.02q.055-.02.153-.044.202-.048.51-.083a13 13 0 0 1 1.379-.06q.135 0 .266.002l-.131.232c-.24.416-.497.83-.742 1.163a4 4 0 0 1-.327.4 2 2 0 0 1-.155.142M9 12a1 1 0 0 1-2 0 2 2 0 0 1 .045-.206q.058-.198.183-.483c.166-.378.396-.808.637-1.223L8 9.858l.135.23c.241.415.47.845.637 1.223q.124.285.183.484A1.3 1.3 0 0 1 9 12m3.33-6.5a1 1 0 0 1-.366 1.366 2 2 0 0 1-.2.064q-.202.048-.51.083c-.412.045-.898.061-1.379.06q-.135 0-.266-.002l.131-.232c.24-.416.497-.83.742-1.163a4 4 0 0 1 .327-.4q.07-.074.114-.11l.041-.032a1 1 0 0 1 1.366.366m-1.366 5.366a2 2 0 0 1-.155-.141 4 4 0 0 1-.327-.4A13 13 0 0 1 9.74 9.16l-.13-.232.265-.002c.48-.001.967.015 1.379.06q.308.035.51.083.098.024.153.044l.048.02a1 1 0 1 1-1 1.732zM8 9a1 1 0 1 1 0-2 1 1 0 0 1 0 2'/%3E%3C/svg%3E");
  background-size: 19px 18px;
  background-repeat: no-repeat;
  background-position: center;
}

.hnc-single-content h2 .h2-icon,
.entry-content h2 .h2-icon,
.post-content h2 .h2-icon {
  background: rgba(var(--main-color), 1);
  color: #fff;
  margin-right: 0;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 6px 9px;
  flex-shrink: 0;
  align-self: baseline;
}

.hnc-single-content h3 .h3-icon {
  color: #fff;
  margin-right: 0.5rem;
  display: inline-block;
}

.hnc-single-content h3 svg {
  fill: red;
}
.hnc-single-content h2 .h2-icon svg,
.entry-content h2 .h2-icon svg,
.post-content h2 .h2-icon svg {
  width: 1.5em;
  height: 1.5em;
  fill: #fff;
  display: block;
}
body.theme-dark .hnc-single-content h2 .h2-icon svg,
body.theme-dark .entry-content h2 .h2-icon svg,
body.theme-dark .post-content h2 .h2-icon svg {
  fill: #fff;
}

.hnc-single-content img,
.entry-content img,
.post-content img {
  margin: 1em 0;
  display: block;
  max-width: 100%;
  height: auto;
}
.hnc-single-content video,
.entry-content video,
.post-content video,
.hnc-single-content iframe,
.entry-content iframe,
.post-content iframe,
.hnc-single-content embed,
.entry-content embed,
.post-content embed {
  margin: 1em 0;
  max-width: 100%;
  display: block;
}
.hnc-single-content figure img,
.entry-content figure img,
.post-content figure img {
  margin: 0;
}
.hnc-single-content figure,
.entry-content figure,
.post-content figure {
  margin: 1em 0;
}

.pcg-comment-title-icon {
  width: 30px;
  height: 30px;
  margin-right: 8px;
  vertical-align: -3px;
}

.pcg-download-warning {
  margin: 8px 0 12px;
  font-size: 13px;   
  color: rgba(var(--main-text-color), 0.95);
  font-style: italic;
}

.pcg-download-warning strong {
  font-weight: 800;
  color: #ef4444;
}

body.theme-dark .pcg-download-warning {
  color: rgba(var(--main-text-color), 0.96);
}

.hnc-single-content h3 {
  font-size: 16px;
  margin-left: 1px;
  color: red;
}

.hnc-single-content h3::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ff0000' d='M48 56c0-13.3-10.7-24-24-24S0 42.7 0 56V224c0 48.6 39.4 88 88 88H430.1l-87 87c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0L505 305c9.4-9.4 9.4-24.6 0-33.9L377 143c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l87 87H88c-22.1 0-40-17.9-40-40V56z'/%3E%3C/svg%3E");
  background-size: 17px 17px;
  background-repeat: no-repeat;
  background-position: center;
}

body.single #download.block-item {
  margin-top: 36px;
}

body.single #update.block-item,
body.single #crackfix.block-item,
body.single #onlinefix.block-item,
body.single #extras.block-item {
  margin-top: 24px;
}

.nk-innercontent .nk-blockquote-icon {
  display: table;
  margin-bottom: 20px;
  position: relative;
  width: 100%;
  margin-top: 50px;
  font-style: italic;
}
.nk-innercontent .nk-blockquote-icon::after,
.nk-innercontent .nk-blockquote-icon::before {
  content: "";
  display: table-cell;
  width: 100%;
  vertical-align: top;
  border-bottom: 2px solid rgba(var(--main-color), 1);
  transform: translateY(-18px);
}
.nk-innercontent .nk-blockquote-icon::before {
  width: 50px;
  min-width: 50px;
}
.nk-innercontent .nk-blockquote-icon > span {
  display: table-cell;
  height: 0;
  padding-right: 25px;
  font-size: 96px;
  font-weight: 600;
  line-height: 0;
  color: rgba(var(--main-text-color), 1);
  vertical-align: top;
}

.nk-sidebar {
  position: sticky;
  top: 20px;
  align-self: flex-start;
}
.nk-widget.nk-widget-highlighted {
  overflow: hidden;
  margin-top: 30px;
}

.pcg-footer-main {
  background-color: #141517;
  padding: 20px 0;
  color: rgba(229, 231, 235, 0.9);
  font-size: 13px;
}

.pcg-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.pcg-footer-left {
  min-width: 0;
  max-width: 420px;
}

.pcg-footer-logo-text {
  font-weight: 700;
  font-size: 14px;
  color: #9ca3af; 
  margin-bottom: 4px;
}

.pcg-footer-desc {
  margin: 0;
  color: rgba(229, 231, 235, 0.86);
}

.pcg-footer-right {
  flex: 1;
  min-width: 0;
}

.pcg-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.pcg-footer-nav a {
  color: rgba(229, 231, 235, 0.9);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}

.pcg-footer-nav a:hover {
  color: #32AF36;
}

.pcg-footer-notes {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}

.pcg-footer-notes li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 3px;
}

.pcg-footer-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: #ffb020;
}

.pcg-footer-bottom {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: rgba(148, 163, 184, 0.9);
}

.pcg-footer-copy {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .pcg-footer-inner {
    flex-direction: column;
    gap: 16px;
  }

  .pcg-footer-right {
    text-align: left;
  }

  .pcg-footer-nav {
    justify-content: flex-start;
  }

  .pcg-footer-notes {
    text-align: left;
  }
}

.pcg-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background-color: #22c55e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pcg-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pcg-back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.pcg-back-to-top:hover {
  background-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

body.theme-dark .pcg-footer-separator .container {
  border-top-color: #32AF36;
}

.hnc-copyright .container {
  text-align: center;
  padding-top: 10px;
}

.nk-sidebar-right .nk-widget-highlighted {
  border-radius: 0.5rem;
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.05);
}

.nk-widget .nk-widget-title {
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.nk-widget-highlighted .nk-widget-title {
  position: relative;
  padding: 1rem;
  margin-bottom: 0;
  background-color: rgba(var(--main-bg-color));
  z-index: 1;
  border: 1px solid transparent;
}

.nk-widget-highlighted .nk-widget-title > span {
  display: inline-block;
  padding-right: 23px;
  background-color: rgba(var(--main-bg-color));
}

.nk-widget-highlighted .nk-widget-title::after {
  content: "";
  position: absolute;
  display: block;
  top: 32px;
  right: 1px;
  left: 30px;
  height: 3px;
  background-color: #fff;
  z-index: -1;
}

body.theme-dark .nk-widget-highlighted .nk-widget-title::after {
  background-color: rgba(var(--main-text-color), 0.2);
}

.nk-widget-highlighted .nk-widget-title {
  isolation: isolate;
}

.nk-sidebar .custom-html-widget,
.nk-widget-highlighted .nk-widget-content {
  padding: 1rem;
  background-color: rgba(var(--main-bg-color));
  border: 1px solid rgba(var(--main-bg-color));
  position: relative;
  z-index: 1;
}

.pcg-buy-license-widget .nk-widget-title {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.pcg-buy-license-widget .nk-widget-content > p {
  margin-bottom: 1rem;
}

.pcg-buy-license-widget .nk-widget-content > a + a {
  margin-top: 10px;
}

.pcg-buy-license-widget .nk-btn.pcg-btn-buy-steam {
  background-color: #2a475e;
  border: none;
}

.pcg-buy-license-widget .nk-btn.pcg-btn-buy-steam:hover {
  background-color: #1b2838;
  color: #fff;
}

body.theme-dark .pcg-buy-license-widget .nk-btn.pcg-btn-buy-steam:hover {
  background-color: #1b2838;
}

.hnc-widget-title {
  background-color: #193D6D;
  text-align: center;
  padding: 10px 0;
  color: #fff;
  margin-bottom: 0;
  font-size: 1.15rem;
}

body.theme-dark .hnc-widget-title {
  background-color: #193D6D;
}

h4.hnc-widget-title span {
  color: rgba(var(--main-color));
}

.hnc-widget .hnc-widget-content {
  padding: 0 10px 10px;
  background-color: rgba(var(--main-bg-color));
  border: 1px solid transparent;
  border-top: 0;
}

.hnc-lichsucapnhatlink .hnc-item {
  padding: 12px 6px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hnc-lichsucapnhatlink .hnc-item:not(:first-child) {
  margin-top: 12px;
  border-top: 1px solid rgba(var(--main-link-color), 0.55);
}

.hnc-item .label {
  color: rgba(var(--main-color), 1);
  font-size: 14px;
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hnc-item .date {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 110px;
  white-space: nowrap;
}

.hnc-item .date svg {
  max-width: 0.9rem;
}

.pcg-stats-widget {
  margin-top: 0;
}

.pcg-stats-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pcg-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(var(--main-link-color), 0.15);
}

.pcg-stat-item:last-child {
  border-bottom: 0;
}

.pcg-stat-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcg-stat-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.pcg-stat-icon--version {
  color: var(--color-accent);
}

.pcg-stat-icon--build {
  color: rgba(var(--main-text-color), 0.7);
}

.pcg-stat-icon--download {
  color: #22C55E;
}

.pcg-stat-icon--rating {
  display: flex;
  gap: 2px;
  width: auto;
}

.pcg-stat-icon--rating svg.pcg-stat-star {
  width: 16px;
  height: 16px;
  fill: transparent;
  stroke: #9CA3AF;
  stroke-width: 1.4;
}

.pcg-stat-icon--rating svg.pcg-stat-star.filled {
  fill: #FBBF24;     
  stroke: #FBBF24;
}

.pcg-stat-label {
  flex: 1 1 auto;
  font-size: 14px;
  color: rgba(var(--main-text-color), 0.9);
  font-weight: 500;
}

.pcg-stat-value {
  flex: 0 0 auto;
  font-size: 14px;
  color: rgba(var(--main-text-color), 0.9);
  font-weight: 600;
  text-align: right;
}

.pcg-stat-rating-text {
  font-weight: 500;
  font-size: 13px;
  color: rgba(var(--main-text-color), 0.75);
}

body.theme-dark .pcg-stat-item {
  border-bottom-color: rgba(var(--main-text-color), 0.15);
}

body.theme-dark .pcg-stat-label,
body.theme-dark .pcg-stat-value {
  color: rgba(var(--dark-main-text-color), 0.9);
}

body.theme-dark .pcg-stat-rating-text {
  color: rgba(var(--dark-main-text-color), 0.75);
}

.pcg-same-series-box {
  margin-bottom: 0;
}

.pcg-same-series-title-box {
  padding: 5px 0;
  margin: 10px 0;
  background-color: rgba(var(--main-bg-color));
  border-radius: 10px;
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pcg-same-series-title-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.pcg-same-series-title-text svg {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  fill: rgba(var(--main-color), 1);
}

.pcg-same-series-title-text span {
  margin-left: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(var(--main-heading-color), 1);
}

.nk-post-title-with-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.nk-post-title-with-icon .nk-post-title-icon {
  width: 1.125em;
  height: 1.125em;
  flex-shrink: 0;
  fill: currentColor;
}

.pcg-same-series-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.pcg-same-series-item {
  flex: 0 0 calc(20% - 13px);
  max-width: calc(20% - 13px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}

.pcg-same-series-item:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.pcg-same-series-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 8px;
  background-color: rgba(var(--main-bg-color), 0.5);
}

.pcg-same-series-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pcg-same-series-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(var(--main-text-color), 0.9);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}

.pcg-same-series-item:hover .pcg-same-series-title {
  color: rgba(var(--main-color), 1);
}

@media (max-width: 991px) {
  .pcg-same-series-item {
    flex: 0 0 calc(33.333% - 11px);
    max-width: calc(33.333% - 11px);
  }
}

@media (max-width: 575px) {
  .pcg-same-series-item {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
}

body.theme-dark .pcg-same-series-title {
  color: rgba(var(--dark-main-text-color), 0.9);
}

body.theme-dark .pcg-same-series-item:hover .pcg-same-series-title {
  color: rgba(var(--main-color), 1);
}

.hnc-view-more {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(var(--main-link-color), 0.25);
  text-align: center;
}

.hnc-view-more-link {
  color: rgba(var(--main-color), 1);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-block;
  transition: opacity 0.2s;
}

.hnc-view-more-link:hover,
.hnc-view-more-link:focus {
  text-decoration: underline;
  opacity: 0.8;
}

.hnc-item-more {
  display: none;
}

.hnc-item-more.expanded {
  display: block;
}

.pcg-admin-note-box {
  margin: 0 0 1.5rem;
}

.pcg-admin-note-inner {
  background: #fff8e1;
  border-radius: 6px;
  padding: 20px 24px 24px;
  position: relative;
}

.pcg-admin-note-icon-top {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
}

.pcg-admin-note-icon-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.pcg-admin-note-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.pcg-admin-note-heading-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  fill: var(--color-accent);
}

.pcg-admin-note-content {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(var(--main-text-color), 0.95);
}

.pcg-admin-note-content p {
  margin: 0 0 10px;
}

.pcg-admin-note-content p:last-child {
  margin-bottom: 0;
}

.pcg-admin-note-content ul,
.pcg-admin-note-content ol {
  margin: 0 0 10px;
  padding-left: 1.4em;
}

.pcg-admin-note-content li {
  margin-bottom: 4px;
}

.pcg-admin-note-content a {
  color: #2563eb;
  text-decoration: none;
}

.pcg-admin-note-content a:hover {
  text-decoration: underline;
}

.pcg-admin-note-content strong,
.pcg-admin-note-content b {
  font-weight: 700;
  color: rgba(var(--main-text-color), 1);
}

body.error404 {
  display: flex;
  flex-direction: column;
  min-height: max(100vh, 1080px);
}

body.error404 .pcg-404 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl, 40px) var(--container-padding-sm, 20px);
}

.pcg-404-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.pcg-404-code {
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 0.5rem;
  color: rgba(var(--main-color), 0.2);
  letter-spacing: -0.02em;
}

.pcg-404-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(var(--main-heading-color), 1);
  margin: 0 0 0.75rem;
}

.pcg-404-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.pcg-404-search {
  display: flex;
  gap: 0;
  max-width: 360px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius, 8px);
  overflow: hidden;
  box-shadow: var(--shadow, 0 4px 12px rgba(0, 0, 0, 0.08));
}

.pcg-404-search .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.pcg-404-search input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid var(--color-border, #e0e6ef);
  border-right: 0;
  border-radius: var(--radius, 8px) 0 0 var(--radius, 8px);
  font-family: var(--font-family);
}

.pcg-404-search input:focus {
  outline: none;
  border-color: rgba(var(--main-color), 0.6);
  box-shadow: 0 0 0 2px rgba(var(--main-color), 0.15);
}

.pcg-404-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-family);
  color: #fff;
  background: rgba(var(--main-color), 1);
  border: none;
  border-radius: 0 var(--radius, 8px) var(--radius, 8px) 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.pcg-404-search-btn:hover {
  background: rgba(var(--main-color), 0.88);
}

.pcg-404-search-btn:active {
  transform: scale(0.98);
}

.pcg-404-search-btn svg {
  flex-shrink: 0;
  fill: currentColor;
}

.pcg-404-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(var(--main-color), 1);
  background: transparent;
  border: 2px solid rgba(var(--main-color), 0.5);
  border-radius: var(--radius, 8px);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pcg-404-home:hover {
  background: rgba(var(--main-color), 0.08);
  border-color: rgba(var(--main-color), 1);
  color: rgba(var(--main-color), 1);
}

.pcg-404-home svg {
  flex-shrink: 0;
  fill: currentColor;
}

body.theme-dark .pcg-404-code {
  color: rgba(var(--main-color), 0.25);
}

body.theme-dark .pcg-404-title {
  color: rgba(var(--main-heading-color), 1);
}

body.theme-dark .pcg-404-desc {
  color: rgba(var(--main-text-color), 0.75);
}

body.theme-dark .pcg-404-search input {
  background: rgba(var(--dark-main-bg-color, 17, 20, 24), 0.5);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(var(--dark-main-text-color), 1);
}

body.theme-dark .pcg-404-search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

body.theme-dark .pcg-404-search input:focus {
  border-color: rgba(var(--main-color), 0.6);
}
