/* ── Fonts (self-hosted Inter variable, v20) ────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg:          #131722;
  --bg-card:     #1b1e25;
  --bg-input:    #161920;
  --border:      #242b38;
  --border-color: #242b38;
  --border-pink: #ff2056;
  --bg-surface:  #1b1e25;
  --pink:        #ff2056;
  --blue-telegram:#008bc5;
  --text:        #ffffff;
  --text-gray:   #8d94a1;
  --text-muted:  #5d6675;
  --gold:        #ffc107;
  --radius:      6px;
  --radius-lg:   12px;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --header-h:    70px;
  --max-w:       1240px;
  --transition:  all 0.2s ease-in-out;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
}
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: var(--font);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--pink); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { color: #fff; font-weight: 700; }
p { color: var(--text-gray); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  height: var(--header-h);
  background: #1b1e25;
  border-bottom: 2px solid var(--border-pink);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.header__logo {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}
.logo-lucky {
  color: #fff;
}
.logo-pkr {
  color: #ff5252;
  position: relative;
  margin-left: 2px;
}
.logo-crown {
  font-size: 0.8rem;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}
.main-nav {
  display: flex;
  align-items: center;
}
.nav__list {
  display: flex;
  gap: 1.5rem;
}
.nav__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #cfd4dc;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link:hover {
  color: #fff;
}

/* Mobile Nav Toggle */
.nav-toggle { display: none; }
.hamburger {
  display: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 767px) {
  .hamburger {
    display: block;
    background: none;
    border: none;
  }
  .main-nav {
    display: none;
  }
  .main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background-color: #1b1e25;
    border-bottom: 2px solid var(--border-pink);
    padding: 1.5rem;
    gap: 1.5rem;
    z-index: 999;
  }
  .main-nav.active .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
  }
  .main-nav.active .nav__cta {
    margin-left: 0 !important;
    width: 100%;
  }
  .main-nav.active .nav__cta a {
    width: 100%;
  }
}

/* ── Main Layout ─────────────────────────────────────────────── */
.page-with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
}
@media (min-width: 1024px) {
  .page-with-sidebar {
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    padding: 2rem 0;
  }
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0; /* Prevent grid column overflow */
}

/* ── Common Card Styling ─────────────────────────────────────── */
.appyne-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
}
@media (min-width: 768px) {
  .appyne-card {
    padding: 1.75rem;
  }
}
.appyne-card__title-section {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}
.appyne-card__title {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  padding-bottom: 0.5rem;
  font-weight: 800;
}
.appyne-card__title-line {
  width: 50px;
  height: 3px;
  background-color: var(--pink);
  margin: 0.25rem auto 0;
  border-radius: 2px;
}

/* ── App Detail Card Grid Layout ─────────────────────────────── */
.app-detail-card {
  display: grid;
  gap: 1rem;
}

/* Grid areas for responsive placement */
.app-grid-breadcrumb { grid-area: breadcrumb; }
.app-grid-title { grid-area: title; }
.app-grid-tags { grid-area: tags; }
.app-grid-tagline { grid-area: tagline; }
.app-grid-left { grid-area: left-col; min-width: 0; }
.app-grid-meta { grid-area: meta-col; min-width: 0; overflow: hidden; }
.app-grid-share { grid-area: share-col; }

/* Desktop Grid placement */
@media (min-width: 768px) {
  .app-detail-card {
    grid-template-columns: 200px 1fr;
    grid-template-areas:
      "left-col breadcrumb"
      "left-col title"
      "left-col tags"
      "left-col tagline"
      "left-col meta-col"
      "left-col share-col";
    gap: 0.75rem 1.5rem;
  }
}

/* Mobile Grid placement */
@media (max-width: 767px) {
  .app-detail-card {
    grid-template-columns: 140px 1fr;
    grid-template-areas:
      "breadcrumb breadcrumb"
      "title title"
      "tags tags"
      "tagline tagline"
      "left-col meta-col"
      "share-col share-col";
    gap: 0.75rem 0.75rem;
  }
}

/* Left side elements wrapper */
.app-detail-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

