@font-face {
  font-family: 'Bogart';
  src: url('fonts/Bogart-Bold.otf') format('opentype');
  font-weight: bold;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #ba0c2f;
  font-family: 'Poppins', sans-serif;
  color: white;
}

.survey-container {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 26px 16px;
  display: flex;
  flex-direction: column;
}

#lang-toggle {
  background-color: #eee8d8;
  color: #ba0c2f;
  border: none;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  cursor: pointer;
  margin-left: auto;
}

.progress-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.dot {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background-color: #eee8d8;
}

.dot.active {
  background-color: transparent;
  border: 3px solid #eee8d8;
}

.progress-text {
  font-size: 13px;
  color: #eee8d8;
  margin-left: 4px;
}

h1 {
  font-family: 'Bogart', serif;
  font-size: 34px;
  line-height: 1;
  text-align: center;
  margin: 1 0 16px;
}

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

.answer-card {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  appearance: none;
  -webkit-appearance: none;
}

.answer-card:hover {
  transform: translateY(-3px);
}

.answer-card.selected img {
  border-color: #eee8d8;
  box-shadow: 0 0 0 2px #eee8d8;
}

#nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  min-height: 48px;
}

.text-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.text-card {
  width: 100%;
  background: none;
  border: 2px solid #eee8d8;
  border-radius: 12px;
  color: #eee8d8;
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 600;
  padding: 16px;
  cursor: pointer;
  text-align: center;
}

.text-card:hover, .text-card.selected {
  background-color: #eee8d8;
  color: #ba0c2f;
}

#next-btn, #back-btn {
  background-color: #eee8d8;
  color: #ba0c2f;
  border: none;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 9px 25px;
  cursor: pointer;
}

#back-btn {
  background: none;
  border: 2px solid #eee8d8;
  color: #eee8d8;
}

.answer-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  display: block;

  border: 3px solid #2e2e2e;
  border-radius: 16px;
  outline: 1px solid #2e2e2e;
  outline-offset: -2px;
}

footer {
  text-align: center;
  margin-top: auto;
  padding-top: 12px;
}

.logo {
  max-width: 160px;
  width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hidden {
  display: none;
}

#result-screen {
  text-align: center;
  margin-top: 80px;
}

button {
  font-family: inherit;
}

#result-screen button {
  background-color: #f1efe0;
  color: #3a2724;
  border: 2px solid #2e2e2e;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: bold;
  cursor: pointer;
}
