:root {
  --ink: #17243a;
  --muted: #4c5f78;
  --line: rgba(23, 36, 58, 0.16);
  --panel: rgba(255, 255, 255, 0.92);
  --sky: #8edcff;
  --green: #37b86f;
  --yellow: #ffbf2e;
  --blue: #286be8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 255, 255, 0.72), transparent 22%),
    linear-gradient(180deg, #8edcff 0%, #c9f3ff 48%, #eaffd1 100%);
  color: var(--ink);
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
}

a {
  color: inherit;
}

input,
textarea,
select,
button {
  font: inherit;
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}

.topNav {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 18px;
}

.topNav a {
  min-height: 38px;
  padding: 9px 14px;
  border: 2px solid transparent;
  border-radius: 8px;
  color: #213553;
  font-weight: 700;
  text-decoration: none;
}

.topNav a:hover,
.topNav a:focus-visible {
  border-color: var(--line);
  background: #fff;
  outline: none;
}

.hero {
  min-height: 360px;
  display: grid;
  align-items: end;
  padding: 76px 20px 44px;
}

.compactHero {
  min-height: 270px;
  padding-bottom: 32px;
}

.heroContent {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 12px;
  border: 2px solid rgba(23, 36, 58, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #24466c;
  font-weight: 700;
}

h1 {
  margin: 0;
  color: #17345f;
  font-size: clamp(48px, 9vw, 92px);
  line-height: 1;
  text-shadow: 0 4px 0 rgba(255, 255, 255, 0.72);
}

.heroText {
  max-width: 720px;
  margin: 18px 0 0;
  color: #273b59;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.65;
  font-weight: 700;
}

.contentSection {
  width: min(100% - 32px, 1040px);
  margin: 0 auto 28px;
  padding: 28px;
  border: 3px solid rgba(23, 36, 58, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
}

.ideasLayout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: start;
}

.sectionHeader {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

h2 {
  margin: 0;
  color: #17345f;
  font-size: clamp(28px, 4vw, 42px);
}

.sectionHeader p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.stackedHeader {
  display: block;
}

.stackedHeader p {
  margin-top: 8px;
}

.cardGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border: 4px solid #172b4d;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 0 rgba(23, 43, 77, 0.16);
}

.gameCard {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 250, 255, 0.95)),
    linear-gradient(90deg, var(--green) 0 24%, #a56a35 24% 100%);
}

.placeholderCard {
  opacity: 0.9;
}

.roadmapGrid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.roadmapCard {
  min-height: 190px;
  background: rgba(255, 255, 255, 0.84);
}

.roadmapCard .cardIcon {
  background: linear-gradient(#9be7ff, #69c9ff);
}

.cardIcon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 3px solid #172b4d;
  border-radius: 8px;
  background: linear-gradient(#ffe27a, #ffbf2e);
  color: #172b4d;
  font-size: 26px;
  font-weight: 900;
}

.card h3 {
  margin: 0;
  color: #172b4d;
  font-size: 25px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 700;
}

.button {
  width: fit-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 10px 18px;
  border: 3px solid #172b4d;
  border-radius: 8px;
  background: linear-gradient(#ffe27a, #ffac1c);
  box-shadow: 0 6px 0 #9c5b00;
  color: #182b42;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-1px);
  outline: none;
}

.button:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #9c5b00;
}

.ideaFormPanel,
.ideasListPanel {
  min-width: 0;
}

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

.ideaForm label {
  display: grid;
  gap: 7px;
  color: #172b4d;
  font-weight: 900;
}

.ideaForm input,
.ideaForm textarea,
.ideaForm select,
.ideaStatus {
  width: 100%;
  min-height: 46px;
  border: 3px solid #172b4d;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #172b4d;
  padding: 9px 10px;
  font-weight: 700;
}

.ideaForm textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.5;
}

.fullField {
  grid-column: 1 / -1;
}

.formButton {
  align-self: end;
}

.ideasList {
  display: grid;
  gap: 16px;
}

.ideaCard {
  min-height: 0;
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 251, 255, 0.94));
}

.ideaMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border: 2px solid rgba(23, 36, 58, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #24466c;
  font-size: 14px;
  font-weight: 900;
}

.tag.priorityImportant {
  background: #fff1bf;
  border-color: rgba(156, 107, 0, 0.38);
  color: #6b4b00;
}

.tag.priorityEpic {
  background: #dff8ff;
  border-color: rgba(0, 113, 145, 0.44);
  color: #075a72;
  box-shadow: 0 2px 0 rgba(0, 113, 145, 0.16);
}

.ideaActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  margin-top: 4px;
}

.deleteButton {
  min-height: 46px;
  padding: 9px 14px;
  border: 3px solid #7b1d1d;
  border-radius: 8px;
  background: linear-gradient(#ffb3b3, #f06464);
  box-shadow: 0 5px 0 #8a2828;
  color: #3f1111;
  font-weight: 900;
  cursor: pointer;
}

.emptyState {
  margin: 0;
  padding: 20px;
  border: 3px dashed rgba(23, 36, 58, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.siteFooter {
  width: min(100% - 32px, 1040px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin: 0 auto;
  padding: 22px 0 36px;
  color: #2a3d59;
  font-weight: 700;
}

@media (max-width: 720px) {
  .topNav {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 46px;
  }

  .contentSection {
    padding: 20px;
  }

  .sectionHeader {
    display: block;
  }

  .sectionHeader p {
    margin-top: 8px;
  }

  .ideasLayout,
  .ideaForm {
    grid-template-columns: 1fr;
  }

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