:root {
  --bg: #ffffff;
  --text: #111111;
  --accent: #76c98f;
  --accent-soft: #eaf8ef;
  --border: #dddddd;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  height: auto;
}

.unified-image,
.latest-game-icon,
.news-banner,
.collection-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.site-header {
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  min-height: 68px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}

.brand-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.brand-link:hover,
.brand-link:focus-visible {
  color: #58b676;
  outline: none;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  padding: 0;
  cursor: pointer;
}

.menu-toggle img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  pointer-events: none;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  outline: none;
}

.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-item a {
  display: inline-block;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-item a:hover,
.nav-item a:focus-visible,
.nav-item a:active,
.nav-item a.is-active {
  background: var(--accent-soft);
  color: var(--accent);
  outline: none;
}

.search-form {
  min-width: 52px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.search-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}

.search-toggle img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  pointer-events: none;
  display: block;
}

.search-toggle:hover,
.search-toggle:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  outline: none;
}

.search-input {
  width: 0;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0;
  flex: 0 0 auto;
  color: var(--text);
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: width 0.25s ease, opacity 0.2s ease, padding 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, visibility 0.2s ease;
}

.search-form.is-expanded .search-input {
  width: 200px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  border-color: var(--border);
  padding: 0 14px;
}

.search-input.search-error {
  border-color: #f44336 !important;
  background-color: #ffebee !important;
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.navbar.is-search-open .search-form {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  min-width: 0;
  padding: 14px 20px;
  background: var(--bg);
  z-index: 20;
}

.navbar.is-search-open .search-input {
  width: 100%;
  flex: 1 1 auto;
  border-color: var(--border);
  padding: 0 14px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.navbar.is-search-open .brand-link,
.navbar.is-search-open .menu-toggle,
.navbar.is-search-open .nav-list {
  opacity: 0;
  pointer-events: none;
}

.search-input::placeholder {
  color: #777777;
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(118, 201, 143, 0.2);
  outline: none;
}

.language-selector {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.language-select {
  height: 40px;
  min-width: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 16px 0 6px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
}

.language-select:hover,
.language-select:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(118, 201, 143, 0.16);
  outline: none;
}

.navbar.is-search-open .language-selector {
  opacity: 0;
  pointer-events: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .menu-toggle {
    order: 1;
  }

  .brand-link {
    order: 2;
  }

  .search-form {
    order: 3;
  }

  .language-selector {
    order: 4;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
  }

  .nav-list {
    display: none;
    position: static;
    order: 5;
    flex-basis: 100%;
    transform: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 0 0;
  }

  .navbar.is-menu-open .nav-list {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item a {
    width: 100%;
  }

  .search-form {
    flex: 0 0 auto;
    width: auto;
    justify-content: flex-end;
    margin-left: auto;
  }

  .search-form.is-expanded .search-input {
    width: 150px;
  }

  .navbar.is-search-open .search-form {
    padding: 14px 20px;
  }

  .navbar.is-search-open .search-input {
    width: 100%;
  }

  .language-select {
    min-width: 46px;
    padding-left: 6px;
    padding-right: 14px;
  }
}

@media (max-width: 480px) {
  .search-form.is-expanded .search-input {
    width: 120px;
  }
}

/* Home Hero */
.home-hero {
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 20%, rgba(211, 239, 83, 0.46) 0, rgba(211, 239, 83, 0) 33%),
    linear-gradient(100deg, #f8fbf8 0%, #eff8f1 54%, #fbfff0 100%);
}

.home-hero-inner {
  max-width: 1200px;
  min-height: 620px;
  margin: 0 auto;
  padding: 56px 20px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: 48px;
}

.home-hero-copy {
  max-width: 650px;
}

.home-hero-kicker {
  margin: 0 0 10px;
  color: #00863d;
  font-size: 0.86rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.home-hero h1 {
  margin: 0;
  color: #13211c;
  font-size: clamp(2.65rem, 5vw, 4.2rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

.home-hero-text {
  max-width: 610px;
  margin: 24px 0 34px;
  color: #596963;
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  line-height: 1.52;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.home-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid #d4ddd6;
  border-radius: 8px;
  padding: 0 22px;
  color: #007b38;
  background: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.home-hero-btn.primary {
  border-color: #0d8a45;
  background: #0d8a45;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(13, 138, 69, 0.2);
}

.home-hero-btn.telegram {
  gap: 8px;
  border-color: #29a9e8;
  background: #29a9e8;
  color: #ffffff;
}

.home-hero-btn.telegram img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.home-hero-btn:hover,
.home-hero-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 47, 26, 0.12);
  outline: none;
}

.home-hero-btn.primary:hover,
.home-hero-btn.primary:focus-visible {
  background: #08783a;
}

.home-hero-btn.telegram:hover,
.home-hero-btn.telegram:focus-visible {
  background: #1d95d1;
}

.home-security h2 {
  margin: 0 0 20px;
  color: #071914;
  font-size: clamp(1.9rem, 3.6vw, 2.55rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.home-security-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 38px;
  align-items: center;
}

.home-security-list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #0e1714;
  font-size: 0.96rem;
  font-weight: 500;
  white-space: nowrap;
}

.home-security-list img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}

.home-version-note {
  color: #53615d;
  font-size: 0.9rem;
  line-height: 1.55;
}

.home-version-note strong {
  display: block;
  margin-bottom: 5px;
  color: #071914;
  font-size: 0.86rem;
}

.home-version-note ol {
  margin: 0;
  padding-left: 18px;
}

.home-hero-visual {
  position: relative;
  min-height: 560px;
}

.home-phone {
  position: absolute;
  border: 9px solid #17271f;
  border-radius: 36px;
  background: #17271f;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(22, 48, 30, 0.2);
}

.home-phone img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-phone-back {
  width: 300px;
  height: 548px;
  right: 18px;
  top: 58px;
  transform: rotate(7deg);
  z-index: 1;
}

.home-phone-front {
  width: 300px;
  height: 548px;
  right: 138px;
  top: 0;
  transform: rotate(-5deg);
  z-index: 2;
}

@media (max-width: 1080px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
    padding-top: 46px;
  }

  .home-hero-copy {
    max-width: 760px;
  }

  .home-hero-visual {
    min-height: 430px;
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .home-phone-back {
    width: 244px;
    height: 446px;
    right: 58px;
    top: 34px;
  }

  .home-phone-front {
    width: 244px;
    height: 446px;
    right: 216px;
  }
}

@media (max-width: 768px) {
  .home-hero-inner {
    padding: 34px 16px 42px;
  }

  .home-hero-text {
    margin: 18px 0 24px;
  }

  .home-hero-actions {
    margin-bottom: 30px;
  }

  .home-hero-btn {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
  }

  .home-security-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-hero-visual {
    min-height: 350px;
    width: 100%;
    margin: 0 auto;
  }

  .home-phone {
    border-width: 7px;
    border-radius: 28px;
  }

  .home-phone-back {
    width: 188px;
    height: 344px;
    left: 50%;
    right: auto;
    top: 30px;
    transform: translateX(-18%) rotate(7deg);
  }

  .home-phone-front {
    width: 188px;
    height: 344px;
    left: 50%;
    right: auto;
    top: 0;
    transform: translateX(-78%) rotate(-5deg);
  }
}

@media (max-width: 440px) {
  .home-hero h1 {
    font-size: 2.55rem;
  }

  .home-hero-visual {
    min-height: 310px;
  }

  .home-phone-back {
    width: 164px;
    height: 300px;
    left: 50%;
    right: auto;
    transform: translateX(-18%) rotate(7deg);
  }

  .home-phone-front {
    width: 164px;
    height: 300px;
    left: 50%;
    right: auto;
    transform: translateX(-78%) rotate(-5deg);
  }
}

/* Featured Carousel */
.featured-section {
  width: 100%;
  padding: 40px 20px;
  background: var(--bg);
}

.featured-container {
  max-width: 1200px;
  margin: 0 auto;
}

.featured-title {
  margin: 0 0 24px 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0;
  width: 100%;
  margin: 0;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 25%;
  min-width: 0;
}

.app-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  cursor: grab;
  color: inherit;
  text-decoration: none;
}

.app-card:active {
  cursor: grabbing;
}

.card-banner {
  width: 100%;
  height: auto;
  object-fit: contain;
  background-color: transparent;
  display: block;
}

.card-info {
  height: auto;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 10px;
  flex-shrink: 0;
}

.card-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.card-text {
  flex: 1;
  min-width: 0;
}

.card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.card-category {
  font-size: 0.75rem;
  color: #cccccc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

@media (max-width: 1200px) {
  .carousel-item {
    flex: 0 0 calc(100% / 3);
  }
}

@media (max-width: 768px) {
  .featured-section {
    padding: 32px 16px;
  }

  .featured-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }

  .carousel-item {
    flex: 0 0 50%;
  }
}

@media (max-width: 480px) {
  .featured-section {
    padding: 24px 12px;
  }

  .featured-title {
    font-size: 1.1rem;
  }

  .carousel-item {
    flex: 0 0 100%;
  }
}

/* Must Have Collection */
.collection-section {
  width: 100%;
  padding: 8px 20px 40px;
  background: var(--bg);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 240px));
  justify-content: flex-start;
  gap: 12px;
}

.collection-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 145px;
  background: #ececec;
  color: inherit;
  text-decoration: none;
}

