:root {
  color-scheme: dark;
  --ink: #f5efe1;
  --muted: #c7b995;
  --gold: #c99f4a;
  --gold-soft: rgba(201, 159, 74, 0.22);
  --amber: #8f6730;
  --smoke: #14130f;
  --night: #080907;
  --panel: rgba(23, 20, 15, 0.78);
  --panel-strong: rgba(11, 12, 10, 0.9);
  --line: rgba(221, 189, 117, 0.22);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  font-family: "Noto Sans Hebrew", "Arial", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #050604;
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1;
  content: "";
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(201, 159, 74, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 159, 74, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 6, 4, 0.44), rgba(5, 6, 4, 0.08), rgba(5, 6, 4, 0.44)),
    linear-gradient(180deg, rgba(5, 6, 4, 0.14), rgba(5, 6, 4, 0.34));
  pointer-events: none;
}

.mystic-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 72% 26%, rgba(105, 0, 255, 0.25), transparent 28rem),
    radial-gradient(circle at 24% 72%, rgba(250, 145, 8, 0.2), transparent 28rem),
    #050604;
  pointer-events: none;
}

.mystic-bg canvas {
  opacity: 1 !important;
  filter: saturate(1.35) contrast(1.08);
}

a {
  color: inherit;
}

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

.page-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 18px;
}

.brand img {
  width: clamp(154px, 20vw, 240px);
  height: auto;
}

.header-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.header-links a,
.footer-links a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.header-links a:hover,
.footer-links a:hover {
  color: var(--ink);
  border-color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 106px);
  padding: 28px 0 70px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow,
.tag {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-family: "Noto Serif Hebrew", Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 1.05;
  font-weight: 700;
}

h2 {
  margin-bottom: 16px;
  font-family: "Noto Serif Hebrew", Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3.4vw, 3.1rem);
  line-height: 1.14;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  color: #f7dfaa;
  font-family: "Noto Serif Hebrew", Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-text,
.section-heading p,
.about-card p,
.prize-content p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 30px;
  color: #eadbb9;
  font-size: clamp(1.18rem, 2vw, 1.36rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: linear-gradient(135deg, #ddbd75, #8f6730);
  color: #100d08;
  border-color: rgba(255, 231, 170, 0.52);
  box-shadow: 0 12px 34px rgba(201, 159, 74, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.prize-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(28, 25, 19, 0.86), rgba(9, 10, 8, 0.88));
  box-shadow: var(--shadow);
}

.prize-image-wrap {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: #060706;
}

.prize-image-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle, transparent 38%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

.prize-image-wrap img {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
}

.prize-content {
  padding: clamp(22px, 4vw, 36px);
}

.prize-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.value {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  background: rgba(201, 159, 74, 0.1);
  color: #f9df9b !important;
  font-weight: 800;
}

.form-section,
.about-section {
  padding: clamp(42px, 6vw, 76px) 0;
  border-top: 1px solid var(--line);
}

.form-section {
  padding-bottom: clamp(18px, 3vw, 32px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.form-embed {
  position: relative;
  overflow: hidden;
  height: clamp(430px, 58vw, 560px);
  min-height: 0;
  margin-inline: 0;
}

.form-embed iframe,
.form-embed .jotform-form,
.form-embed form {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  outline: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.form-embed iframe {
  color-scheme: normal;
}

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

.about-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  background: var(--panel);
}

.about-photo {
  width: 100%;
  aspect-ratio: 5 / 3;
  margin-bottom: 18px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid rgba(221, 189, 117, 0.16);
  filter: saturate(0.9) contrast(1.06);
}

.about-card.wide {
  grid-column: 1 / -1;
  background: var(--panel-strong);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 22px;
  }

  .hero-copy {
    max-width: none;
  }

  .prize-panel {
    max-width: 640px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .page-shell {
    width: min(100% - 34px, 1180px);
  }

  .header-links,
  .footer-links,
  .hero-actions {
    width: 100%;
  }

  .header-links,
  .footer-links {
    justify-content: space-between;
  }

  .button {
    width: 100%;
  }

  .form-section {
    padding-top: 34px;
    padding-bottom: 16px;
  }

  .form-embed {
    height: 500px;
    min-height: 0;
    margin-inline: 0;
  }

  .form-embed iframe,
  .form-embed .jotform-form,
  .form-embed form {
    height: 100%;
    min-height: 0;
  }
}
