/* Home — leet-cheats clone layout */

.page-home {
  min-height: 100vh;
  background: var(--bg);
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-home .nav {
  margin: 0;
}

.page-home .container.nav-shell {
  margin-top: 12px;
}

/* Hero */
.page-home .hero--leet {
  text-align: center;
  padding: 28px 0 40px;
  position: relative;
  overflow: visible;
}

.page-home .hero-leet-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(var(--max-w), calc(100% - 32px));
  max-width: var(--max-w);
  min-height: 280px;
  padding: 48px 24px;
  border-radius: var(--radius-lg);
  background-color: #1a1e21;
  background-image: url("/grid/grid.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
}

.page-home .hero-title-leet {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #dee2e6;
  position: relative;
  z-index: 1;
}

.page-home .hero-title-leet--brand {
  margin-top: 4px;
  font-size: clamp(2.2rem, 5vw, 2.75rem);
}

.page-home .hero-actions-leet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  width: min(100%, 360px);
  margin: 28px auto 0;
  position: relative;
  z-index: 1;
}

.page-home .hero-actions-leet .btn {
  width: 100%;
  min-width: 0;
  height: var(--btn-h);
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.page-home .hero-actions-leet .btn-discord {
  background: #5865f2;
  border-color: #5865f2;
  color: #fff;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-home .hero-actions-leet .btn-discord::before,
.page-home .hero-actions-leet .btn-discord::after {
  display: none !important;
  content: none !important;
}

.page-home .hero-actions-leet .btn-discord:hover {
  background: #4752c4;
  border-color: #4752c4;
  color: #fff;
  box-shadow: none;
  opacity: 1;
}

.page-home .hero-actions-leet .btn-discord:active {
  background: #3c45a5;
  border-color: #3c45a5;
  box-shadow: none;
  transform: none;
}

/* Promo / community banner (leet giveaway card) */
.page-home .promo-section {
  margin-top: 24px;
}

.page-home .promo-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: none;
}

.page-home .promo-copy {
  position: relative;
  z-index: 1;
  padding: 40px 48px;
  padding-right: clamp(180px, 28vw, 320px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-home .promo-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-home .promo-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: #fff;
}

.page-home .promo-sub {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 1rem;
}

.page-home .promo-copy > p {
  margin: 0 0 12px;
  color: var(--text);
  line-height: 1.55;
}

.page-home .promo-copy .btn {
  margin-top: 8px;
}

.page-home .promo-foot {
  margin: 16px 0 0 !important;
  font-size: 0.875rem;
  color: var(--text-muted) !important;
}

.page-home .promo-foot a {
  color: var(--accent);
  text-decoration: none;
}

.page-home .promo-foot a:hover {
  text-decoration: underline;
}

.page-home .promo-media {
  display: none;
}

.page-home .promo-media img {
  display: none;
}

.page-home .promo-character {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: auto;
  height: min(100%, 420px);
  max-height: 100%;
  max-width: min(42%, 340px);
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  user-select: none;
}

/* Products */
.page-home .products-section,
.page-home .home-split-section,
.page-home .status-section,
.page-home .faq-section {
  margin-top: 48px;
  margin-bottom: 0;
}

.page-home .products-section,
.page-home .home-split-section {
  margin-bottom: 16px;
}

.page-home .home-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.page-home .home-split-col--products,
.page-home .home-split-col--status {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.page-home .home-split-col--products .products-grid,
.page-home .home-split-col--status .status-grid {
  flex: 1;
  min-height: 0;
}

.page-home .home-split-col--status .status-grid {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.page-home .home-split-col--products .products-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-home .products-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.page-home .products-head h5 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.page-home .products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.page-home .product-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: none;
  color: inherit;
  min-height: 320px;
}

.page-home .product-card-icon {
  width: 72px;
  height: 72px;
  margin: 12px 12px 0;
  object-fit: contain;
  border-radius: 8px;
}

.page-home .product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 8px 12px 12px;
}

.page-home .product-card-title {
  margin: 8px 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.page-home .product-card-desc {
  margin: 16px 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
}

.page-home .product-card-cta {
  display: inline-flex;
  width: 100%;
  margin-top: auto;
  text-decoration: none;
  justify-content: center;
  box-sizing: border-box;
}

/* Status */
.page-home .status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.page-home .status-card {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  min-height: 0;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: none;
  overflow: hidden;
}

.page-home .status-card-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  justify-content: center;
}

.page-home .status-card-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.page-home .status-card-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

.page-home .status-card h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  flex: 0 0 auto;
}

.page-home .status-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Status / Help standalone pages */
.page-status .status-section,
.page-help .faq-section {
  margin-top: 24px;
  margin-bottom: 56px;
}

.page-home .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: none;
  margin: 0;
  width: 100%;
}

.page-home .faq-item {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.page-home .faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.page-home .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.page-home .faq-item.open .faq-answer {
  max-height: 220px;
}

.page-home .faq-answer-inner {
  padding: 0 20px 18px;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: left;
}

.page-home .faq-answer-inner a {
  color: var(--accent);
}

.page-home .footer {
  margin-top: auto;
  padding-top: 24px;
}

@media (max-width: 1100px) {
  .page-home .home-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-home .home-split-col--products .products-grid,
  .page-home .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-split-col--status .status-grid {
    flex: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .page-home .status-card {
    height: auto;
  }
}

@media (max-width: 900px) {
  .page-home .promo-card {
    display: block;
  }

  .page-home .promo-copy {
    padding: 28px 24px;
    padding-right: 140px;
  }

  .page-home .promo-character {
    height: 260px;
    max-width: 160px;
  }

  .page-home .hero--leet {
    padding: 20px 0 32px;
  }

  .page-home .hero-leet-panel {
    min-height: 220px;
    padding: 36px 20px;
  }

  .page-home .status-grid,
  .page-home .home-split-col--status .status-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-home .products-grid,
  .page-home .home-split-col--products .products-grid,
  .page-home .status-grid,
  .page-home .home-split-col--status .status-grid {
    grid-template-columns: 1fr;
  }

  .page-home .product-card {
    min-height: 0;
  }

  .page-home .hero-actions-leet {
    grid-template-columns: 1fr;
    width: min(100%, 280px);
  }

  .page-home .hero-actions-leet .btn {
    width: 100%;
  }
}

.page-home .promo-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
}
.page-home .promo-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
}
.page-home .promo-stat-icon {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  overflow: hidden;
}
.page-home .promo-stat-icon .icon,
.page-home .promo-stat-icon svg,
.page-home .promo-stat-icon .lucide {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  line-height: 0 !important;
  color: #fff !important;
  stroke: #fff !important;
}
.page-home .promo-stat-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}
.page-home .promo-stat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.page-home .promo-stat span {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.2;
}

@media (max-width: 640px) {
  .page-home .promo-stats {
    grid-template-columns: 1fr;
  }

  .page-home .promo-copy {
    padding-right: 24px;
    padding-bottom: 200px;
  }

  .page-home .promo-character {
    height: 220px;
    max-width: 140px;
    opacity: 0.95;
  }
}