.collection-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.collection-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 50%, rgba(0, 0, 0, 0.8) 100%);
}

.collection-title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.collection-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.collection-icons {
  display: flex;
  align-items: center;
}

.collection-icons img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.45);
  margin-left: -8px;
  background: #ffffff;
}

.collection-icons img:first-child {
  margin-left: 0;
}

.collection-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: #d8f5e1;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 240px));
  }
}

@media (max-width: 768px) {
  .collection-section {
    padding: 8px 16px 32px;
  }
}

@media (max-width: 560px) {
  .collection-grid {
    grid-template-columns: minmax(0, 240px);
    justify-content: flex-start;
  }

  .collection-card {
    min-height: 145px;
  }
}

/* Lastest Games */
.latest-games-section {
  width: 100%;
  padding: 8px 20px 44px;
  background: var(--bg);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.section-head .featured-title {
  margin: 0;
}

.section-more {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
}

.section-more:hover,
.section-more:focus-visible {
  color: #58b676;
  outline: none;
}

.latest-games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.latest-game-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  padding: 10px;
  background: #ffffff;
}

.latest-game-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
}

.latest-game-info {
  min-width: 0;
}

.latest-game-title {
  margin: 0 0 5px;
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.latest-game-meta {
  margin: 0 0 4px;
  font-size: 0.8rem;
  color: #4a4a4a;
}

.latest-game-meta .star {
  color: #f6b400;
}

.latest-game-meta .dot {
  color: #a7a7a7;
}

.latest-game-mod {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 1200px) {
  .latest-games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .latest-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .latest-games-section {
    padding: 8px 16px 32px;
  }
}

@media (max-width: 520px) {
  .latest-games-grid {
    grid-template-columns: 1fr;
  }
}

/* News */
.news-section {
  width: 100%;
  padding: 8px 20px 48px;
  background: var(--bg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.news-item {
  border: 1px solid #ebebeb;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
}

.news-banner {
  width: 100%;
  height: auto;
  display: block;
}

.news-content {
  padding: 14px 16px 16px;
}

.news-meta {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: #666666;
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-tag {
  color: var(--accent);
  font-weight: 700;
}

.news-title {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
}

.news-excerpt {
  margin: 0 0 12px;
  font-size: 0.94rem;
  line-height: 1.45;
  color: #202020;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-stats {
  margin: 0;
  font-size: 0.84rem;
  color: #5b5b5b;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .news-section {
    padding: 8px 16px 34px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid #e9e9e9;
  background: #fafafa;
  padding: 28px 20px 18px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.footer-links-block h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--text);
}

.footer-links-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links-block li {
  margin: 0 0 8px;
}

.footer-links-block a {
  color: #333333;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links-block a:hover,
.footer-links-block a:focus-visible {
  color: var(--accent);
  outline: none;
}

.footer-copy {
  margin: 20px 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: #666666;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 24px 16px 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Breadcrumb */
.breadcrumb {
  margin: 24px 0 20px 0;
  padding: 0;
}

.breadcrumb ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #666666;
}

.breadcrumb a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--accent);
  outline: none;
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 6px;
  color: #999999;
}

/* List Header Row with Sort */
.list-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  gap: 20px;
}

.list-section-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

/* List Header Description */
.list-header {
  margin-bottom: 24px;
  padding: 0;
}

.list-description {
  margin: 0;
  font-size: 0.85rem;
  color: #666666;
  line-height: 1.4;
}

/* Sort Controls */
.list-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sort-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.sort-select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sort-select:hover,
.sort-select:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(118, 201, 143, 0.15);
  outline: none;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.product-icon-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #e8e8e8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-icon {
  display: block;
  width: 68%;
  height: 68%;
  object-fit: contain;
}

