/* ================================
   Jimmy Denton Studios - Downloads Page
================================ */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(184, 117, 50, 0.16), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(111, 67, 31, 0.12), transparent 36rem),
    #f4efe7;
  color: #1e1b18;
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

/* Header / Navigation */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 231, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30, 27, 24, 0.12);
}

header .container {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  color: #1e1b18;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: #665f58;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

nav a:hover {
  color: #1e1b18;
}

/* Downloads Page */

.downloads-hero {
  padding: 80px 20px 45px;
  text-align: center;
}

.downloads-hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin: 0 0 18px;
}

.downloads-hero p {
  max-width: 780px;
  margin: 0 auto;
  font-size: 19px;
  color: #665f58;
}

.downloads-section {
  padding: 40px 20px 65px;
}

.downloads-section h2 {
  text-align: center;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.045em;
  margin: 0 0 32px;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1250px;
  margin: 0 auto;
}

.download-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(30, 27, 24, 0.12);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(55, 37, 20, 0.08);
  overflow: hidden;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(55, 37, 20, 0.14);
}

.download-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  display: block;
  margin-bottom: 16px;
  background:
    radial-gradient(circle at top left, rgba(184, 117, 50, 0.18), transparent 42%),
    linear-gradient(145deg, #f8efe2, #e8d7c1);
  border: 1px solid rgba(111, 67, 31, 0.16);
}

.download-card h3 {
  font-size: 22px;
  letter-spacing: -0.035em;
  margin: 10px 0;
}

.download-card p {
  font-size: 15px;
  color: #665f58;
  line-height: 1.5;
  margin: 8px 0;
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 16px;
  padding: 0 18px;
  background: #17130f;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.buy-btn:hover {
  background: #6f431f;
  transform: translateY(-2px);
}

/* Download Policy */

.download-policy {
  padding: 48px 20px;
  background: rgba(255, 255, 255, 0.52);
  border-top: 1px solid rgba(30, 27, 24, 0.12);
}

.download-policy .container {
  max-width: 900px;
}

.download-policy h2 {
  font-size: 32px;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
}

.download-policy p {
  color: #665f58;
  font-size: 16px;
  line-height: 1.7;
}

footer {
  padding: 30px 20px;
  color: #665f58;
  font-size: 14px;
  text-align: center;
}

/* Mobile */

@media (max-width: 1100px) {
  .downloads-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  header .container {
    flex-direction: column;
    text-align: center;
    padding: 16px 0;
  }

  nav {
    justify-content: center;
  }

  .downloads-grid {
    grid-template-columns: 1fr;
  }

  .download-card img {
    height: 230px;
  }
}