/* Logo container & diagonal UPDATED badge */
.app-logo-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border);
}
.app-logo-badge {
  position: absolute;
  top: 7px;
  left: -18px;
  background-color: #00e676;
  color: #000;
  font-size: 0.5rem;
  font-weight: 800;
  padding: 2px 16px;
  transform: rotate(-45deg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
}
.app-logo-badge--new {
  background-color: #eb06f2;
  color: #fff;
}
.app-logo-badge--hot {
  background-color: #ff5722;
  color: #fff;
}
.app-logo-badge--updated {
  background-color: #00e676;
  color: #000;
}

/* Breadcrumbs styling */
.breadcrumb-text {
  font-size: 0.85rem;
  color: var(--text-gray);
}
.breadcrumb-text a {
  color: var(--text-gray);
}
.breadcrumb-text a:hover {
  color: var(--pink);
}

.app-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.app-title-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
}
@media (min-width: 768px) {
  .app-title-name {
    font-size: 2.25rem;
  }
}
.app-title-version {
  font-size: 1.1rem;
  color: var(--text-gray);
  font-weight: 600;
}

/* Tags spacing */
.app-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.app-tag-pill {
  background-color: var(--pink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: capitalize;
}

.app-tagline-desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* Buttons */
.appyne-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.65rem 0.5rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
@media (min-width: 768px) {
  .appyne-btn {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }
}
.appyne-btn--download {
  background-color: var(--pink);
}
.appyne-btn--download:hover {
  background-color: #d6124a;
}
.appyne-btn--telegram {
  background-color: var(--blue-telegram);
}
.appyne-btn--telegram:hover {
  background-color: #0077a8;
}
.appyne-btn__icon {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  border-radius: 2px;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .appyne-btn__icon {
    width: 18px;
    height: 18px;
  }
}

/* Ratings */
.ratings-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.75rem;
  color: var(--text-gray);
  width: 100%;
}
.ratings-stars-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ratings-stars-row .stars {
  color: var(--gold);
  font-size: 0.9rem;
}
.ratings-stars-row .rating-num {
  font-weight: 700;
  color: var(--pink);
}
.report-btn {
  font-size: 0.75rem;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 4px;
}
.report-btn__icon {
  width: 12px;
  height: 12px;
  border: 1px solid var(--text-gray);
  display: inline-block;
  border-radius: 2px;
}

