* {
  box-sizing: border-box;
}

html {
  background: #0b0d12;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: #eef2f7;
  background:
    radial-gradient(circle at top left, rgba(90, 118, 255, 0.09), transparent 24%),
    linear-gradient(180deg, #070809 0%, #0c0e12 100%);
}

.home-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(90, 118, 255, 0.09), transparent 24%),
    linear-gradient(180deg, #070809 0%, #0c0e12 100%);
}

.home-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.home-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
}

.home-brand-image {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-brand-tag {
  margin: 0 0 4px;
  color: #8e97ab;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-brand span {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.home-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.home-nav a {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  color: #c3c7d3;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.home-nav a.active,
.home-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.home-hero {
  min-height: calc(100vh - 170px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 560px);
  gap: 42px;
  align-items: center;
  padding-top: 26px;
}

.home-copy {
  max-width: 560px;
}

.home-kicker {
  margin: 0 0 18px;
  color: #9ca7bd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.home-copy p {
  margin: 22px 0 0;
  color: #b4bccb;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.7;
}

.home-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.home-button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

.home-button.primary {
  background: #ffffff;
  color: #080808;
  border-color: #ffffff;
}

.home-panel {
  display: flex;
  align-items: center;
}

.home-feature {
  width: 100%;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(18, 21, 29, 0.94);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.home-feature-label {
  margin: 0 0 14px;
  color: #8ea3ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-feature-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.home-feature h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.home-feature-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.home-feature-copy {
  margin: 18px 0 0;
  color: #aab3c5;
  font-size: 16px;
  line-height: 1.7;
}

.home-feature-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 22px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
}

.page-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-tag {
  margin: 0 0 4px;
  color: #8e97ab;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.title {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #c3c7d3;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.nav a.active,
.nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.page-content,
.content {
  display: grid;
  gap: 22px;
}

.hero-card,
.card,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(20, 23, 31, 0.9);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.hero-card {
  padding: 34px;
}

.kicker,
.section-label {
  margin: 0 0 12px;
  color: #8ea3ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-card h2,
.card h3,
.contact-card h3 {
  margin: 0;
  color: #ffffff;
}

.hero-card h2 {
  max-width: 760px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-copy {
  max-width: 620px;
  margin: 16px 0 0;
  color: #aab3c5;
  font-size: 16px;
  line-height: 1.75;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.card,
.contact-card {
  padding: 24px;
}

.media-card {
  display: grid;
  gap: 14px;
}

.grid > .media-card:nth-child(5),
.grid > .media-card:nth-child(6) {
  margin-top: -430px;
}

.category-card {
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(142, 163, 255, 0.32);
  background: rgba(24, 28, 38, 0.95);
}

.category-card p:last-child {
  margin: 14px 0 0;
  color: #aab3c5;
  line-height: 1.65;
}

.category-card-wide {
  grid-column: auto;
}

.category-card-featured {
  grid-column: span 2;
}

.list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.list-row,
.video-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.list-row span,
.review p,
.contact-text {
  color: #c0c7d4;
}

.list-row strong,
.review strong {
  color: #ffffff;
}

.review {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.review + .review {
  margin-top: 12px;
}

.review p,
.contact-text {
  margin: 8px 0 0;
}

.video-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.video-list a {
  justify-content: flex-start;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.contact-card {
  padding-bottom: 26px;
}

.stack {
  display: grid;
  gap: 18px;
}

.cheat-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.cheat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(142, 163, 255, 0.32);
  background: rgba(24, 28, 38, 0.95);
}

.cheat-cover-frame {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cheat-cover-frame-logo {
  background: rgba(10, 12, 16, 0.95);
  border-radius: 50%;
}

.cheat-cover-placeholder {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.cheat-cover-placeholder span {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.cheat-cover {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 20px;
}

.cheat-cover-logo {
  width: 100%;
  height: 100%;
  image-rendering: auto;
  border-radius: 50%;
  object-fit: cover;
}

.cheat-content {
  display: flex;
  align-items: center;
}

.cheat-content h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.ranking-list {
  display: grid;
  gap: 18px;
}

.ranking-card {
  padding: 26px;
}

.ranking-card-top {
  border-color: rgba(142, 163, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(31, 37, 52, 0.96), rgba(20, 23, 31, 0.92));
}

.ranking-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.ranking-place {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 14px;
  border-radius: 18px;
  background: rgba(142, 163, 255, 0.12);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.ranking-main h3 {
  margin: 0;
}

.ranking-main .section-label {
  margin-bottom: 8px;
}

.ranking-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
}

.ranking-reason {
  margin: 18px 0 0;
  color: #aab3c5;
  line-height: 1.7;
}

.info-card p:last-child,
.media-card p:last-child,
.timeline-card p,
.review-card p {
  margin: 14px 0 0;
  color: #aab3c5;
  line-height: 1.7;
}

.video-preview {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0b0b;
  color: inherit;
  text-decoration: none;
}

.video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.video-preview:hover img {
  transform: scale(1.02);
}

.video-preview-short {
  max-width: 360px;
  aspect-ratio: 9 / 16;
}

.video-preview-wide {
  aspect-ratio: 16 / 9;
  max-width: 100%;
}

.video-preview-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.78) 100%);
}

.video-preview-text {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}


.page-hero h2 {
  max-width: 620px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  align-items: start;
}

.timeline-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(142, 163, 255, 0.08);
  color: #dfe4f2;
  font-weight: 800;
}

.review-card .review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-card .review-head strong {
  color: #ffffff;
  font-size: 18px;
}

@media (max-width: 960px) {
  .grid > .media-card:nth-child(5),
  .grid > .media-card:nth-child(6) {
    margin-top: 0;
  }

  .home-topbar {
    width: 100%;
  }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 34px;
  }

  .home-panel {
    align-items: stretch;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card-featured {
    grid-column: auto;
  }

  .cheat-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-shell {
    width: min(100% - 20px, 1280px);
    padding-top: 12px;
  }

  .home-topbar {
    padding: 6px 0 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .home-brand {
    font-size: 1.4rem;
  }

  .home-brand-image {
    width: 48px;
    height: 48px;
  }

  .home-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .home-copy h1 {
    font-size: 50px;
  }

  .home-actions {
    width: 100%;
  }

  .home-feature-head {
    flex-direction: column;
  }

  .page-shell {
    width: min(100% - 20px, 1280px);
    padding-top: 12px;
  }

  .topbar {
    padding: 6px 0 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .avatar {
    width: 48px;
    height: 48px;
  }

  .title {
    font-size: 22px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-card,
  .card,
  .contact-card {
    border-radius: 20px;
  }

  .hero-card,
  .card,
  .contact-card {
    padding: 20px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-card h2 {
    font-size: 34px;
  }

  .timeline-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ranking-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ranking-score {
    justify-content: flex-start;
    width: fit-content;
  }
}