.product-tags {
  position: absolute;
  top: 6px;
  left: 6px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.tag.mod {
  background: #ff6b6b;
  color: #ffffff;
}

.tag.offline {
  background: #4ecdc4;
  color: #ffffff;
}

.tag.paid {
  background: #ffa502;
  color: #ffffff;
}

.tag.online {
  background: #7cc84f;
  color: #ffffff;
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 8px;
}

.product-title {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-meta {
  margin: 0;
  font-size: 0.65rem;
  color: #777777;
  display: flex;
  align-items: center;
  gap: 3px;
}

.product-meta .version,
.product-meta .size {
  font-weight: 600;
  color: #666666;
}

.product-meta .dot {
  color: #ccc;
}

.product-rating {
  margin: 0;
  font-size: 0.65rem;
  color: #666666;
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
}

.product-rating .star {
  color: #f6b400;
  font-size: 0.75rem;
}

.product-rating .dot {
  color: #ccc;
}

.product-rating .product-mod {
  margin: 0;
  font-weight: 600;
  color: var(--accent);
}

.dot {
  color: #ccc;
  margin: 0 3px;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.pagination-btn {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover,
.pagination-btn:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  outline: none;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  gap: 8px;
}

.pagination-number {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-number:hover,
.pagination-number:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  outline: none;
}

.pagination-number.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

@media (max-width: 768px) {
  .featured-container {
    padding: 0;
  }

  .list-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
  }

  .list-section-title {
    font-size: 1.1rem;
  }

  .list-controls {
    width: 100%;
  }

  .sort-select {
    font-size: 0.75rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .pagination {
    gap: 12px;
    margin-top: 24px;
    padding: 16px 0;
  }

  .pagination-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .pagination-number {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .product-icon-wrapper {
    border-radius: 6px;
  }

  .product-details {
    padding: 5px 6px;
  }

  .product-title {
    font-size: 0.7rem;
  }

  .product-meta {
    font-size: 0.6rem;
  }

  .product-rating {
    font-size: 0.6rem;
  }

  .tag {
    padding: 1px 3px;
    font-size: 0.55rem;
  }
}

@media (max-width: 560px) {
  .breadcrumb ol {
    font-size: 0.8rem;
  }

  .list-section-title {
    font-size: 1rem;
  }

  .list-controls {
    width: 100%;
    gap: 8px;
  }

  .sort-label {
    font-size: 0.8rem;
  }

  .sort-select {
    padding: 5px 8px;
    font-size: 0.7rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .pagination {
    gap: 8px;
    margin-top: 20px;
    padding: 12px 0;
    flex-wrap: wrap;
  }

  .pagination-btn {
    padding: 5px 8px;
    font-size: 0.75rem;
  }

  .pagination-number {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .product-tags {
    top: 4px;
    left: 4px;
    gap: 2px;
  }

  .product-details {
    padding: 4px 5px;
  }

  .product-title {
    font-size: 0.65rem;
  }

  .product-meta {
    font-size: 0.55rem;
  }

  .product-rating {
    font-size: 0.55rem;
  }

  .tag {
    padding: 1px 3px;
    font-size: 0.5rem;
  }
}

/* Product Detail Page (pdt.html) */
.pdt-main {
  background: #0f1217;
}

.pdt-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background: #151a22;
}

.pdt-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.05);
  filter: saturate(1.08);
  z-index: -3;
}

.pdt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 20, 0.2) 0%, rgba(14, 17, 23, 0.93) 78%, #151a22 100%);
  z-index: -2;
}

.pdt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 13, 20, 0.78) 14%, rgba(9, 13, 20, 0.28) 45%, rgba(9, 13, 20, 0.75) 96%);
  z-index: -1;
}

