.flag-game-app {
  min-height: 540px;
  padding: 18px 16px 20px;
  background: #f8fafc;
}

.fg-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.fg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fg-progress {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.fg-progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #f59e0b);
  transition: width 0.2s ease;
}

.fg-prompt {
  margin: 14px 0;
  font-weight: 700;
  font-size: 18px;
  color: #111827;
}

.fg-flag-frame {
  width: 100%;
  max-width: 360px;
  margin: 0 auto 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
}

.fg-flag-frame img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: contain;
}

.fg-country-name {
  margin: 12px 0 14px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
}

.fg-options {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.fg-option {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  padding: 12px 10px;
  transition: all 0.15s ease;
}

.fg-option:hover {
  border-color: #9ca3af;
  background: #f8fafc;
}

.fg-option.is-correct {
  border-color: #16a34a;
  background: #dcfce7;
  color: #14532d;
}

.fg-option.is-wrong {
  border-color: #dc2626;
  background: #fee2e2;
  color: #7f1d1d;
}

.fg-option img {
  width: 100%;
  max-width: 180px;
  height: 56px;
  object-fit: contain;
}

.fg-result {
  text-align: center;
  padding: 36px 12px;
}

.fg-result h3 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 800;
}

.fg-result p {
  margin: 0 0 10px;
  color: #4b5563;
}

.fg-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.fg-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
}

.fg-btn-primary {
  background: #dc2626;
  color: #ffffff;
}

.fg-btn-secondary {
  background: #e5e7eb;
  color: #111827;
}

@media (max-width: 576px) {
  .flag-game-app {
    min-height: 480px;
    padding: 14px 12px 16px;
  }

  .fg-prompt {
    font-size: 16px;
  }

  .fg-country-name {
    font-size: 22px;
  }
}
