@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy-black: #00040c;
  --navy-deep: #000713;
  --navy: #010d22;
  --navy-soft: #061733;

  --gold: #d6a544;
  --gold-bright: #f2ce73;
  --gold-dark: #a77a28;

  --cream: #f8f0dc;
  --cream-soft: #e8dcc4;
  --text-soft: #b9c3d4;

  --line-gold: rgba(214, 165, 68, 0.38);
  --line-soft: rgba(255, 255, 255, 0.08);

  --shadow-heavy: 0 30px 80px rgba(0, 0, 0, 0.58);
  --radius-lg: 30px;
  --radius-pill: 999px;
}

/* RESET */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(214, 165, 68, 0.07), transparent 30%),
    linear-gradient(180deg, var(--navy-black) 0%, var(--navy-deep) 48%, var(--navy) 100%);
  color: var(--cream);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  line-height: 1.65;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 18px;
  color: var(--text-soft);
}

strong {
  color: var(--cream);
}

.container {
  width: min(1160px, 90%);
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.center {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

/* TYPOGRAPHY */

h1,
h2,
h3 {
  margin: 0 0 20px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.05;
  color: var(--cream);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  max-width: 820px;
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.78);
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

h3 {
  font-size: 1.75rem;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright));
}

.label::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-bright), transparent);
}

.center .label {
  justify-content: center;
}

/* HEADER */

.header {
  position: relative;
  z-index: 20;
  background: #00040c;
  border-bottom: 1px solid rgba(214, 165, 68, 0.34);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.52);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  color: var(--cream-soft);
  opacity: 0.88;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav a:hover {
  color: var(--gold-bright);
  opacity: 1;
}

.nav .book {
  opacity: 1;
  color: var(--navy-black);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-bright));
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.5),
    0 0 22px rgba(214, 165, 68, 0.22);
}

/* HERO */

.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 29% 47%, rgba(214, 165, 68, 0.18), transparent 32%),
    linear-gradient(90deg, rgba(0, 4, 12, 0.99) 0%, rgba(0, 7, 19, 0.94) 50%, rgba(0, 7, 19, 0.38) 100%),
    url("../images/gambits-hero.jpg") center right / cover no-repeat;
  border-bottom: 1px solid var(--line-gold);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 250px;
  background: linear-gradient(180deg, transparent, var(--navy-black));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: center;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 345px;
  height: 345px;
  object-fit: contain;
  border-radius: 42px;
  box-shadow:
    0 0 68px rgba(214, 165, 68, 0.3),
    0 38px 95px rgba(0, 0, 0, 0.82);
  filter:
    drop-shadow(0 0 24px rgba(242, 206, 115, 0.34))
    drop-shadow(0 24px 36px rgba(0, 0, 0, 0.75));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 80px 0;
}

.hero p {
  max-width: 630px;
  font-size: 1.18rem;
  color: var(--cream-soft);
}

.hero p + p {
  color: var(--text-soft);
}

/* BUTTONS */

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--navy-black);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-bright));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.48),
    0 0 30px rgba(214, 165, 68, 0.22);
}

.btn-secondary {
  color: var(--cream);
  border: 1px solid var(--line-gold);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: rgba(242, 206, 115, 0.7);
  box-shadow: 0 0 22px rgba(214, 165, 68, 0.12);
}

/* TEXT SECTIONS */

.section:nth-of-type(even) {
  background:
    radial-gradient(circle at top right, rgba(214, 165, 68, 0.07), transparent 34%),
    linear-gradient(180deg, rgba(0, 7, 19, 0.98), rgba(0, 4, 12, 0.98));
}

.center p {
  font-size: 1.08rem;
}

/* CARDS */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}

.card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.022));
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-heavy);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 206, 115, 0.62);
  box-shadow:
    var(--shadow-heavy),
    0 0 28px rgba(214, 165, 68, 0.14);
}

.card img {
  width: 100%;
  height: 255px;
  object-fit: cover;
  border-bottom: 1px solid var(--line-gold);
}

.card-body {
  padding: 28px;
}

.card h3 {
  color: var(--cream);
}

.card p {
  color: var(--text-soft);
}

.card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gold-bright);
  font-weight: 800;
}

.card a::after {
  content: " →";
}

/* SPLIT SECTION */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.split img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-gold);
  box-shadow:
    var(--shadow-heavy),
    0 0 40px rgba(214, 165, 68, 0.1);
}

.split p {
  font-size: 1.05rem;
}

.list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.list li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 34px;
  color: var(--cream-soft);
  font-weight: 600;
}

.list li::before {
  content: "♟";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--gold-bright);
  text-shadow: 0 0 14px rgba(214, 165, 68, 0.34);
}

/* CTA */

.cta {
  position: relative;
  background:
    radial-gradient(circle at center, rgba(214, 165, 68, 0.12), transparent 38%),
    linear-gradient(180deg, var(--navy-deep), var(--navy-black));
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
}

.cta-box {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  padding: 54px 42px;
  border-radius: 36px;
  border: 1px solid var(--line-gold);
  background:
    linear-gradient(135deg, rgba(214, 165, 68, 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow-heavy);
}

.cta-box .buttons {
  justify-content: center;
}

/* FOOTER */

.footer {
  background: var(--navy-black);
  border-top: 1px solid var(--line-gold);
  padding: 42px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(214, 165, 68, 0.22));
}

.footer p {
  margin-bottom: 6px;
  color: var(--text-soft);
}

.footer strong {
  color: var(--cream);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

/* MOBILE */

@media (max-width: 980px) {
  .header-inner {
    min-height: auto;
    padding: 18px 0;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: auto;
    text-align: center;
    padding: 70px 0;
    background:
      radial-gradient(circle at 50% 22%, rgba(214, 165, 68, 0.18), transparent 36%),
      linear-gradient(180deg, rgba(0, 4, 12, 0.98) 0%, rgba(0, 7, 19, 0.92) 54%, rgba(0, 7, 19, 0.68) 100%),
      url("../images/gambits-hero.jpg") center / cover no-repeat;
  }

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

  .hero-logo {
    width: 300px;
    height: 300px;
  }

  .hero-content {
    margin: 0 auto;
    padding: 0;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .buttons {
    justify-content: center;
  }

  .grid-3,
  .split {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 34px;
  }

  .split img {
    max-height: 520px;
    width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(92%, 520px);
  }

  .section {
    padding: 68px 0;
  }

  .nav {
    font-size: 0.86rem;
  }

  .nav .book {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-logo {
    width: 245px;
    height: 245px;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero p {
    font-size: 1.04rem;
  }

  .buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .card img {
    height: 225px;
  }

  .card-body {
    padding: 24px;
  }

  .cta-box {
    padding: 38px 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer img {
    width: 120px;
    height: 120px;
  }
}