.pdt-hero-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  min-height: 640px;
  padding: 94px 20px 28px;
}

.pdt-info-card {
  width: min(100%, 640px);
  padding: 24px 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 24, 31, 0.76) 0%, rgba(20, 24, 31, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(3px);
  color: #f2f5f7;
}

.pdt-breadcrumb {
  margin: 0 0 14px;
  font-size: 0.8rem;
  color: #86a57b;
  letter-spacing: 0.01em;
}

.pdt-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  line-height: 1.22;
  font-weight: 800;
  color: #ffffff;
}

.pdt-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pdt-app-logo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #0f1117;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 24px rgba(0, 0, 0, 0.28);
}

.pdt-app-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdt-title-group {
  min-width: 0;
}

.pdt-dev {
  margin: 8px 0 12px;
  color: #7dd36c;
  font-size: 0.92rem;
  font-weight: 700;
}

.pdt-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.pdt-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.pdt-badge.choice {
  background: #ff8b31;
  color: #fff8ec;
}

.pdt-badge.premium {
  background: #71c143;
  color: #f3ffe9;
}

.pdt-mod {
  margin: 0 0 10px;
  color: #ff9b57;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 700;
}

.pdt-desc {
  margin: 0;
  color: #d0d8dd;
  line-height: 1.45;
  font-size: 0.97rem;
}

.pdt-meta-row {
  margin: 20px 0 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.pdt-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.pdt-meta:last-child {
  border-right: 0;
  padding-right: 0;
}

.pdt-meta strong {
  font-size: 1.04rem;
  line-height: 1;
  color: #f7fafc;
}

.pdt-meta span {
  font-size: 0.76rem;
  color: #98a7b4;
}

.pdt-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.pdt-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  background: #7bcb3f;
  color: #f3ffe8;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(123, 203, 63, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.pdt-download:hover,
.pdt-download:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
  outline: none;
}