/* Metadata Grid / Table */
.app-detail-meta {
  background-color: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.6rem 1rem;
}
.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.meta-row:last-child {
  border-bottom: none;
}
.meta-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}
.meta-val {
  font-size: 0.82rem;
  color: var(--text-gray);
  text-align: right;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.meta-val a {
  color: var(--pink);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .app-detail-meta {
    padding: 0.75rem 1.25rem;
  }
}
@media (max-width: 767px) {
  .meta-label {
    font-size: 0.78rem;
  }
  .meta-val {
    font-size: 0.78rem;
  }
}

/* Share Row */
.share-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.share-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}
.share-pill__icon {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
}
.share-pill--facebook { background-color: #3b5998; }
.share-pill--twitter { background-color: #1da1f2; }
.share-pill--pinterest { background-color: #bd081c; }
.share-pill--telegram { background-color: var(--blue-telegram); }
.share-pill--whatsapp { background-color: #25d366; }

@media (max-width: 767px) {
  .share-container {
    justify-content: space-between;
    width: 100%;
    margin-top: 0.5rem;
  }
  .share-pill__text {
    display: none;
  }
  .share-pill {
    padding: 10px;
    border-radius: 8px;
    flex: 1;
    justify-content: center;
  }
}

/* ── Description Card ────────────────────────────────────────── */
.disclaimer-box {
  background-color: rgba(0,0,0,0.15);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.disclaimer-title {
  font-style: italic;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.disclaimer-text {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-gray);
}
.prose {
  font-size: 0.95rem;
  color: var(--text-gray);
  overflow-x: auto;
}
.prose h2, .prose h3, .prose h4 {
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
  text-align: center;
  color: #fff;
}
.prose blockquote {
  font-style: italic;
  text-align: center;
  color: #fff;
  margin: 1.5rem auto;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 90%;
}
.prose p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #fff;
}
.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.prose li {
  color: #fff;
  line-height: 1.7;
  margin-bottom: 0.4rem;
}
.prose a {
  color: var(--pink);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.85rem;
}
.prose table th, .prose table td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  text-align: left;
}
.prose table th {
  background-color: rgba(255,255,255,0.05);
  color: #fff;
}

/* ── Callout Boxes ────────────────────────────────────────────── */
.callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--pink);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  background: rgba(255,255,255,0.03);
}
.callout--tip  { border-left-color: #00c853; }
.callout--warn { border-left-color: #f0c040; }
.callout--note { border-left-color: var(--pink); }
.callout__title {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: #fff;
}
.callout--tip  .callout__title { color: #00c853; }
.callout--warn .callout__title { color: #f0c040; }
.callout--note .callout__title { color: var(--pink); }
.callout p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ── Withdrawal Proof Card ────────────────────────────────────── */
.withdrawal-proof {
  border: 1px solid var(--pink);
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1.75rem auto;
  max-width: 460px;
  background: linear-gradient(180deg, rgba(255,32,86,0.06), rgba(0,0,0,0.12));
  text-align: center;
}
.withdrawal-proof__title {
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  margin: 0 0 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.withdrawal-proof__shot {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 16px;
  border: 2px dashed var(--border);
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.04) 10px,
    rgba(255,255,255,0.07) 10px,
    rgba(255,255,255,0.07) 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.withdrawal-proof__shot span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-gray);
}
.withdrawal-proof__caption {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-gray);
}
.withdrawal-proof__caption strong {
  color: var(--pink);
  font-style: normal;
}

.desc-card-wrap {
  position: relative;
}
.desc-body-collapsed {
  max-height: 320px;
  overflow: hidden;
}
.desc-body-collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(transparent, var(--bg-card));
  pointer-events: none;
}
.desc-card-wrap.expanded .desc-body-collapsed {
  max-height: none;
  overflow: visible;
}
.desc-card-wrap.expanded .desc-body-collapsed::after {
  display: none;
}
.read-more-btn-pill {
  display: inline-block;
  background-color: var(--pink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 99px;
  cursor: pointer;
  margin-top: 1rem;
  transition: var(--transition);
}
.read-more-btn-pill:hover {
  background-color: #d6124a;
}

/* ── Pros & Cons ─────────────────────────────────────────────── */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}
@media (max-width: 540px) {
  .pros-cons-grid { grid-template-columns: 1fr; }
}
.pros-col, .cons-col {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  padding: 1rem;
}
.pros-col-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #22c55e;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cons-col-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--pink);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pros-item, .cons-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-gray);
  margin-bottom: 0.55rem;
  line-height: 1.5;
}
.pros-item::before {
  content: "✓";
  color: #22c55e;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.cons-item::before {
  content: "✕";
  color: var(--pink);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Comparison Table ────────────────────────────────────────── */
.comparison-table-wrap {
  overflow-x: auto;
  margin-top: 0.5rem;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 480px;
}
.comparison-table th {
  background: rgba(255, 32, 86, 0.12);
  color: #fff;
  font-weight: 700;
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 2px solid var(--pink);
  white-space: nowrap;
}
.comparison-table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-gray);
}
.comparison-table tr:first-child td {
  color: #fff;
  font-weight: 600;
  background: rgba(255,255,255,0.04);
}
.comparison-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

/* ── Images Section ──────────────────────────────────────────── */
.images-gallery-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.gallery-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--pink);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  position: absolute;
}
.gallery-arrow--left {
  left: -8px;
}
.gallery-arrow--right {
  right: -8px;
}
@media (min-width: 768px) {
  .gallery-arrow {
    width: 36px;
    height: 36px;
  }
  .gallery-arrow--left { left: -18px; }
  .gallery-arrow--right { right: -18px; }
}
@media (max-width: 767px) {
  .gallery-arrow {
    display: none;
  }
}
.gallery-scroll-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.5rem 0;
  width: 100%;
}
.gallery-scroll-track::-webkit-scrollbar {
  display: none;
}
.gallery-item {
  width: 150px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
@media (min-width: 768px) {
  .gallery-item {
    width: 180px;
  }
}
.gallery-item img {
  width: 100%;
  height: auto;
}

/* ── Download Links Section ──────────────────────────────────── */
.download-links-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.tested-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #00e676;
  font-weight: 700;
  font-size: 0.9rem;
}
.tested-badge__checkbox {
  width: 16px;
  height: 16px;
  border: 2px solid #00e676;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.install-guide-box {
  border: 1px solid var(--pink);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  width: 100%;
}
@media (min-width: 768px) {
  .install-guide-box {
    padding: 1.5rem;
  }
}
.install-guide-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.install-guide-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* ── Related Apps Grid ────────────────────────────────────────── */
.related-apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 480px) {
  .related-apps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
@media (min-width: 768px) {
  .related-apps-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.related-app-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  transition: var(--transition);
  min-width: 0;
}
@media (min-width: 768px) {
  .related-app-item {
    padding: 1rem;
    gap: 0.5rem;
  }
}
.related-app-item:hover {
  border-color: var(--pink);
}
.related-app-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}
@media (min-width: 768px) {
  .related-app-logo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }
}
.related-app-name {
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
@media (min-width: 768px) {
  .related-app-name {
    font-size: 0.85rem;
  }
}
.related-app-ver {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.related-app-dev {
  font-size: 0.75rem;
  color: var(--pink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.related-app-stars {
  color: var(--gold);
  font-size: 0.75rem;
}

/* ── Leave a Reply ────────────────────────────────────────────── */
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.comment-form textarea {
  width: 100%;
  height: 150px;
  background-color: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: #fff;
  padding: 1rem;
  font-family: var(--font);
  resize: vertical;
}
.comment-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .comment-form-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
.comment-form input[type="text"], .comment-form input[type="email"] {
  background-color: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: #fff;
  padding: 0.75rem 1rem;
  font-family: var(--font);
}
.comment-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-gray);
}
.comment-checkbox-row input {
  margin-top: 4px;
}
.post-comment-btn {
  background-color: var(--pink);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 700;
  border-radius: 99px;
  font-size: 0.85rem;
  cursor: pointer;
  align-self: flex-start;
  text-transform: uppercase;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .sidebar-widget {
    padding: 1.5rem;
    gap: 1.25rem;
  }
}
.sidebar-widget-title-wrap {
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
  position: relative;
}
.sidebar-widget-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 800;
}
.sidebar-widget-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--pink);
}

