.files-page-main {
  min-height: calc(100vh - 190px);
  padding: 86px 0 110px;
}

.files-hero {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
}

.files-hero .eyebrow {
  display: inline-flex;
  margin-bottom: 15px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.4px;
}

.files-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -2.4px;
}

.files-hero p {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.files-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.files-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(21, 27, 42, .96), rgba(9, 12, 21, .94));
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease;
}

.files-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 196, 109, .38);
}

.file-cover,
.file-shot {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(79, 195, 255, .22), transparent 34%),
    radial-gradient(circle at 78% 80%, rgba(242, 196, 109, .22), transparent 38%),
    #0a0e18;
}

.file-cover { aspect-ratio: 16 / 9; }
.file-shot { min-height: 250px; border-radius: 18px; border: 1px solid var(--line); }

.file-cover img,
.file-shot img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-cover span,
.file-shot span {
  z-index: 1;
  padding: 20px;
  color: rgba(255, 255, 255, .42);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .6px;
  text-align: center;
}

.files-card-body { padding: 28px; }
.files-card-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.files-card-topline small { color: var(--gold); font-weight: 900; letter-spacing: 1.4px; }
.files-card-topline b { color: var(--green); font-size: 12px; }
.files-card h2 { margin: 14px 0 10px; font-size: 30px; }
.files-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.files-card .primary-btn { display: inline-flex; margin-top: 24px; }

.files-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.files-breadcrumb a:hover { color: var(--gold); }

.file-detail-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 56px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.file-detail-copy h1 { margin: 12px 0 14px; font-size: clamp(38px, 5vw, 64px); line-height: 1; }
.file-detail-copy p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.file-badges { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0; }
.file-badges span { padding: 9px 12px; border: 1px solid rgba(242,196,109,.22); border-radius: 999px; color: var(--gold-2); background: rgba(242,196,109,.07); font-size: 12px; font-weight: 800; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.detail-actions a { display: inline-flex; }

.detail-section { margin-top: 54px; }
.detail-section h2 { margin: 0 0 20px; font-size: 32px; }
.shots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.file-shot-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 20, 32, .88);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .2);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.file-shot-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 196, 109, .38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.file-shot-card .file-shot {
  min-height: 230px;
  border: 0;
  border-radius: 0;
}
.file-shot-content {
  min-height: 142px;
  padding: 20px;
  border-top: 1px solid var(--line);
}
.file-shot-content h3 {
  margin: 0 0 10px;
  color: var(--gold-2);
  font-size: 20px;
  line-height: 1.3;
}
.file-shot-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-box { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(15, 20, 32, .8); }
.feature-box strong { display: block; margin-bottom: 8px; color: var(--gold-2); }
.feature-box p { margin: 0; color: var(--muted); line-height: 1.65; }

@media (max-width: 850px) {
  .files-page-main { padding-top: 52px; }
  .files-grid,
  .file-detail-hero { grid-template-columns: 1fr; }
  .shots-grid,
  .features-grid { grid-template-columns: 1fr; }
  .file-detail-hero { padding: 22px; }
}