.pdt-quick-links {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.pdt-quick-link {
  color: #80bf56;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
}

.pdt-quick-link:hover,
.pdt-quick-link:focus-visible {
  color: #9ede6c;
  outline: none;
}

.pdt-display-title {
  margin: 0;
  max-width: 560px;
  font-size: clamp(2rem, 5.4vw, 5rem);
  line-height: 0.96;
  text-align: right;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: rgba(150, 197, 162, 0.66);
  text-shadow: 0 8px 45px rgba(0, 0, 0, 0.26);
}

.pdt-gap {
  height: 16px;
  background: #f0f0f2;
}

.pdt-stats {
  padding: 14px 20px 20px;
  background: #fbfbfc;
  border-top: 1px solid #efeff0;
}

.pdt-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  text-align: center;
}

.pdt-stat {
  padding: 4px 6px;
}

.pdt-stat-label {
  margin: 0;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b0b5bf;
  font-weight: 700;
}

.pdt-stat-value {
  margin: 6px 0 2px;
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 800;
  color: #1d2431;
}

.pdt-stat-sub {
  margin: 0;
  color: #8b9098;
  font-size: 0.85rem;
  font-weight: 600;
}

.pdt-detail {
  background: #f0f0f2;
  padding: 10px 20px 44px;
}

.pdt-panel {
  background: transparent;
  border-radius: 0;
  color: #232833;
}

.pdt-block-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #2f3745;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pdt-block-title::before {
  content: "◉";
  font-size: 0.66rem;
  color: #67bf42;
}

.pdt-shots-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
  padding-bottom: 6px;
}

.pdt-shots-grid::-webkit-scrollbar {
  height: 6px;
}

.pdt-shots-grid::-webkit-scrollbar-track {
  background: #dde2e7;
  border-radius: 999px;
}

.pdt-shots-grid::-webkit-scrollbar-thumb {
  background: #aeb8c3;
  border-radius: 999px;
}

.pdt-shot {
  flex: 0 0 min(72vw, 520px);
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #e7ebef;
  min-height: 160px;
  max-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
}

.pdt-shot img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: contain;
  display: block;
}

.pdt-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid #c9ced5;
  margin-bottom: 16px;
}

.pdt-tab {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  font-size: 0.85rem;
  color: #5e6470;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.pdt-tab.active {
  color: #67bf42;
  border-bottom-color: #67bf42;
}

.pdt-copy {
  font-size: 0.95rem;
  line-height: 1.62;
  color: #333846;
}

.pdt-tab-panel {
  display: none;
}

.pdt-tab-panel.is-active {
  display: block;
}

.pdt-copy p {
  margin: 0 0 12px;
}

.pdt-copy h3 {
  margin: 18px 0 10px;
  font-size: 1.12rem;
  font-weight: 800;
  color: #1f2530;
  padding-left: 10px;
  border-left: 3px solid #ff8c2d;
}

.pdt-copy ul {
  margin: 0 0 14px 18px;
  padding: 0;
}

.pdt-copy li {
  margin: 6px 0;
  font-style: italic;
}

.pdt-help {
  background: #f0f0f2;
  padding: 2px 20px 28px;
}