.sidebar-list {
  display: flex;
  flex-direction: column;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-item:last-child {
  border-bottom: none;
}
.sidebar-app-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
@media (min-width: 768px) {
  .sidebar-app-logo {
    width: 54px;
    height: 54px;
    border-radius: 12px;
  }
}
.sidebar-app-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sidebar-app-name {
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 768px) {
  .sidebar-app-name {
    font-size: 0.85rem;
  }
}
.sidebar-app-ver {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.sidebar-app-dev {
  font-size: 0.75rem;
  color: var(--pink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-app-stars {
  color: var(--gold);
  font-size: 0.75rem;
}

/* Floating Circular Badge */
.floating-pkr-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.floating-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #ffc107, #e91e63, #3f51b5, #ffc107);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  position: relative;
}
@media (min-width: 768px) {
  .floating-circle {
    width: 80px;
    height: 80px;
  }
}
.floating-circle-inner {
  width: 100%;
  height: 100%;
  background-color: #12151c;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .floating-circle-inner {
    font-size: 0.8rem;
  }
}
.floating-circle-close {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #555;
  cursor: pointer;
}
.floating-banner {
  background-color: var(--pink);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  border-top: 2px solid var(--border-pink);
  background-color: #12151c;
  padding: 2rem 0;
  margin-top: 2.5rem;
  width: 100%;
}
@media (min-width: 768px) {
  .site-footer {
    padding: 3rem 0;
    margin-top: 3rem;
  }
}
.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
}
.footer-column-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 800;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  position: relative;
}
@media (min-width: 768px) {
  .footer-column-title {
    font-size: 0.95rem;
  }
}
.footer-column-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--pink);
}

.footer-app-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-app-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-app-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
@media (min-width: 768px) {
  .footer-app-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }
}
.footer-app-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.footer-app-name {
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footer-app-ver {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.footer-app-dev {
  font-size: 0.7rem;
  color: var(--pink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footer-app-stars {
  color: var(--gold);
  font-size: 0.7rem;
}

.footer-bottom-info {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  color: var(--text-gray);
  font-size: 0.8rem;
}
@media (min-width: 768px) {
  .footer-bottom-info {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    gap: 1rem;
  }
}
.footer-links {
  display: flex;
  gap: 1rem;
}
@media (min-width: 768px) {
  .footer-links {
    gap: 1.5rem;
  }
}
.footer-links a:hover {
  color: var(--pink);
}

/* ── FAQ List ─────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.03);
  transition: background 0.15s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--pink);
  flex-shrink: 0;
}
details[open] .faq-question::after {
  content: "−";
}
.faq-question:hover {
  background: rgba(255,255,255,0.06);
}
.faq-answer {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.65;
  border-top: 1px solid var(--border);
}

/* ── Internal app links ─────────────────────────────────────── */
.app-inline-link {
  color: var(--pink);
  text-decoration: none;
  font-weight: 500;
}
.app-inline-link:hover {
  text-decoration: underline;
}
.app-table-link {
  color: var(--pink);
  text-decoration: none;
  font-weight: 600;
}
.app-table-link:hover {
  text-decoration: underline;
}