.pdt-faq {
  border: 1px solid #d9dde2;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}

.pdt-faq-item {
  border-bottom: 1px solid #dfe3e8;
}

.pdt-faq-item:last-child {
  border-bottom: 0;
}

.pdt-faq-question {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1f2430;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pdt-faq-question::-webkit-details-marker {
  display: none;
}

.pdt-faq-question::after {
  content: "+";
  color: #a2a9b3;
  font-size: 1rem;
  flex: 0 0 auto;
}

.pdt-faq-item[open] .pdt-faq-question::after {
  content: "-";
}

.pdt-faq-answer {
  margin: 0;
  padding: 8px 14px 14px;
  font-size: 0.9rem;
  line-height: 1.58;
  color: #5e6572;
  font-style: italic;
  border-top: 1px solid #e5e8ed;
  background: #f0f2f4;
}

.pdt-safety {
  margin-top: 18px;
  border: 1px solid #cfd5dc;
  border-radius: 10px;
  background: #f4f5f7;
  padding: 16px 14px;
}

.pdt-safety h3 {
  margin: 0;
  font-size: 1.08rem;
  color: #1e2430;
}

.pdt-safety p {
  margin: 8px 0 14px;
  color: #7a808d;
  font-size: 0.9rem;
}

.pdt-safety ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pdt-safety li {
  position: relative;
  padding-left: 24px;
  color: #28303c;
  font-size: 0.9rem;
}

.pdt-safety li::before {
  content: "*";
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border: 1px solid #c0c7d0;
  border-radius: 50%;
  color: #6d7480;
  font-size: 0.72rem;
  line-height: 14px;
  text-align: center;
}

@media (max-width: 1080px) {
  .pdt-hero {
    min-height: auto;
  }

  .pdt-hero-content {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 82px;
  }

  .pdt-display-title {
    text-align: left;
    max-width: 100%;
  }

  .pdt-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 680px) {
  .pdt-hero-content {
    padding: 70px 16px 22px;
  }

  .pdt-info-card {
    width: 100%;
    border-radius: 18px;
    padding: 18px;
  }

  .pdt-meta-row {
    gap: 12px;
  }

  .pdt-meta {
    min-width: 84px;
  }

  .pdt-download {
    min-width: 220px;
    font-size: 1.02rem;
  }

  .pdt-title-row {
    align-items: flex-start;
  }

  .pdt-app-logo {
    width: 64px;
    height: 64px;
    font-size: 1.45rem;
  }

  .pdt-gap {
    height: 8px;
  }

  .pdt-stats {
    padding: 14px 16px 16px;
  }

  .pdt-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdt-stat-value {
    font-size: 1.4rem;
  }

  .pdt-detail {
    padding: 8px 16px 30px;
  }

  .pdt-shots-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .pdt-shots-grid::-webkit-scrollbar {
    height: 0;
  }

  .pdt-shot {
    flex: 0 0 min(88vw, 360px);
    min-height: 180px;
    max-height: 420px;
    scroll-snap-align: start;
  }

  .pdt-shot img {
    max-height: 420px;
  }

  .pdt-tab {
    padding: 8px 10px;
  }

  .pdt-help {
    padding: 2px 16px 22px;
  }

  .pdt-faq-question {
    padding: 11px 10px;
    font-size: 0.9rem;
  }

  .pdt-faq-answer {
    padding: 8px 10px 12px;
  }

  .pdt-safety {
    padding: 14px 10px;
  }
}

/* Product Download Page (pdt-download.html) */
.pdt-download-main {
  background: #f3f4f3;
  padding: 18px 20px 26px;
}

.pdt-download-wrap {
  max-width: 1180px;
}

.pdt-download-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 4px 0 18px;
  font-size: 0.84rem;
  color: #89b16e;
}

.pdt-download-breadcrumb a {
  color: #7bab5b;
  text-decoration: none;
  font-weight: 600;
}

.pdt-download-breadcrumb a:hover,
.pdt-download-breadcrumb a:focus-visible {
  color: #5f9440;
  outline: none;
}

.pdt-download-breadcrumb strong {
  color: #fb8e21;
  font-weight: 700;
}

.pdt-download-head {
  text-align: center;
  margin-bottom: 34px;
}

.pdt-download-icon {
  width: 106px;
  height: 106px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(20, 23, 30, 0.18);
}

.pdt-download-meta {
  margin: 14px 0 8px;
  font-size: 0.94rem;
  color: #7d8792;
}

.pdt-download-meta a {
  color: #7ab852;
  text-decoration: none;
  font-weight: 600;
}

.pdt-download-meta a:hover,
.pdt-download-meta a:focus-visible {
  color: #5a9938;
  outline: none;
}

.pdt-download-meta em {
  color: #96a0aa;
  font-style: italic;
}

.pdt-download-head h1 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  color: #2f3641;
  line-height: 1.3;
  font-weight: 700;
}

.pdt-download-versions {
  display: grid;
  gap: 16px;
}

.pdt-version-card {
  border: 1px solid #cfd6cf;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
}

.pdt-version-card > summary {
  list-style: none;
  position: relative;
  cursor: pointer;
  padding: 12px 44px 12px 12px;
  font-weight: 700;
  color: #22303b;
  user-select: none;
}

.pdt-version-card > summary::-webkit-details-marker {
  display: none;
}

.pdt-version-card > summary::after {
  content: "⌄";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #2f3e4c;
}

.pdt-version-card[open] > summary {
  background: #78bc31;
  color: #ffffff;
}

.pdt-version-card[open] > summary::after {
  color: #ffffff;
  content: "⌃";
}

.pdt-download-row {
  margin: 10px;
  border: 1px solid #e5e8ea;
  border-radius: 10px;
  padding: 12px 14px;
  text-decoration: none;
  background: #f7f9fa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pdt-download-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pdt-download-round {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #edf7e6;
  color: #7bb950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.pdt-download-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pdt-download-label strong {
  color: #1f2933;
  font-size: 0.9rem;
}

.pdt-download-label small {
  color: #7f8a95;
  font-size: 0.75rem;
}

.pdt-download-size {
  color: #96a0a9;
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid #e0e5e8;
  border-radius: 999px;
  padding: 5px 10px;
  background: #f2f5f7;
}

.pdt-ad-tip {
  margin: 18px auto 28px;
  width: min(100%, 460px);
  padding: 16px 18px;
  border: 1px solid #ccddbd;
  border-radius: 14px;
  background: #edf3ea;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.4;
  color: #415249;
}

.pdt-download-note {
  margin-top: 26px;
  border-radius: 12px;
  border: 1px solid #e2e4e6;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(14, 18, 24, 0.05);
  color: #4a5560;
}

.pdt-download-note p {
  margin: 0 0 14px;
  font-size: 1.01rem;
  line-height: 1.45;
}

.pdt-download-note p strong {
  color: #2d3945;
}

.pdt-download-note ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 14px;
}

.pdt-download-note li {
  color: #5f6974;
  line-height: 1.55;
  font-style: italic;
}

.pdt-download-faq {
  margin-top: 22px;
}

.pdt-download-faq .pdt-block-title {
  margin-bottom: 10px;
}

.pdt-download-wrap .pdt-download-faq + .latest-games-section {
  margin-top: 14px;
}

@media (max-width: 768px) {
  .pdt-download-main {
    padding: 14px 14px 22px;
  }

  .pdt-download-head {
    margin-bottom: 24px;
  }

  .pdt-download-icon {
    width: 92px;
    height: 92px;
    border-radius: 18px;
  }

  .pdt-download-head h1 {
    font-size: 1.15rem;
  }

  .pdt-ad-tip {
    margin: 16px auto 22px;
    width: 100%;
    font-size: 0.92rem;
  }

  .pdt-download-note {
    margin-top: 20px;
    padding: 14px;
  }

  .pdt-download-faq {
    margin-top: 18px;
  }

  .pdt-download-wrap .pdt-download-faq + .latest-games-section {
    margin-top: 10px;
  }

  .pdt-download-note p,
  .pdt-download-note li {
    font-size: 0.92rem;
  }
}

/* Product Downloading Page (pdt-downloading.html) */
.pdt-downloading-main {
  padding-bottom: 30px;
}

.pdt-downloading-head {
  margin-bottom: 24px;
}

.pdt-downloading-head h1 {
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
}

.pdt-loading-card {
  border: 1px solid #dce0e2;
  border-radius: 14px;
  background: #f8faf8;
  box-shadow: 0 8px 18px rgba(24, 30, 34, 0.08);
  padding: 22px 18px 18px;
  text-align: center;
}

.pdt-loading-file {
  margin: 0 0 14px;
  color: #313c47;
  font-size: 1.01rem;
  font-weight: 700;
}

.pdt-loading-progress {
  width: min(100%, 390px);
  height: 10px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #dce4de;
  overflow: hidden;
}

.pdt-loading-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #72be2f 0%, #8ad13f 100%);
  box-shadow: 0 0 10px rgba(114, 190, 47, 0.4);
}

.pdt-loading-status {
  margin: 0 0 12px;
  color: #667380;
  font-size: 0.9rem;
}

.pdt-loading-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #7ec335;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(126, 195, 53, 0.32);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.pdt-loading-download[hidden] {
  display: none !important;
}

.pdt-loading-download:hover,
.pdt-loading-download:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
  outline: none;
}

.pdt-loading-download small {
  color: #d8efc3;
  font-size: 0.84rem;
  font-weight: 700;
}

.pdt-loading-download-icon {
  font-size: 1rem;
}

.pdt-loading-tip {
  margin: 14px auto 0;
  max-width: 480px;
  color: #8a97a2;
  font-size: 0.95rem;
  line-height: 1.45;
}

.pdt-downloading-main .pdt-ad-tip {
  margin-bottom: 18px;
}

.pdt-mod-rating {
  margin: 22px auto 24px;
  width: min(100%, 460px);
  padding: 24px 18px 22px;
  text-align: center;
}

.pdt-mod-rating h2 {
  margin: 0 0 14px;
  color: #050b18;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 800;
}

.pdt-rating-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.pdt-rating-star {
  width: 38px;
  height: 38px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #b9c6b8;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.16s ease, transform 0.16s ease;
}

.pdt-rating-star.is-active,
.pdt-rating-star:hover,
.pdt-rating-star:focus-visible {
  color: #66b93f;
}

.pdt-rating-star:hover,
.pdt-rating-star:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.pdt-rating-score {
  margin: 8px 0 0;
  color: #4f5570;
  font-size: 1rem;
  font-weight: 800;
}

.pdt-telegram-join {
  margin: 0 auto 26px;
  width: fit-content;
  min-width: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #24a5e8 0%, #1f8ecd 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(32, 140, 201, 0.28);
}

.pdt-telegram-join:hover,
.pdt-telegram-join:focus-visible {
  filter: brightness(1.05);
  outline: none;
}

.pdt-telegram-join img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.pdt-downloading-alt {
  margin-top: 10px;
}

.pdt-downloading-alt h2 {
  margin: 0 0 12px;
  color: #2e3843;
  font-size: 1.65rem;
  font-weight: 800;
}

@media (max-width: 768px) {
  .pdt-loading-card {
    border-radius: 12px;
    padding: 16px 12px 14px;
  }

  .pdt-loading-file {
    font-size: 0.92rem;
  }

  .pdt-loading-tip {
    font-size: 0.88rem;
  }

  .pdt-mod-rating {
    margin: 18px auto 22px;
    padding: 18px 12px;
  }

  .pdt-rating-star {
    width: 34px;
    height: 34px;
    font-size: 1.75rem;
  }

  .pdt-loading-download {
    min-width: 186px;
    padding: 9px 14px;
  }

  .pdt-telegram-join {
    min-width: 240px;
    width: 100%;
    max-width: 360px;
    font-size: 0.92rem;
  }

  .pdt-downloading-alt h2 {
    font-size: 1.2rem;
  }
}

/* Search Pages */
.search-page {
  padding-top: 4px;
  padding-bottom: 34px;
}

.search-page .breadcrumb {
  margin-bottom: 12px;
}

.search-title {
  margin: 0 0 20px;
  color: #222c36;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.25;
  font-weight: 800;
}

.search-title span {
  color: #65b43a;
}

.search-title small {
  color: #6b7784;
  font-size: 0.55em;
  font-weight: 700;
}

.search-empty {
  margin: 8px 0 24px;
  border: 1px solid #e1e4e8;
  border-radius: 14px;
  background: #ffffff;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(16, 24, 36, 0.06);
}

.search-empty h2 {
  margin: 0 0 10px;
  color: #2a3440;
  font-size: 1.4rem;
}

.search-empty p {
  margin: 0;
  color: #65707b;
  font-size: 1rem;
}

.search-empty-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #78bc31;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.search-empty-btn.secondary {
  background: #eef2f5;
  color: #33414e;
}

.search-empty-btn:hover,
.search-empty-btn:focus-visible {
  filter: brightness(1.04);
  outline: none;
}

@media (max-width: 768px) {
  .search-page {
    padding-bottom: 24px;
  }

  .search-title {
    margin-bottom: 14px;
  }

  .search-empty {
    padding: 20px 14px;
  }
}

/* Info Pages */
.info-page {
  padding-top: 4px;
  padding-bottom: 34px;
}

.info-card {
  border: 1px solid #e2e5e8;
  border-radius: 14px;
  background: #ffffff;
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(12, 18, 24, 0.05);
}

.info-card h1 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  color: #25303b;
}

.info-card p {
  margin: 0 0 10px;
  color: #5f6a75;
  line-height: 1.55;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card a {
  color: #69b53a;
  font-weight: 700;
  text-decoration: none;
}

.info-card a:hover,
.info-card a:focus-visible {
  color: #4e9524;
  outline: none;
}

@media (max-width: 768px) {
  .info-page {
    padding-bottom: 24px;
  }

  .info-card {
    padding: 16px 14px;
  }

  .info-card h1 {
    font-size: 1.32rem;
  }
}

/* News Detail */
.article-page {
  background: #ffffff;
  padding: 26px 16px 48px;
}

.article-container {
  width: min(100%, 720px);
  margin: 0 auto;
}

.article-breadcrumb {
  margin-bottom: 18px;
}

.article-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ff6400;
  font-size: 0.86rem;
}

.article-breadcrumb li:not(:last-child)::after {
  content: ">";
  color: #a7adb5;
}

.article-breadcrumb a {
  color: #65bd25;
  text-decoration: none;
}

.article-breadcrumb span {
  color: #ff6400;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: #9097a1;
  font-size: 0.86rem;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 12px;
  border-radius: 999px;
  background: #6fc52a;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
}

.article-dot {
  color: #8f98a3;
}

.article-title {
  margin: 0 0 18px;
  color: #101828;
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.08;
  font-weight: 800;
}

.article-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.article-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1f74f2;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.article-author-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: #101828;
  font-size: 0.92rem;
}

.article-author-info span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 9px;
  border-radius: 999px;
  background: #d9ebff;
  color: #2272dc;
  font-size: 0.72rem;
}

.article-divider {
  height: 1px;
  margin-bottom: 28px;
  background: #d9dde3;
}

.article-views {
  margin: 0 0 30px;
  color: #9097a1;
  font-size: 0.92rem;
}

.article-views::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 10px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  vertical-align: -1px;
}

.article-content {
  color: #424b57;
  font-size: 1rem;
  line-height: 1.78;
}

.article-content h2 {
  margin: 30px 0 12px;
  color: #101828;
  font-size: 1.45rem;
  line-height: 1.25;
}

.article-content p {
  margin: 0 0 22px;
}

@media (max-width: 640px) {
  .article-page {
    padding-top: 20px;
  }

  .article-title {
    font-size: 2rem;
  }

  .article-content {
    font-size: 0.96rem;
  }
}
